4 ms·
> ... ~native~ language (like C, C++, Java) One of those is not like the others.
by vvanders 10y ago
> ... ~native~ language (like C, C++, Java)
One of those is not like the others.
- fulafel 10y agoC++ was OS-native on some older now extinct systems, like Symbian and BeOS.
- metaobject 10y agoI think he's talking about Java
- josefx 10y agoThere are coprocessors that run Java Bytecode directly. Is there actually an implementation of the machine outlined in the C standard? Clearly C is an abstraction while Java is a truly native language.
- voxic11 10y agoWell those processors just run bytecode compiled from Java source code. The same is true of more traditional processors they just run bytecode compiled from c source code. I thicnk they are both doing essentially the same thing.
- josefx 10y agoSo what are the properties of C bytecode? Other than undefined, implementation defined and format C:\\ ? Java specifies a high level language, the low level bytecode and a target machine while C has to abstract over the byte code and large parts of the machine, leaving it up to the developer to fight countless "implementations". Guaranteeing that the same code is simultaneously right, wrong and file not found while limiting access to features exposed by the underlying "bytecode" in ways that require software workarounds like fmadd that are used in place of hardware. Clearly the Java language -> Java bytecode -> Java Hardware chain is inherently more native and consistent than C language -> C Virtual Machine -> x64 -> Intel Core 2, where each step in the C language chain looses access to features of the underlying layer.
- stymaar 10y agoSurprisingly enough, Java is a native language in some parts of the embeded world (see smart cards for instance, but not only [1]). [1]: https://en.m.wikipedia.org/wiki/Java_processor https://en.m.wikipedia.org/wiki/Java_processor
- fulafel 10y agoAlso Android.