https://engineering.fb.com/2026/03/02/data-infrastructure/investing-in-infrastructure-metas-renewed-commitment-to-jemalloc/ #Meta #memoryallocation #infrastructureupdates #technews #HackerNews #ngated
It’s a new day, a new video from #eurorust24! Whether you’re tuning in fresh or rewatching, dive into memory allocation with Arthur Pastel from Codspeed. Learn why stack, heap, and static memory aren’t all created equal, and how the right choices can boost your Rust app’s performance. 🦀
Watch it here 📹👉 https://youtu.be/pJ-FRRB5E84
Very nice #visualization and explanation of #MemoryAllocation:
"Memory Allocation", Sam Rose (https://samwho.dev/memory-allocation/).
Via HN: https://news.ycombinator.com/item?id=36029087
On /r/programming: https://old.reddit.com/r/programming/comments/13oob4e/a_visual_guide_to_memory_allocation/
On Lobsters: https://lobste.rs/s/finhxu/memory_allocation
#Development #Guides
Memory allocation · An interactive introduction to memory allocation with visuals and a playground https://ilo.im/12v1zc
_____
#MemoryManagement #MemoryAllocation #Fragmentation #WebDevelopment #WebDev #Server #Visualization #Playground
This blog entry by Raymond Chen, "Why doesn’t Windows use the 64-bit virtual address space below 0x00000000`7ffe0000?"¹ is absolutely brilliant.
What I thought was a trivial design decision of some kind turns out to have deep roots in 32-bit Windows (the separation between user and kernel) and, this is where it becomes surreal, the DEC Alpha processor
!
I quote Raymond Chen directly:
"On the Alpha AXP, most 32-bit constants can be generated in at most two instructions. But there’s a range of values that requires three instructions: 0x7fff8000 to 0x7fffffff. "
As the person who ran the first three DEC Alpha systems in the UK outside DEC "REO" (Reading Office) I have a bit of history with these processors and yet I had never ever heard of this.
Don't ignore the links embedded in the page because they are worth reading too.
(also, if you do not follow Raymond Chen's blog via RSS you should - his series on processors and the history of Windows design decisions is fabulous).
#Windows #MemoryAllocation #DECAlpha #WindowsOnAlpha
__
¹ https://devblogs.microsoft.com/oldnewthing/20221216-00/?p=107598
Great blog post about C and memory allocation by Ryan Fleury
https://rfleury.com/p/untangling-lifetimes-the-arena-allocator
#programming #cprogramming #memoryallocation #heap #learning #infotech #hacking
🤔:
“Don’t Use ProtoBuf For Telemetry”, Richard Startin (https://richardstartin.github.io/posts/dont-use-protobuf-for-telemetry).
The HN-thread has comments from previous & current maintainers of #ProtoBuf on the design trade-offs: https://news.ycombinator.com/item?id=25582962
#ProtocolBuffers #Tracing #Telemetry #Performance #MemoryAllocation
Protobuf needs no introduction, but this post argues that you shouldn’t use it for telemetry. The basic premise of this post is that a good telemetry library needs to be lightweight to avoid perturbing the application; inefficient diagnostic tools are self-defeating. Unlike other formats, nested Protobuf messages cannot be written contiguously into a stream without significant buffering. The post doesn’t argue to never use Protobuf, but that the trade-off made by the wire-format itself, as opposed to any existing implementation, is unlikely to work for lightweight message senders.