Re:This shouldn't have happened: A vulnerability postmortem
by jtchang on Thursday December 02, 2021 @12:27PM
(#29419283)
I have 16MB of flash and I wanted to link in some webrtc Go library and the binary was over 1MB. As I had other stuff it seemed like C was smaller.
Re:This shouldn't have happened: A vulnerability postmortem
by jrockway on Thursday December 02, 2021 @03:25PM
(#29422002)
I took a look at using github.com/pion/webrtc/v3 with tinygo, but it apparently depends on encoding/gob which depends on reflection features that tinygo doesn't implement. No idea why they need that, but that's the sort of blocker that you'll run into.
Full disclosure, Python also runs fine on these microcontrollers, but I have pretty easily run out of RAM on every complicated Python project I've done targeting a microcontroller. It's nice to see if some sensor works or whatever, but for production, Go is a nice sweet spot.