4 ms·
Anyway to build a GUI app? Definitely looks like a cool project. Can you write an OS in it, for microcontrollers ?
by 999900000999 5y ago
Anyway to build a GUI app?
Definitely looks like a cool project. Can you write an OS in it, for microcontrollers ?
- titzer 5y agoHmm, very interesting question. I think you could interface with X windows via IPC, but you'd have to build that IPC layer, which ultimately boils down to pipes/sockets. So that route would be doable, but probably a steep climb. Another option would be to compile to Wasm and then import GUI-related functions that are then implemented in the Wasm host environment, e.g. JavaScript. As for microcontrollers, that was in fact, Virgil I, circa 2006. :) My prototype compiler back then generated C code and then you could compile with avr-gcc. Nowadays, I don't have a C backend or native backend for microcontrollers, so it'd require a new backend and a new exe format. Or maybe again, try to compile Wasm to AVR.