News for hackers. Stuff that matters.
Re:Run RISC-V Binaries on AMD Zen-Series CPUs via Microcode ... by throwaway48476 on Wednesday April 09, 2025 @07:24PM (#43639065)
Its possible but the platform would have to support it, ie UEFI etc.

Some arm CPUs did have a mode that ran Java bytecode natively but it was slower than the jvm.

https://en.wikipedia.org/wiki/Jazelle

Re:Run RISC-V Binaries on AMD Zen-Series CPUs via Microcode ... by mosura on Wednesday April 09, 2025 @07:45PM (#43639188)
These often repeated notions about Jazelle make little sense.

J2ME code for Jazelle based feature phones (with appropriate VMs) was noticeably faster than otherwise, to the point Android raw Java performance did not catch up for a really long time. If you have loads of RAM to JIT later then . . . good, but that didn’t arrive for years after the fact.

Re:Run RISC-V Binaries on AMD Zen-Series CPUs via Microcode ... by grishka on Wednesday April 09, 2025 @07:51PM (#43639225)
Android ended up doing AOT (the infamous "optimizing apps" step on boot). The modern versions, iirc, have a hybrid approach, interpreting and JITing for newly installed apps but still AOT compiling while the device is charging.