WATERLOO, Ontario — BlackBerry is down, but its hometown is far from out.

On Friday, BlackBerry released another grim earnings report, posting $4.4 billion in losses and a 56 percent drop in revenue for its fiscal third quarter. The report was the latest in a string of cringe-worthy quarters from the company, results that have forced BlackBerry to begin laying off 4,500 people, or 40 percent of its work force.

But unlike some cities that suffered when a big local business faltered, as Rochester did with Kodak and Xerox, BlackBerry’s backyard of Waterloo still bubbles with economic energy.

Technology companies large and small are coming here, about 70 miles southwest of Toronto, to recruit BlackBerry’s talent — and several of the companies are also setting up shop in town.

Google, a local presence for nearly a decade, was recently joined by its Motorola Mobility hardware subsidiary. Square, the mobile credit-card-processing service started by Jack Dorsey, Twitter’s co-founder and chairman, opened an office. Cisco announced this month that it would create 1,700 research and development jobs within commuting distance.