Hacker News new | ask | show | jobs
by johnnycerberus 1688 days ago
The runtime is highly dynamic. You can do trickery with class loading or wizardry with bytecode manipulation.
1 comments

Given the use of COM and ability to create code pages and turn them into executable code on the fly, C and C++ are also dynamic then.
>C and C++ are also dynamic then

More correctely : C/C++ + Windows, because Windows is the runtime implementing the dynamicity, the language standards alone say nothing about generating executables or operating on them, for all they care you can generate .class files from them and obtain the same benfits of java classes, it still would be the java runtime doing all the work. Java, in contrast, defines the executable generation and runtime loading to be part of the language semantics, anything you write that can't do what they say is by defintion not a "java runtime". It's like the difference between the process abstraction in Erlang and the process abstraction in linux-hosted C.