
🇨🇦 vexatious litigant
396 posts

🇨🇦 vexatious litigant
@ajohnston97629
Object oriented programming redistributes code and data around process memory in order to ruin processor cache coherency. Freedom for Ukraine 🇺🇦.





🤏 update:


















Memory RSS is broken Users are noticing RAM usage, but they don't really care about it. Noone just knows about RssFile. This is funny becuase intensively used memory mapped file occupies actual physical RAM through the OS cache. But because this is not visible for the users in their RSS output -> they are fine with it. Physical memory footprint is absolutely the same while stability and safety of the whole solution is decreased we need a better observability at the OS level that will actually show how much of physical memory your process is occupying over time INCLUDING forked processes memory










implemented a linked list in C the core is just a struct pointing to itself. everything else is pointer manipulation. every "insert at head" is O(1). you're just redirecting two pointers.


your CPU hates if. a mispredicted branch costs 15-20 cycles. every time. there's a version of abs() with 0 branches that most devs have never seen x >> 31 arithmetic-shifts the sign bit across all 32 bits. negative numbers become 0xFFFFFFFF (-1). positive become 0x00000000 (0)


















