<story><title>Mimalloc Cigarette: Losing one week of my life catching a memory leak (Rust)</title><url>https://pwy.io/posts/mimalloc-cigarette/</url></story><parent_chain></parent_chain><comment><author>hinkley</author><text>We had learned helplessness on a drag and drop bug in jquery UI. I had like three hours every second or third Friday and would just step through the code trying to find the bug. That code was so sketchy the jquery team was trying to rewrite it from scratch one component at a time, and wouldn’t entertain any bug discussions on the old code even though they were a year behind already.&lt;p&gt;After almost six months, I finally found a spot where I could monkey patch a function to wrap it with a short circuit if the coordinates were out of bounds. Not only fixed the bug but made drag and drop several times faster. Couldn’t share this with the world because they weren’t accepting PRs against the old widgets.&lt;p&gt;I’ve worked harder on bug fixes, but I think that’s the longest I’ve worked on one.</text></comment>
<story><title>Mimalloc Cigarette: Losing one week of my life catching a memory leak (Rust)</title><url>https://pwy.io/posts/mimalloc-cigarette/</url></story><parent_chain></parent_chain><comment><author>kibwen</author><text>Level 1 systems programmer: &amp;quot;wow, it feels so nice having control over my memory and getting out from under the thumb of a garbage collector&amp;quot;&lt;p&gt;Level 2 systems programmer: &amp;quot;oh no, my memory allocator is a garbage collector&amp;quot;</text></comment>