Develop Your Embedded Applications Faster: Comparing C and Golang
summary
Compares C and Go for embedded work and claims Go speeds development while remaining practical for devices: shows Yocto integration, cross-compiling, and static linking; measures a tiny runtime like 600 KB stripped binary and fast builds with a 1.4 s full compile for a 15k-line client; discusses GC vs. predictable allocation and C bindings; demonstrates a Go app on a BeagleBone reading a DHT11 sensor and infrared distance sensor and deploying it over-the-air with Mender OTA, and the demo works live.
AI-written summary · about
chapters (33)
- 0:00Intro
- 2:03Outline
- 2:32About me
- 3:58Go timelines
- 4:43Why Go
- 9:04Yocto
- 9:43Why Golang
- 11:29Size
- 12:53Speed
- 14:57Productivity
- 15:07Standard Library
- 16:04Building Tools
- 16:45Compilers
- 17:53CrossCompile
- 18:26Debugging
- 18:59Testing
- 19:30Code Samples
- 20:10Multiple Variables
- 20:27ObjectOriented Principles
- 21:03Interfaces
- 22:49Go routines
- 24:47Shared libraries
- 25:35Embedded Go
- 27:27Our experience with Go
- 27:37Issues with Go
- 29:59What we like in Go
- 32:03Medical application demo
- 33:11Compile
- 33:26Source code
- 36:46Update device
- 38:30Deployment
- 41:53Inference
- 43:28Questions
related talks
23mWhat do you learn from not using Erlang?
36mGo for the Rubyist
05mMaking the Leap from NodeJS to Go
30mGolang for PHP developers: A practical introduction
49mGet GOing with a New Language
46mRediscovering Go
17mFrom Java to Go: I Have a Hammer and See Nails Everywhere
21m5 things I love (or why you should learn Go)
