mastodon.xyz is one of the many independent Mastodon servers you can use to participate in the fediverse.
A Mastodon instance, open to everyone, but mainly English and French speaking.

Administered by:

Server stats:

817
active users

#tinygo

3 posts3 participants0 posts today

Today I worked on supporting the classic Boehm-Demers-Weiser GC in #TinyGo, including support for #WebAssembly! GC performance has been a longstanding issue with TinyGo, especially on WebAssembly. I hope that this work will make TinyGo usable for more applications.

Here is the work-in-progress PR (not yet ready for use - try at your own risk):
github.com/tinygo-org/tinygo/p

Why this GC? Because it's one that is old and has had a *lot* of finetuning over the years to make it fast. There's no reason to reinvent something when we already have a project that does what we need.

One downside is that it's a lot larger than the built-in GC (it adds around 90kB of binary size) but there are many cases where this added binary size doesn't really matter.