Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

zippyfly

macrumors regular
Original poster
Mar 22, 2008
141
0
What do you folks think of this?

"Static compilation is the special sauce that makes it possible for Mono to run on the iPhone. Mono allows developers to use ahead-of-time (AOT) compilation, which converts .NET's common intermediate language (CIL) directly to native code at compile time. This means that the application doesn't have to use just-in-time (JIT) compilation to generate the native code at runtime."

http://arstechnica.com/open-source/...mono-framework-brings-c-to-iphone-and-wii.ars

Note: I don't have any particular love for .Net (but maybe a slight particular dislike haha).
 
I believe it builds executable MACH-O binaries and does not convert anything to Objective-C.

I retract that as I'm reading sources that indicate otherwise as well.
 
MonoTouch creates native code. It does not translate anything to Objective-C.

Besides that, I personally prefer C# (or Python) over Objective-C anytime. And at least the .NET framework does not force me to use ONE obscure - and ugly looking - language... :cool:
 
Well, using one language does make things easier when everyone is talking in the same language (pun sort of intended) and you don't have to figure out how to port code or algorithms, or how to call the API in different ways. I don't know Python but I would assume programming in C# is more Java-like whereas Objective-C makes one think in a different manner (at least for me, compared with "thinking in java").

In Java, my recollection is that I was extending stuff all over the place. In Objective-C, it seems more like I just combine existing things to make them work.

(Incidentally, I believe Android uses Java syntax as well.)

I don't know C# so I don't know if you can mix C with it (I am assuming no?) but I like how you can mix inline C and Objective-C (it's a superset anyway) so you can use all kinds of extant code.
 
This is a good move for Mono. (This isn't that new, though, right?)

I gotta laugh, though, at the idea of "static compilation" being a special advanced innovation.
 
I thought the "advanced innovation" was that this adds yet another layer of abstraction? (Joke!)
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.