This article has been adapted from our sister site across the pond, Fool U.K.

So the U.K. is an economic has-been, falling behind the world in tough economic times, and we should sell all our shares and buy gold? Or invest in China?

Think again.

One company at least, ARM Holdings (Nasdaq: ARMH), is a world leader in its class. The more desirable mobile phones and tablet computers might come in the form of iPhones and iPads from Apple (Nasdaq: AAPL), or Android from Google (Nasdaq: GOOG), but it's ARM's processor designs that power them.

In fact, ARM processors are used by all of today's competing smartphone and tablet makers, so whichever comes out tops in the ongoing battle for next generation supremacy, and whichever falls by the wayside, ARM wins.

Strong interim results
The latest figures, released on Tuesday, showed yet another boost. Underlying pre-tax profit for the second quarter, ending June 30, was up 25% to 54.2 million pounds -- blowing away the analysts' consensus forecast of 45.3 million pounds.

That comes from revenues of 118 million pounds, an 18% increase on last year. For the half, overall revenues grew 22% to 234 million pounds, with underlying pre-tax profit coming in 29% ahead at 105 million pounds.

Earnings per share came in at 3p for the quarter and 5.7p for the half (up 27% and 30%, respectively). And for those keeping an eye on the stuff that makes the world go round, ARM generated net cash for the quarter of 46 million pounds (up from 30 million pounds), and 108 million pounds for the half (up from 74 million pounds).

Where's the cash coming from?
Where did all this lovely money come from? Here's what chief executive Warren East, said about it:

"In the first half of 2011, we have seen strong license revenues driven by an increase in design activity around ARM technology across a broad range of end applications. Major semiconductor vendors and consumer electronics companies are making long-term commitments to using ARM technology in their future product developments, underpinning growth in ARM's long-term royalty revenues."

What we're seeing is both strong income from royalties, and good revenues from licensing deals. And it is those licenses that underpin future royalties, so that's good for both the shorter- and longer-term outlook for the company.

ARM tells us that its full-year expectations remain unchanged, but we must not be too complacent -- over the longer term, not everything is guaranteed to be rosy.

Always be cautious
Although the public can't get enough of Apple's products, Nokia (NYSE: NOK) is struggling, as is Blackberry maker Research In Motion (Nasdaq: RIMM), so though ARM designs will be powering the next generation of winners, there could well be some short-term revenues lost from the also-rans.

Sluggish consumer demand, at least in economically hit Western markets, is not to be ignored either, and the rapid pace at which the fashionable young things cast off last year's phone and get the latest model, is unlikely to continue at its past pace. But that, again, will be relatively short term.

And the far-off giant that is Intel (Nasdaq: INTC) is not a slumbering one, and its all-seeing eye is being drawn ever closer to the mobile computing market. So although ARM is currently in a position that looks hard to dislodge, Intel will have competing designs that will have to be reckoned with.

A nice ride so far
However, those cautions aside, ARM has rewarded its shareholders remarkably well in recent years, and the shares are up more than seven-fold since the beginning of 2009.

Whether the current share price is a good value way to get into those rewards is another question, mind, and I don't think they're a bargain right now, being on a prospective P/E of around 50.

When forecast-beating results like these cause the price to fall a couple of percent, it makes me feel things are perhaps looking a bit peaky. I think we do have a good long-term earner here -- I just doubt that now is the best time to be getting in.

Woods and trees
One thing these results do reinforce is that it's not just the general economic climate that matters when looking to invest in good companies, and it is a mistake to make "shares good" or "shares bad" generalizations -- we just need to peer a bit more deeply into the economic woods to identify the strong trees.

Where do you think ARM shares are likely to go next? Please do share your thoughts, below.

Alan doesn't own shares of any companies mentioned. The Motley Fool owns shares of Google and Apple. The Fool owns shares of and has bought calls on Intel.  Motley Fool newsletter services  have recommended buying shares of Google, Intel, and Apple. Motley Fool newsletter services have recommended creating a diagonal call position in Intel. Motley Fool newsletter services have recommended creating a bull call spread position in Apple. The Motley Fool has a  disclosure policy .