TinyGo Preview - how does it work?
I've updated play.tinygo.org to more accurately simulate hardware, and now also brought this feature to VS Code. But how does it work?
I've updated play.tinygo.org to more accurately simulate hardware, and now also brought this feature to VS Code. But how does it work?
CGo is faster in TinyGo, here's how that works.
The int type is present in many programming languages, but their meaning varies. Unlike what many people think, it only indirectly related to pointer size or architecture word size.
The AVR architecture does not natively support arbitrary bit shifts. Therefore, compilers will have to be creative to make shifts short and fast. This post explores how a compiler could emit such constant shifts inline.
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.