Timeline for Is it possible to implement a native compiler for a 'managed language' such as Java?
Current License: CC BY-SA 3.0
7 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Jan 26, 2016 at 0:59 | comment | added | Jörg W Mittag |
@jameslarge: Yes, you are right, that is an over-simplification. I also remember reading an article about the early init code in the LinuxBIOS project, which is written in C, but runs before the stack pointer is initialized and without any form of memory allocator present. However, typically, even in a freestanding implementation, you will have some sort of runtime library – you just have to write it yourself. (See e.g. kmalloc and friends in the Linux kernel.)
|
|
Jan 25, 2016 at 19:28 | comment | added | Solomon Slow | Even C and C++ need a runtime library. I don't know about C++, but I have written at least one C program that did not link with any run-time library. The "executable" output at the end of my tool-chain was a Motorola S-record file that I "ran" by burning it into an EPROM, and then plugging that into the circuit board. That being said, I can no longer remember whether there was any language feature (e.g., passing structs by value) that I might have disabled and had to work around because of my not using the vendor-supplied CRT0 library. | |
S Jan 25, 2016 at 18:44 | history | suggested | 8bittree | CC BY-SA 3.0 |
Added links for hardware JVMs and x86 interpreters for the JVM
|
Jan 25, 2016 at 18:01 | review | Suggested edits | |||
S Jan 25, 2016 at 18:44 | |||||
Apr 23, 2014 at 14:05 | comment | added | Jörg W Mittag | Yes, there are, or at least there were. In the early 90s, Java CPUs were a big thing, many of the big CPU vendors plus some startups worked on them, because it was thought that this was the most promising way to make Java fast. It turns out, though, that dynamic adaptive JIT compilation is much better. | |
Apr 23, 2014 at 12:33 | comment | added | Aviv Cohn | Do you mean that there are physical CPUs that can execute Java Bytecode? | |
Apr 23, 2014 at 9:51 | history | answered | Jörg W Mittag | CC BY-SA 3.0 |