News for hackers. Stuff that matters.
Re:TinyGo: New Go Compiler Based on LLVM by jsd1982 on Thursday July 18, 2019 @08:09PM (#20475177)
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.
Re:TinyGo: New Go Compiler Based on LLVM by networkimprov on Thursday July 18, 2019 @09:28PM (#20475513)
Zig lets you bring your own allocator. https://ziglang.org/
Re:TinyGo: New Go Compiler Based on LLVM by comex on Friday July 19, 2019 @12:06AM (#20476087)
I don’t think LLVM (which Zig uses) can currently target PIC.
Re:TinyGo: New Go Compiler Based on LLVM by pjmlp on Friday July 19, 2019 @12:19AM (#20476137)
Basic and Pascal might not be modern, but they surely are alternatives to C for targeting PIC.
Re:TinyGo: New Go Compiler Based on LLVM by aykevl on Friday July 19, 2019 @09:54AM (#20478655)
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.