Build Configuration| nnethercote.github.io
This year PyCon Spain happened just down the road from me in Vigo, and I was able to attend with a few folk from Codethink. Python conferences are usually great as there’s so much variety in …| Sam Thursfield
There are endless debates online about Rust vs. Zig, this post explores a side of the argument I don't think is mentioned enough.| zackoverflow.dev
If you need to allocate dynamic memory in C, you use malloc() and free(). The API is very old, and while you might want to switch to a different implementation, be it jemalloc, tcmalloc, or mimalloc, they mostly copy the interface. It makes sense that they do that – they want to be a mostly drop-in replacement, but it’s still unfortunate because malloc() and free() are a bad API for memory allocation. Let’s talk why.| www.foonathan.net
TL;DR: On Linux, if you have Transparent Huge Pages enabled, you can try to run cargo with the environment variable MALLOC_CONF="thp:always,metadata_thp:always" for a potential ~5% speed boost.| Kobzol’s blog
During the first half of 2023, I have continued my quest for optimizing the build, test and performance monitoring infrastructure of the Rust compiler. This post describes what has been done in this area, and serves a follow-up to my previous post on this topic. Note that possibly the biggest sub-project that I have worked on was the implementation of runtime benchmarks for the Rust benchmark suite, however I will dedicate a separate blog post for that (which I will hopefully publish in the n...| Kobzol’s blog
In this article I will explain when and how to use huge pages.| rigtorp.se
This is a short guide describing the latency implications of the virtual memory abstraction.| rigtorp.se