TinyGo

Coś nowego czyli połączenie tematów WebAssembly, mikrokontrolerów i Go: GitHub - tinygo-org/tinygo: Go compiler for small places. Microcontrollers, WebAssembly (WASM/WASI), and command-line tools. Based on LLVM. · GitHub . Kompliator Go który potrafi wypluć kod na mikroklocki albo WebAssembly do odpalania gdziekolwiek.

Nie mam pojęcia co o tym myśleć, ale wydaje się ciekawe.

CC @Claude @Hagis :penguin:

94 microcontroller boards are currently supported
:open_mouth:

Ostatnio chciałem na esp32 się pobawić ale wifi nie ma wsparcia jeszcze a nie mam kiedy sterownika przeportowac z c

Ale jest to mega kusząca opcja bo nie musiałbym się składni rust uczyć aby ogarniać mikrokontrolery w znajomym języku. Teraz jak sam przeczytałem co napisałem to nie znajduje powodu aby nie ogarnąć tego co potrzebuje po prostu w c

Reactions: pink_heart ×1 (DoomHammer)

I played with tinygo about a year ago. It was quick and cool, but very frustrating that they had “forgot” to implement some core libraries (like regex). I actually have a write up on https://blog.claude.nl/posts/performance-of-a-go-library-fzf-in-the-browser/

My “problem” with “language X for microcontroller” is that I almost never write anything for a MC that is more than 100ish lines, in which case the effort of using a non standard toolchain is not really worth it.

Maybe it just means I’m not creative enough :grin:

I do remember that tinygo had huge problems with the garbage collection if you have lots of data

Yeah, the standard toolchain/standard libs part hits me right in the :green_heart: