|
|
|
|
|
by Emoticon4032
17 days ago
|
|
I cut my teeth on Pascal in the 1980s, and when Modula 2 and then Oberon came out, I got distracted by life. It didn't help that these were all more-or-less research/teaching languages that never quite seemed to be ready for production use. A couple of years back, I started looking at Oberon again, longing for a simpler life. It seems to me that the original goals that Wirth had are still very relevant today, especially given the gigantic heaps of abstraction on abstraction on abstraction etc. that we seem to have now. To me, all the complexity is slowing things down and making things less robust. Micron feels like the end point of what Wirth was working to. If there are easy ways to target different CPU/MCU architectures and also call existing C libraries, then I'd love to use it on my next embedded project. |
|
The current micc has three native backends (x86, ARMv7, RV32) and a C99 transpiler. I'm currently migrating the https://github.com/rochus-keller/micronsystem3/ to the Olimex ESP32-P4 board and the Raspberry Pi 3b using the native backends; on the "Wirth RV32 machine" it is already working; both the ARM and RV32 backends have options to adapt the generated code to a certain degree (e.g. for the A10, or the ESP32-C6). So far I have no plans to support more architectures. All backends offer a "C-like" calling convention, which supports directly linking and calling into C libraries (but not for all C parameter types, my approach is converting C to MIL instead, see https://github.com/rochus-keller/c2mil/). micc also has an integrated linker.