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".
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.
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".
I've built something like this for WASM (on FPGA).
Whether it makes any financial sense as a product is the question. There's just such incredible economies of scale behind general purpose CPUs and Moore's law has always won out.
In the past any time people have invested man hours into building things like this they've just ended up slower than just running the same software (often under emulation) on a general purpose CPU.
There's a security argument now, though. It's in theory harder for an AI agent to "break out" of a sandbox which extends down to the hardware level. e.g. if instructions literally do not exist that break encapsulation, memory protection, etc.
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.
[0]: https://en.wikipedia.org/wiki/Jazelle, also mentioned in passing on https://www.jopdesign.com/perf.jsp
Whether it makes any financial sense as a product is the question. There's just such incredible economies of scale behind general purpose CPUs and Moore's law has always won out.
In the past any time people have invested man hours into building things like this they've just ended up slower than just running the same software (often under emulation) on a general purpose CPU.
There's a security argument now, though. It's in theory harder for an AI agent to "break out" of a sandbox which extends down to the hardware level. e.g. if instructions literally do not exist that break encapsulation, memory protection, etc.
Java on a 1000 Cores - Tales of Hardware / Software CoDesign (2009) https://www.youtube.com/watch?v=5uljtqyBLxI
Edit: no this is the one I was thinking of https://en.wikipedia.org/wiki/Jazelle
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.