Originally posted by oleid
View Post
1) Win32 - C++
2) iOS - Objective-C++
3) Android - NDK / NativeActivity (C++)
4) Web - Emscripten (C++)
Like this, we can share so much code between projects. Imagine using the "premier" languages as the following:
1) Win32 - C#
2) iOS - Swift
3) Android - Java
4) Web - Javascript
We couldn't share sod all. What a bloody waste of time! No porting opportunity. Why do people do this?
I don't particularly like Java but if every single project on earth would switch to it as a language, I would be very happy with that.
It is rarely about our "enjoyment" when it comes to programming, it is all about not having to rewrite shite pointlessly XD.
Same with spoken language to be fair. I am a native English speaker so obviously prefer that language over others but if the whole world switched to i.e Danish, I would be more than happy to learn it. Holidays around the world would be so much better!
Bringing this topic back to Unity slightly, I highly recommend using Microsoft's C++/clr compiler rather than C# for the .NET bytecode. Getting locked to C# is really crappy for portability.
Comment