News for hackers. Stuff that matters.
Re:GERT: Run Go on Bare Metal ARMv7 by kbumsik on Monday June 19, 2017 @07:23PM (#14591163)
Wow, it's a great piece of work. I was always wondering how to implement such big golang runtime on bare-metal, but someone finally did it. I glad to have a paper as well. So how big is the compiled binary of golang runtime? I hope it would be small enough to port to Cortex-M series MCUs.
Re:GERT: Run Go on Bare Metal ARMv7 by triplefault on Monday June 19, 2017 @08:46PM (#14591483)
Hi I'm the author of GERT. The size of the ELF for the laser projector program is 2.1M so it probably will not fit on a cortex-m :(. Additionally, I don't think GERT will be as useful on a single-core SOC as it is on a multicore chip because blocking operations (like reading a UART) may literally take forever. The memory safety can certainly be useful though! I'd say just start tinkering and try it out. You can probably gut enough of the elf to get it to a few hundred kilobytes.