sami (@sotdev_) header
sami (@sotdev_) profile picture

recovering mess. https://teapawt.org/t.co/rWJEBVIqB7

Joined November 2021
Photo by sami (@sotdev_)Photo by sami (@sotdev_)Photo by sami (@sotdev_)Photo by sami (@sotdev_)Photo by sami (@sotdev_)
Talking about ebpf, wasm and AST with @sotdev_ is so fun 😂
5
1
16
1,653
sami retweeted
If you can't get the same performance out of C, C++, Rust, and Zig then you are doing it wrong. They can be matched essentially one-to-one and all even have inline as escape hatches. None of these languages produces faster binaries than the others can.
If someone claims like "I rewrote that C program in another lang and improved the performance by 10x". Trust me, there are only 2 reasons: - the original C code was partially crappy - the benchmark was deliberately constructed You just cannot beat C on perf, man.
23
11
403
18,415
Static allocation makes taste explicit through your code, it forces your whole team into good design. It helps you understand the physics of your system, eliminates fragmentation, gives you physical memory safety. You can't use-after-free if you never free!
1
2
18
938
A tier-up optimizing JIT compiler is a physics game.
1
1
1
468
Wow the first launcher with the fastest file search OOB
This quoted post is unavailable.
1
2
43
5,140
sami retweeted
Specific knowledge is found by pursuing your genuine curiosity and passion rather than whatever is hot right now.
57
4,241
204
35,604
sami retweeted
Single Load and store are Atomic: What I learnt:- In modern CPU architectures, *aligned* data accesses are atomic for single loads and stores, provided the data types are *naturally aligned*. In short, what it means is that the reader shouldn't see tearing. On my hardware :-
1
1
27
1,902
Do more with less. Your products deserve visibility and distribution that doesn’t suck!
This post is from an account that no longer exists. Learn more
3
6
351