Linked by David Adams on Mon 3rd Jan 2011 04:44 UTC
PDAs, Cellphones, Wireless "I'm a Mac and iOS developer and just spent the past week using a Windows Phone 7 powered Samsung Focus as my primary phone rather than an iPhone 4 as I have for the past three years [...] Anytime a new phone hits the market, I want to pick it up. I was also intrigued by the screenshots and previews I've been reading on Engadget for the past few months. Windows Phone 7 looked like nothing else I've seen on the market."
Permalink for comment 455658
To read all comments associated with this story, please click here.
RE[4]: Let's see what happens..
by moondevil on Mon 3rd Jan 2011 11:46 UTC in reply to "RE[3]: Let's see what happens.."
moondevil
Member since:
2005-07-08

Actually no.

First of all, if a managed environment is JIT enabled, then there isn't much difference in the execution time, because what ends up executing is machine code as well.

Better it is better optimized for the processor where the application is running as opposed to statically compiled applications.

My complaint was mostly in areas described below.

No use of GC friendly algorithms. Just use new everywhere without thinking on the consequences. If the GC implementation is not parallel, it will slow down the application.

Or not using mutable data structures when the contents are changing a lot.

Copying data with for loops, instead of using the proper runtime API calls to do byte bulk copies, which usually map to DMA operations.

Using O(n) algorithms when O(n log n) exists for example.

Plus, many of the complaints I see against managed environments are from people without proper compiler development background.

Any language with a runtime bigger than what C offers, will suffer from "managed environment complaints" if not used properly or if the runtime implementation sucks.

But in the end it is a developer usage/runtime implementation. There are no slow or fast languages, only implementations.

Reply Parent Score: 3