Squawk is a Java micro edition virtual machine for embedded system and small devices. Most virtual machines for the Java platform are written in low level native languages such as C/C++ and assembler; what makes Squawk different is that Squawk's core is mostly written in Java. (This is called a meta-circular interpreter.) A Java implementation provides ease of portability, and a seamless integration of virtual machine and application resources such as objects, threads, and operating-system interfaces.
The Squawk Virtual Machine figure can be simplified as:
Write as much of the VM in Java as possible
Targeting small, resource constrained devices
Enable Java for micro-embedded development
The research project was inspired by Squeak.
Sun SPOT
Sun SPOT (Sun Small Programmable Object Technology) was a sensor node for a wireless sensor network developed by Sun Microsystems announced in 2007. The device used the IEEE 802.15.4 standard for its networking, and unlike other available sensor nodes, used the Squawk Java virtual machine.
After the acquisition of Sun Microsystems by Oracle Corporation, the SunSPOT platform was supported but its forum was shut down in 2012.
View all comments
Show parent comment
4
u/pjmlp Jan 23 '18
Yes.
Note that this isn't the first Java meta-circular VM. Sun had an initial attempt with Squawk used to power Sun SPOT. Android Things in 2007!
And there is the Jikes RVM project as well.