When the Go team initially designed the IP subnet type (netip.Prefix), they chose not to add a Compare method.
Over time, they changed their minds.
antonz.org/accepted/net...
When the Go team initially designed the IP subnet type (netip.Prefix), they chose not to add a Compare method.
Over time, they changed their minds.
antonz.org/accepted/net...
The resulting library offers a rich set of functions, from working with Unix time to time comparison and arithmetic to truncation and rounding.
With nanosecond precision.
github.com/nalgeon/vaqt
The resulting library offers a rich set of functions, from working with Unix time to time comparison and arithmetic to truncation and rounding.
With nanosecond precision.
github.com/nalgeon/vaqt
They provide concurrent-safe operations without explicit synchronization, but there are several pitfalls to watch out for.
antonz.org/go-concurren...
They provide concurrent-safe operations without explicit synchronization, but there are several pitfalls to watch out for.
antonz.org/go-concurren...
I've made a summary of the proposal, and even managed to squeeze in some interactive examples.
antonz.org/accepted/map...
I've made a summary of the proposal, and even managed to squeeze in some interactive examples.
antonz.org/accepted/map...
For each accepted proposal, I'll write a one-page summary that explains the change in simple terms.
This should (hopefully) be the easiest way to keep up with upcoming changes.
The first issue is already out!
For each accepted proposal, I'll write a one-page summary that explains the change in simple terms.
This should (hopefully) be the easiest way to keep up with upcoming changes.
The first issue is already out!
But what if we bypass the runtime and run tasks directly on OS threads or even processes?
Let's find out!
antonz.org/multi
But what if we bypass the runtime and run tasks directly on OS threads or even processes?
Let's find out!
antonz.org/multi
So I figured now's a good time to add it to my SQLite extensions!
github.com/nalgeon/sqle...
So I figured now's a good time to add it to my SQLite extensions!
github.com/nalgeon/sqle...
antonz.org/tags/projects
antonz.org/tags/projects
Anyway, it's done now, so a lot of examples are easier to read!
antonz.org/go-concurrency
Anyway, it's done now, so a lot of examples are easier to read!
antonz.org/go-concurrency
➀ HTTP requests
➁ MQTT publish/subscribe
sqlpkg.org?q=litesql
➀ HTTP requests
➁ MQTT publish/subscribe
sqlpkg.org?q=litesql
"Over the next few weeks, follow-up blog posts will cover some of the topics in more detail. Check back in later."
So you can wait a few weeks OR you can read my interactive Go 1.25 tour right away:
antonz.org/go-1-25
"Over the next few weeks, follow-up blog posts will cover some of the topics in more detail. Check back in later."
So you can wait a few weeks OR you can read my interactive Go 1.25 tour right away:
antonz.org/go-1-25
That's why I created `chans`: a package with generic channel operations that's unopinionated, composable, and doesn't take control away from the developer.
antonz.org/chans
That's why I created `chans`: a package with generic channel operations that's unopinionated, composable, and doesn't take control away from the developer.
antonz.org/chans
github.com/nalgeon/azor
github.com/nalgeon/azor
If you think channels are the only way for goroutines to communicate, check it out!
antonz.org/go-concurren...
If you think channels are the only way for goroutines to communicate, check it out!
antonz.org/go-concurren...
Now, each feature has ➀ a link to the documentation, ➁ a link to the proposal, and ➂ a link to the commits.
It's fascinating to see how Go has changed over the years.
antonz.org/which-go
Now, each feature has ➀ a link to the documentation, ➁ a link to the proposal, and ➂ a link to the commits.
It's fascinating to see how Go has changed over the years.
antonz.org/which-go
Key/value, expiration, maps, lists, sets, and sorted sets — everything in your favorite database. With a Redis-compatible API and wire protocol.
github.com/nalgeon/redka
Key/value, expiration, maps, lists, sets, and sorted sets — everything in your favorite database. With a Redis-compatible API and wire protocol.
github.com/nalgeon/redka
Only 100 loc. I've named it "be" :)
github.com/nalgeon/be
Only 100 loc. I've named it "be" :)
github.com/nalgeon/be
You'll have a Rendezvous with some helpful synchronization tools and even overcome a few Barriers.
If you know what I mean 😉
antonz.org/go-concurren...
You'll have a Rendezvous with some helpful synchronization tools and even overcome a few Barriers.
If you know what I mean 😉
antonz.org/go-concurren...
Now I (and everyone else) can finally write interactive Redis docs!
codapi.org/redis
Now I (and everyone else) can finally write interactive Redis docs!
codapi.org/redis
So I prepared an interactive version with lots of examples.
antonz.org/go-1-25
So I prepared an interactive version with lots of examples.
antonz.org/go-1-25
Plenty of interactive examples ahead!
antonz.org/go-json-v2
Plenty of interactive examples ahead!
antonz.org/go-json-v2