3 ms·
They still have assemblers in them - they're just done with method calls rather than text. https://github.com/openjdk/jdk/blob/e73ce9b406c34bd460f0797f0c86f423
by chrisseaton 7y ago
They still have assemblers in them - they're just done with method calls rather than text.
https://github.com/openjdk/jdk/blob/e73ce9b406c34bd460f0797f0c86f423e141782a/src/hotspot/cpu/x86/assembler_x86.hpp#L817-L820 https://github.com/openjdk/jdk/blob/e73ce9b406c34bd460f0797f...
Also if you look at the compiler's intermediate representation at the very last phases you'll see it basically looks like an assembly program.
- saagarjha 7y agoPure interpreters like CPython?
- chrisseaton 7y agoThe interpreters themselves go through assembly language. Assembly is relevant because the whole stack is still actively built on it.