huizhou92’s Newsletter-2024–22
My First Newsletter
Hello everyone, I am huizhou92.
So glad we meet again.
I will share the best articles, snippets, and anything else I have read in the past week related to computer technology. I hope you enjoy it.
If nothing unexpected happens, it will come as scheduled every Sunday.
Articles
Dragonfly’s New Sorted Set Implementation

Redis uses a very clear data structure skipList to implement the sorting function (zset). When I first learned about this data structure, I was amazed by its ingenious design. This data structure has been replicated in various systems.
Dragonfly developed a new sorted set implementation based on a B+ tree, improving memory efficiency and performance. This innovation reduces memory overhead significantly compared to Redis’s skiplist implementation. Benchmark results show Dragonfly’s sorted sets scale efficiently and offer up to a 40% reduction in memory usage.
Open source is neither a community nor a democracy

Open-source software users do not automatically have a say in project decisions. Projects are typically led by a small group of dedicated contributors. Open source operates on productive effort, not democratic voting, with elitism playing a positive role in project advancement.
Golang 1.23: Changes to I/go: linkname and What It Means for Developers

This is my own article., Go 1.23 restricts //go:linkname usage to prevent issues and improve code safety. In the long run, this decision may have a significant and lasting impact.
Tools
Today we are sharing a front-end icon library Icônes.
It should be the most comprehensive icon library in the world: it includes all the icon packs available on the market, and 118 different libraries. It has a very powerful search function and can be used directly in multiple formats. You can even download React or Vue components directly or use them together with UnoCSS. It’s amazing.
Think
Can two Linux programs share the same port? The answer is yes. Isn’t it amazing? This contradicts our basic knowledge, but at least it is true in Python. You can take a look at the source code of Python:

In Linux, SO_REUSEADDR and SO_REUSEPORT are used to allow multiple processes to provide services on a single port. For more information, you can refer to this post:

This is my first attempt at writing a newsletter. There are still many things I don’t know, so please understand and be tolerant. If you can give me applause, that would be the greatest encouragement for me.