TTTaras Tsugriiinsoftwarebits.hashnode.dev·May 4, 2021 · 9 min readOld 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...00
TTTaras Tsugriiinsoftwarebits.hashnode.dev·May 3, 2021 · 3 min readNon-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 ...00
TTTaras Tsugriiinsoftwarebits.hashnode.dev·May 2, 2021 · 3 min readBit-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...00
TTTaras Tsugriiinsoftwarebits.hashnode.dev·May 1, 2021 · 4 min readBit-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 ...01
TTTaras Tsugriiinsoftwarebits.hashnode.dev·Apr 30, 2021 · 2 min readUNIX 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...00