Garbage collection in TinyGo
An explanation of how garbage collectors work including some pseudocode how a real GC could be implemented.
An explanation of how garbage collectors work including some pseudocode how a real GC could be implemented.
How ESP32/ESP8266 support got added to TinyGo, how we got there, and the current status of support.
Quick note to get started with debugging AVR programs in a simulator
What RGB really means, what sRGB and gamma are and how to correctly blend colors.
How to configure DMA on the SAMD21, for example to use it with SPI.
The TinyGo playground simulates real hardware, including an e-paper display. How can it do such things? This post explains a bit about how the playground works to make this possible.
A high-level overview of LLVM IR, showing how two simple Go functions can be translated to IR.
TinyGo uses LLVM coroutines to implement goroutines. This post explains what coroutines are and how they're used to implement goroutines.
How TinyGo implements Go interfaces in a radically different way, avoiding most memory allocations and reducing code size.
The defer
keyword in Go does much more than you might think, leading to performance issues in some cases. Why is this?