Embedded bare-metal language with cooperative multitasking
A programming language for embedded bare-metal devices with built-in cooperative multitasking. Every `[]` block runs independently and automatically yields after each logical line of code, and an event/messaging system lets blocks be triggered by events, wait for events internally, and receive events injected from interrupts, making it easy to model embedded systems as independent state machines. It is currently mostly an interpreter written in Rust that can also emit C code, with syntax still being experimented on.
What it addresses
A lot of embedded projects introduce an RTOS and then end up inheriting the complexity that comes with it; the language aims to keep the mental model simple.
Shared over time
Each entry reflects what was shared on that date. Details may have changed since then.
Embedded bare-metal language with cooperative multitasking
A programming language for embedded bare-metal devices with built-in cooperative multitasking. Every `[]` block runs independently and automatically yields after each logical line of code, and an event/messaging system lets blocks be triggered by events, wait for events internally, and receive events injected from interrupts, making it easy to model embedded systems as independent state machines. It is currently mostly an interpreter written in Rust that can also emit C code, with syntax still being experimented on.
Problem: A lot of embedded projects introduce an RTOS and then end up inheriting the complexity that comes with it; the language aims to keep the mental model simple.
Posted by @keithnz · Original source ↗
Source text · @keithnz · · Source ↗
Also working on a language for embedded bare-metal devices with built-in cooperative multitasking. A lot of embedded projects introduce an RTOS and then end up inheriting the complexity that comes with it. The idea here is to keep the mental model simple: every `[]` block runs independently and automatically yields after each logical line of code.