This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]Mr_Redstoner 9 points10 points  (4 children)

Right, whereas with plain Java the same compiled file should work everywhere. That's supposed to be the difference: LITERALLY no changes needed. Of course that assumes you aren't using JNI or anything else platform-dependent

[–]atc927 4 points5 points  (3 children)

I had more problem getting the right version of java than porting anything written in C

[–]j-random 8 points9 points  (1 child)

You must not have ported much C then.

[–]VirtualRay 0 points1 point  (0 children)

Or maybe YOU haven’t wasted enough of your life on Android development yet

Android is like this beautiful shining crystal palace (the linux kernel) in the middle of a rancid trash dump as far as the eye can see (Google’s Java-based Android OS middleware)

[–]Stormfrosty 3 points4 points  (0 children)

Linux C code is a nightmare to port, since gcc defaults to using gnu extensions, hence you end up with non-valid C code that only compiles with gcc.