top | item 46946986

(no title)

leoedin | 20 days ago

You'd need to write an entire hardware abstraction layer to do anything useful. There's projects that do this for microcontrollers - eg MicroPython and Espruino.

discuss

order

asveikau|20 days ago

Yes, it would need support from lower level code. But then, so does C -- many things that an OS needs to do, such as installing interrupt handlers, changing the current page table pointer, jumping into a target process already in progress, etc., are not part of the C standard.

tracker1|20 days ago

Should be able to do similar with MicroQuickJS or maybe just QuickJS...