Felipe O. Carvalho
banner
felipe.rs
Felipe O. Carvalho
@felipe.rs
SWE @ dbt Labs. Past: SDF, VoDa, Spotify. Apache Arrow/Databases/Compilers/DistSys. Rust/C++/OCaml/TLA+. 🇧🇷 → 🇸🇪 → 🌎 http://bento.me/felipe / https://felipe.rs
This is a common thing and the reason behind avoiding pointers to register-sized values across function boundaries. An add10() that returns the value added by 10 is better than the one that mutates through the pointer. Totally fine if inlined though.
November 11, 2025 at 7:15 PM
If we forbid the inlining, the caller is forced to put i on the stack

str r0, [sp, #4]

to pass the ptr to add10

add r0, sp, #4 // put the ptr relative to the stack ptr on r0 before call

then the value is loaded from the stack into r1 before the printf call

ldr r1, [sp, #4]
November 8, 2025 at 7:48 PM
It’s only a 20-ish% increase from June in Brazil, so I’m securing mine before they have to renew their inventory and increase it even more.
November 8, 2025 at 3:57 AM
Oh, second ed is out already?
November 7, 2025 at 4:52 AM
De longe
November 4, 2025 at 9:26 PM
It's annoying in C++ to query an std::unordered_map<std::string, T> when what you have is a std::string_view (pointer, "borrowed") instead of the std::string (allocated on the heap, "owned").
October 26, 2025 at 1:32 PM
Add to Playlist gets worse every month or so
October 25, 2025 at 1:58 PM
Wondering if this is the kind of thing that @welltypedwit.ch will say is not good in practice.

There is a nice online demo/playground: se-tuebingen.github.io/oopsla-2025-...
The Simple Essence of Overloading: Playground
se-tuebingen.github.io
October 20, 2025 at 1:11 AM
100% this!
October 6, 2025 at 1:07 PM
Scary how completely unconcerned they are with re-election. Final years of the term will be devoted to diminishing the electoral system itself.
October 5, 2025 at 2:21 AM
I had these before moving to the Microsoft Sculpt. Sculpt is not as durable as this one, but this keyboard is way too big and takes over the whole desk. Happy with a mechanical split these days.
October 4, 2025 at 2:03 PM
In a 100 years, people will be talking about these companies like we talk about IBM during WWII.
October 4, 2025 at 1:28 PM
It’s really sad to see people still doing this at this point. It’s as if they get a high from figuring out the hypocrisy.
October 4, 2025 at 2:11 AM
I love how he said he doesn’t feel bad for being somewhat disconnected from the current developments of AI because he is paying much more attention to what thinkers in other areas are talking about cognition and learning.
September 29, 2025 at 3:34 AM
e.g. compression and crypto algorithms are very sophisticated, but if you hide that in the HTTP stack, people working on a web app don't have to understand their details when implementing applications.
September 27, 2025 at 10:24 PM
I'm not a fan of the approach, but I've seen very pedestrian codebases survive and succeed a lot more than the codebases that had sophisticated constructs that got perverted by changes. Note that sophistication is not forbidden. It's requiring everyone to understand it to work on the project.
September 27, 2025 at 10:24 PM