I think this is the third time I am using this particular pattern, so I might as well document it for others interested in concurrent programming. Also, to save myself time next time I need to write a server where threads need to synchronize the state between themselves.| 128 nops
A few days ago I had an interesting discussion with my friend about the headline-grabbing quote from Sergey Brin. For posterity, the quote was “[…] 60 hours a week is the sweet spot of productivity”. The entire quote was mostly about the AI, Google and supercharging the development efforts, but the last part captured the most attention. Also, as with all the quips like that it started to be applied or derided as if it was the separate statement in it’s own rights.| 128 nops
Error handling is one of the more important parts of any programming language. The more interactions with other entities your program has the more of error handling you will have to deal with. In some languages the task is, well, very error prone. In C, when the function return certain value like for example 1 it is actually quite difficult to figure out if this value represent success or error - at least without looking at documentation. The posix standard is trying to introduce some uniform...| 128 nops
Originally this was just a series of separate notes on my Mastodon profile. I’ve decided, in case the site disappear, to grant them more permanent form and post them on this blog.| 128 nops
In the last part of my Build simple fuzzer series I’ve promised some topics like patched binaries and performance counters. I’ve even implemented those things but decided that it is fairly repetitive and fundamentally does not introduce anything new. At that point other topics took priority so I had no clear idea what I should do with the series. Recently I’ve just decided to skip over the boring stuff and go straight to the topic that I wanted to reach eventually anyway - native instru...| 128 nops
I’ve been using vim since I’ve started working with Linux. Admittedly, those times were bit easier - it was either that or Emacs. And I didn’t like to press four different keys just to save a file. There was also pico and nano but let’s be serious.| 128 nops
I’ve spent ten years of my life working for Google. To this day this is the longest time I’ve ever spent in a single company. Google today is very different from the Google I’ve started working for. We are just shortly after the company, for the first time in its entire history, conducted layoffs. Almost twelve thousand people lost their jobs - sometimes finding out about it only because they couldn’t log in into their account.| 128 nops
In the wave of news coming from Twitter I wrote a short thread about one presentation I’ve seen one day. Twitter is not the best medium for longer forms so I’ve decided to write more about it here.| 128 nops
System programming in Rust| carstein.github.io
Translating structures between C and Rust| carstein.github.io