Before Go 1.21, if you wanted to build a project requiring a newer Go version, you had to manually install that version yourself. Since 1.21, go automatically downloads the required toolchain (the go binary, compiler, linker, etc.) and uses it to build the project - all without touching your global Go installation.

While very convenient, there’s also a huge security concern in downloading a binary from the internet and running it on demand, completely transparently. That’s why the downloaded toolchains are locally verified against a transparency log.

Transparency logs are append-only logs that enable public auditability. They use Merkle trees - a highly optimized data structure for fast consistency verification.

Go has been using a module checksum db (Go sumdb) - a tran…

Similar Posts

Loading similar posts...

Keyboard Shortcuts

Navigation
Next / previous item
j/k
Open post
oorEnter
Preview post
v
Post Actions
Love post
a
Like post
l
Dislike post
d
Undo reaction
u
Recommendations
Add interest / feed
Enter
Not interested
x
Go to
Home
gh
Interests
gi
Feeds
gf
Likes
gl
History
gy
Changelog
gc
Settings
gs
Browse
gb
Search
/
General
Show this help
?
Submit feedback
!
Close modal / unfocus
Esc

Press ? anytime to show this help