Hello, Open Source!
Welcome to the Open Source Spotlight (aka.ms/hello-oss) which airs every Tuesday 10:30 am PT / 1:30 pm ET on Hello World on Learn TV (aka.ms/LearnTV). This week we’ll be looking at…
TinyGo
[Update: Today’s show has just gone live on YouTube!]
A Go Compiler For Small Places.
- tinygo.org | play.tinygo.org
- GitHub: tinygo-org/tinygo (github.com)
- Twitter: @TinyGolang
- Ron Evans: @deadprogram
- Twitch: twitch.tv/lapipatv
Hello, TinyGo!
package main
import (
"machine"
"time"
)
func main() {
led := machine.LED
led.Configure(machine.PinConfig{Mode: machine.PinOutput})
for {
led.Low()
time.Sleep(time.Millisecond * 500)
led.High()
time.Sleep(time.Millisecond * 500)
}
}
See: https://tinygo.org/docs/tutorials/blinky/
New to TinyGo?
The TinyGo collection
Some actual toy projects
- GopherBot: gopherbot.com | hybridgroup/gopherbot
- GoBadge: tinygo-org/gobadge
WebAssembly with TinyGo
- https://wasmbyexample.dev/examples/hello-world/hello-world.go.en-us.html
- https://marianogappa.github.io/software/2020/04/01/webassembly-tinygo-cheesse/
- https://tufin.medium.com/extending-envoy-proxy-with-golang-webassembly-e51202809ba6
- https://github.com/tetratelabs/proxy-wasm-go-sdk
- https://events.istio.io/istiocon-2021/slides/c8p-ExtendingEnvoyWasm-EdSnible.pdf
The first book about TinyGo just came out!
Also take a look at…
GoCV, which we covered on a previous Open Source Spotlight episode (gocv.io | aaronmsft.com/posts/gocv/ | YouTube ), and GoBot (gobot.io), which plays nicely with TinyGo!
I’d love to hear any feedback, questions, or help out if you are trying any of these projects or examples.
You can reach me on Twitter (@as_w) or Aaron W#0101 on the Microsoft Open Source Discord (aka.ms/open-source-discord).
#HelloWorldLive just wrapped today, but we're so excited about tomorrow's show!
— Microsoft Learn TV (@LearnTV) March 15, 2021
Look at this lineup: @gotheap, @burkeholland, @film_girl, @LBugnion, @AmyKateNicho, @suzannechen, @nitya, @as_w …AAHHH!!! So excited! 🥳
Tomorrow: https://t.co/H5MENJmDBn
10:30 am PT / 1:30 pm ET pic.twitter.com/JjXKex9qNo
Previous Open Source Spotlight Episodes
Playwright & playwright-go (2021-06-02)
- See: aaronmsft.com/posts/playwright-and-go/
- Watch Episode: YouTube | Channel 9
MSTICPy - Microsoft Threat Intelligence Python Security Tool (2021-05-11)
- See: aaronmsft.com/posts/msticpy/
- Watch Episode: YouTube | Channel 9
Vim & VS Code with VsCodeVim (2021-05-04)
- See: aaronmsft.com/posts/vim-vs-code/
- Watch Episode: YouTube | Channel 9
GoCV (2021-04-27)
- See: aaronmsft.com/posts/gocv/
- Watch Episode: YouTube | Channel 9
Hugo (2021-04-13)
- See: aaronmsft.com/posts/hugo/
- Watch Episode: YouTube | Channel 9
Postgres & Citus (2021-04-06)
- See: aaronmsft.com/posts/postgres-citus/
- Watch Episode: YouTube | Channel 9
Python Fire (2021-03-30)
- See: aaronmsft.com/posts/python-fire/
- Watch Episode: YouTube | Channel 9
lazygit (2021-03-23)
- See: aaronmsft.com/posts/lazygit/
- Watch Episode: YouTube | Channel 9
K9s (2021-03-16)
- See: aaronmsft.com/posts/k9s/
- Watch Episode: YouTube | Channel 9
Multipass & cloud-init (2021-03-09)
- See: aaronmsft.com/posts/multipass/
- Watch Episode: YouTube | Channel 9
Dapr (2021-02-23)
- See: aaronmsft.com/posts/dapr/ | aka.ms/hello-dapr
- Watch Episode: YouTube | Channel 9
All Hello World episodes!
You can also watch all Hello World episodes on the Microsoft Developer (youtube.com) YouTube channel and Channel 9 (channel9.msdn.com).