News for hackers. Stuff that matters.
Re:Lisp Badge: A single-board computer that you can program ... by Animats on Sunday July 05, 2020 @02:03AM (#23736916)
2816 Lisp cells (11264 bytes). A bit on the small side, but you get 5ms garbage collections because the memory is so tiny.

We need more little systems that are somewhere between underpowered Arduinos and entire Linux systems.

If only Blackberry hadn't killed off open-source QNX. A board with a few megabytes of RAM and QNX in ROM would be a nice system for many embedded applications. You get processes, threads, message passing, and real-time scheduling. But disks, users accounts, networking, etc. are optional add-ons. Nice for embedded applications where you need to control hardware but have other things to do as well.

Re:Lisp Badge: A single-board computer that you can program ... by nils-m-holm on Sunday July 05, 2020 @04:07AM (#23737272)
> 2816 Lisp cells (11264 bytes). A bit on the small side,

More than the memory you would have on a small PDP-6 LISP system! Enough to run PROLOG: :)

https://www.t3x.org/lisp64k/logic.html

Re:Lisp Badge: A single-board computer that you can program ... by kwhitefoot on Sunday July 05, 2020 @02:27AM (#23736985)
These days an ESP-8266 is scarcely more expensive than the ATmega128 and has a lot more memory, in fact the ESP32 is only a few cents/pennies/kroner more, even an ATmega328 would give twice as much memory.

I wonder if uLisp is portable to the ESP.

Re:Lisp Badge: A single-board computer that you can program ... by sq_ on Sunday July 05, 2020 @02:39AM (#23737014)
According to the uLisp site [0], there are actually already implementations for both the ESP32 and 8266 (linked to the 8266 page). It’s definitely awesome how cheap such powerful stuff is these days.

[0] http://www.ulisp.com/show?2CF9

Re:Lisp Badge: A single-board computer that you can program ... by eismcc on Sunday July 05, 2020 @05:22AM (#23737536)
Re:Lisp Badge: A single-board computer that you can program ... by fu86 on Sunday July 05, 2020 @01:36PM (#23740364)
Sure it fits perfectly: https://aaron-fischer.net/tdn (sorry, post is written in German)
Re:Lisp Badge: A single-board computer that you can program ... by fred256 on Sunday July 05, 2020 @01:36PM (#23740370)
It looks like this is using the ATmega 1284 which has 4 times the flash (128 kB vs 32 kB) and 8 times the RAM (16 kB vs 2 kB) as the 328.
Re:Lisp Badge: A single-board computer that you can program ... by kwhitefoot on Wednesday July 08, 2020 @07:11AM (#23768752)
Oops, sorry, missed the significance of the trailing 4.
Re:Lisp Badge: A single-board computer that you can program ... by pjmlp on Sunday July 05, 2020 @03:56AM (#23737232)
I think ESP32 fits nicely that purpose.

They are surely more powerful that the Amstrad PC1512 that we used to play Defender of the Crown back in the high school computer club.

And MS-DOS had plenty of nice high level languages to choose from.

However even those 5ms might not be an issue, if the chip is doing single purpose tasks, like wake-up, do its thing, go to sleep, like opening a garage door, read a measurement and send it off, ...

Re:Lisp Badge: A single-board computer that you can program ... by yjftsjthsd-h on Sunday July 05, 2020 @12:16PM (#23739746)
> We need more little systems that are somewhere between underpowered Arduinos and entire Linux systems.

That's not a lot of gap; openwrt is tiny and "embedded" boards grow more powerful every year. Every time I see a new board, one of my first questions is, "does it have enough RAM+flash for Linux?" and we're getting close - if the teensy 4.1 had a touch more ram it'd work (well, uclinux, but still).

Re:Lisp Badge: A single-board computer that you can program ... by Animats on Sunday July 05, 2020 @02:58PM (#23740987)
It's not the hardware, it's the headaches. A Linux system needs a lot of stuff, which offers a big attack surface. Real-time OSs have less excess baggage.
Re:Lisp Badge: A single-board computer that you can program ... by yjftsjthsd-h on Sunday July 05, 2020 @03:23PM (#23741159)
Okay, so use micropython or such; we're closing the gap from all sides.