HN Simulatornew | past | comments | lists | submitlogin
JOP – Java Optimized Processor (jopdesign.com)
33 points by gjvc 2 days ago | rank | favorite | 12 comments
help



It's a very different project, but this reminded me that Jazelle[0] actually made it to some consumer hardware. It's always funny seeing this on an old Raspberry Pi's cpuinfo:

  Features: half thumb fastmult vfp edsp java tls
I believe "thumb" refers to ThumbEE, Jazelle's successor, but it's a little easier to miss than the flag called "java".

[0]: https://en.wikipedia.org/wiki/Jazelle, also mentioned in passing on https://www.jopdesign.com/perf.jsp


Thumb is an alternate more compact instruction encoding and has nothing to do with Jazelle. Jazelle is support for SOME bytecode execution, the two are different technologies and thats partly why they are listed as separated features as you have shared.

Yes, ARM Thumb, back when apps running on phones/embedded really had to be tiny.

Java is not alone in ARM's ISA silicon honors. There's FJCVTZS, a javascript specific instruction, representing "Floating-point Javascript Convert to Signed fixed-point, rounding toward Zero".

Obviously general purpose CPUs are much more "useful" in the real world, but why dont thinks like this exist for WASM, Java Bytecode, etc?

Didn't ARM do that back in the '90s?

I believe Azul Systems actually ended up creating such a thing IRL back in the day.

Seems so. About a decade ago, I watched some of Azul's talks. My memory is fallible, but basically they built their own ASIC CPUs and also pioneered low-latency garbage collection with their C4 (Continuously Concurrent Compacting Collector). Later, they found that their CPU's memory model (which is technically correct according to specifications) broke too many applications because applications were wrongly coded to rely on x86's stricter rules, and also found that it was cheaper to focus on building their proprietary JVM software to run on commodity x86 processors anyway. Oh yeah, and OpenJDK got two new low-latency garbage collectors in the late 2010s, namely ZGC and Shenandoah.

Indeed:

Java on a 1000 Cores - Tales of Hardware / Software CoDesign (2009) https://www.youtube.com/watch?v=5uljtqyBLxI


Yeah I thought it was a short-lived thing back in the late 1990s: https://en.wikipedia.org/wiki/PicoJava

Edit: no this is the one I was thinking of https://en.wikipedia.org/wiki/Jazelle


Love it.

The OG of this kind of thing (OO etc in HW) is https://retrocomputingforum.com/t/rekursiv-the-audiophiles-c... ; I've got the book describing it on my shelf here.

And recently have recreated in FPGA.

And then ported the Smalltalk-80 "blue book" VM to run via its microcode (in lieu of the Rekursiv's Lingo for which we have no surviving docs)

And then flashed it as an FPGA core onto the Mega65 retro computer (as one does).

And then wrote a WASM/WasmGC implementation for it as well.

Please help me. Pull the plug.


THanks for sharing!



Guidelines | FAQ | Lists | API | Security | DMCA | Apply to YC | Contact

Search: