No, reinventing the AS/400.
Re:Meltdown Proof-of-Concept
by white-flame on Tuesday January 09, 2018 @07:57PM
(#16111683)
Well, to me Java is still new tech. ;-) But yes, it's certainly a reasonable sampling into non-machine code distribution, and enforcement of security rules when actually running/JITting the code, as were some mainframe developments before then.
Of course, Java certainly does have some higher level weaknesses as in the introspection API kerfuffle a while back, and is too locked into its Object Obsessed design for it to be a truly general purpose object code format.
Re:Meltdown Proof-of-Concept
by londons_explore on Tuesday January 09, 2018 @06:04PM
(#16111014)
Arguably x64 assembly code is the same...
A privileged process (the microcode) enforces restrictions and converts it to micro-ops which execute on the real processor.
So... basically re-inventing Java? :)
"Raw machine code bytes" aren't distributed but occur through the privileged JVM and its just-in-time compiler, the byte-code verifier enforces restrictions on what data-access patterns and where instructions can be used, the JVM for a particular OS has optimizations for that environment, and sandboxing (while imperfect) blocks some classes of privilege escalation issues.
Don't get me wrong, I'm not saying Java is perfect or that the underlying goal isn't good, I'm just happily amused by this sense of "everything old is new again."