awavauatush @ninjawedding
I got curious this morning and decided to see just how many allocations a trivial Rust program (linked against std) does

on unix-ish platforms, the answer is currently 2,000 bytes in 6 allocations:

next thing I want to try: an instrumented allocator for things like entities in entity systems. this can be a real pain in the ass in C++ especially if you're using std:: data structures -- though C++17's allocator traits might change that. I'd like to see what I can do to slip in an instrumented allocator while still being able to, say, use std::vec::Vec
· Web · 0 · 1
one _very_ nice thing about that ms_print trace is that the Rust symbols are demangled, which I didn't expect at all