News for hackers. Stuff that matters.
Re:Sun Small Programmable Object Technology Project (2007) by santafen on Sunday April 05, 2020 @06:49PM (#22789391)
Can't believe that Sun SPOTs made it to Hacker News after all this time. I run the mirror site mentioned here, and still have a few drawers full of SPOTs (as well as a couple of complete kits in the boxes.

I was just talking to someone the other day about resurrecting the Squawk VM and porting it to the Cortex Mx architecture. It really was ahead of its time.

Re:Sun Small Programmable Object Technology Project (2007) by pjmlp on Monday April 06, 2020 @02:05AM (#22791238)
Due to your remark, I have found this https://github.com/tomatsu/squawk

I think another alternative would be microEJ, I guess.

Re:Sun Small Programmable Object Technology Project (2007) by mlyle on Monday April 06, 2020 @01:25AM (#22791104)
80-100k SRAM is still a pretty steep tax for most Cortex Mx parts, though not the largest.
Re:Sun Small Programmable Object Technology Project (2007) by pjmlp on Monday April 06, 2020 @02:04AM (#22791233)
Given the kind of applications I was able to write in 640KB, there might be still enough space available, even after taking 100k away.

By the way here is a port to ESP8266, MICROBIT, LPC1768, NUCLEO_L476.

https://github.com/tomatsu/squawk

Re:Sun Small Programmable Object Technology Project (2007) by mlyle on Tuesday April 07, 2020 @03:21PM (#22806537)
Lots of the Cortex M4 parts have less than 100k SRAM total. That '476 is relatively big with 128KB SRAM. The LPC1768 has 32KB, so maybe things have been really slimmed down than I remember.
Re:Sun Small Programmable Object Technology Project (2007) by saagarjha on Monday April 06, 2020 @01:44AM (#22791175)
> Sun Labs' ECC implementations power a small-footprint, secure Web server stack (including HTTP and SSL), nicknamed Sizzle, that can be embedded inside a wide array of small devices, so you can monitor and control them securely via a Web browser.

Interesting name.

Re:Sun Small Programmable Object Technology Project (2007) by TJTeru on Sunday April 05, 2020 @03:29PM (#22787888)
Way ahead of their time. SunSPOTs were great!
Re:Sun Small Programmable Object Technology Project (2007) by jfim on Sunday April 05, 2020 @03:57PM (#22788133)
Those were fun. One of the cool thing about them is that most of the stack was written in Java.

The JVM itself was written in Java, the operating system was written in Java, and there was only a small bit of C code for initial bootstrapping and some C microcontroller code for some things (interrupt handling if I remember correctly).