#memory

3 articles

midden: Heap Dumps from the Command Line

Midden is a single-binary heap dump analyzer for the JVM, written in Rust. Tested against two deliberate leaks and checked against MAT, it found both and got the sizes right, from a shell prompt rather than a workstation, and very quickly.

Bun Has Been Converted to Rust. Now What?

Bun was ported from Zig to Rust by an LLM and passed nearly all its tests - while shipping more than ten thousand unsafe blocks. Memory safety is the main reason you'd pick Rust. So what did the rewrite actually accomplish?

David M. Lloyd: VarHandle fundamentals

David M. Lloyd has another piece on modern reflection, this time on VarHandle - and as usual, it's highly informative. It replaces a lot of Unsafe usage, and demonstrates quite a bit of atomic access fundamentals as well, and it opens up offheap access, too.