Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

I'd love to see this targeted towards PICs. Really I'd like to just see any modern language targeting low power microcontrollers allowing for optimization of code size or performance. 8-bit processors using a banked memory model are hard for languages with modern (flat) memory models to adapt to.


Zig lets you bring your own allocator. https://ziglang.org/


I don’t think LLVM (which Zig uses) can currently target PIC.


Basic and Pascal might not be modern, but they surely are alternatives to C for targeting PIC.


That should be possible: there is also experimental AVR support. Experimental because the LLVM backend is unfortunately too buggy to be used in real programs (but is improving!).

The first step to make this happen, would be to add a PIC backend to LLVM.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: