News for hackers. Stuff that matters.
Re:Writing a RISC-V Emulator in Rust by pjmlp on Sunday October 26, 2025 @08:12AM (#45711119)
Real life example, in Android 7 Google re-introduced an interpreter for DEX bytecodes, manually written in Assembly, throwing away the old one that existed until Android 5, written in C.
Re:Writing a RISC-V Emulator in Rust by sylware on Sunday October 26, 2025 @09:36AM (#45711762)
Well, if true, those people at gogol did the right thing... if all the others could behave the same way...
Re:Writing a RISC-V Emulator in Rust by pjmlp on Sunday October 26, 2025 @10:02AM (#45711950)
If true? I usually only comment stuff I can post profs on, so is the Internet nature.

> Interpreter performance significantly improved in the Android 7.0 release with the introduction of "mterp" - an interpreter featuring a core fetch/decode/interpret mechanism written in assembly language

From https://source.android.com/docs/core/runtime/improvements

Re:Writing a RISC-V Emulator in Rust by sylware on Sunday October 26, 2025 @01:14PM (#45713528)
Still actually a thing on android 16, the latest?
Re:Writing a RISC-V Emulator in Rust by pjmlp on Sunday October 26, 2025 @01:29PM (#45713660)
Re:Writing a RISC-V Emulator in Rust by sylware on Sunday October 26, 2025 @04:29PM (#45714974)
Yep, there are still people trying to do the right(tm) thing at gogol.

Maybe there were fired?