Old pattern powering modern tech.On March 23rd I was honored to present at PAC HERO FESTIVAL 2021 my favorite append-only design property. The recording is available on YouTube and this article contains some of its highlights. A little history When looking for the best learning inve...May 4, 2021 · 9 min readsoftwarebits.hashnode.dev
Non-zero cost abstractions.Being abstract is something profoundly different from being vague … The purpose of abstraction is not to be vague, but to create a new semantic level in which one can be absolutely precise. Edsger Dijkstra Let's take a look at the snippet of code ...May 3, 2021 · 3 min readsoftwarebits.hashnode.dev
Bit-testing on ARM64.In the previous article we've looked at how different compilers handle int isHtmlWhitespace(int ch) { return ch == 0x0009 || ch == 0x000A || ch == 0x000C || ch == 0x000D || ch == 0x0020; } on x86 CPU architecture. But as A...May 2, 2021 · 3 min readsoftwarebits.hashnode.dev
Bit-testing.There are many reasons leverage integers instead of more expensive data structures, like strings. On top of being much more memory efficient without readability sacrifice, compilers can apply numerous optimizations to improve use-cases in which they ...1May 1, 2021 · 4 min readsoftwarebits.hashnode.dev
UNIX domain vs TCP socket.With increasing adoption of microservices, containers and design patterns like sidecar, communication efficiency starts to play an important role in system performance. Reliability, congestion control, packet ordering and many other useful features m...Apr 30, 2021 · 2 min readsoftwarebits.hashnode.dev