Could Go be a better C? I think so!
Meet Solod — a strict subset of Go that translates to C, without hidden memory allocations and with source-level interop.
New interactive mini-book: Go concurrency distilled
It gives a brief overview of many concurrency topics in Go, along with examples you can run in the browser. There's also a PDF version.
The book is AI-free.
Solod v0.4 is out!
It's a system-level language with Go syntax, zero runtime, and fast C interop.
The new release ships an automatic C bindings generator, freestanding mode for most of the standard library, and even some Windows support 😅
This esteemed function in Go's standard library reads the mantissa and exponent from a string and returns seven individual values.
I guess someone really hated structs, huh 🫠
This Go expression is a bit unconventional, but it's completely valid:
error.Error(errors.ErrUnsupported)
"errors.ErrUnsupported" is a real, though less well-known, error value defined in the errors package.
"error" is a real interface type, and "Error" is its method.
And