I recently ran into some hard to find memory leaks. The program only runs on Linux. The memory leaks are detected using a custom memory allocator (using an atomic counter for allocation/deallocation size). In single thread mode, the program terminated without leaking, but running in multithread mode resulted in 1.7 to 4 KB of leaked […]
To Flash or Not Flash?
I haven’t really done much web development in the last 8+ years or so, and my knowledge in that area has been mostly outdated. I have some ideas of a data centric web site with interactive data visualization and the question is what tool do I use to implement this idea? To educate myself, I […]
LLVM, Clang, and (no) Auto Vectorization
A few days looking into LLVM + Clang, I really liked how they are set up and how they work. I played with the IR code and JIT a little bit, then I realized that Clang and LLVM don’t support auto vectorization (as of current release 2.8).
How to Build LLVM and Clang on Windows
It’s surprisingly easy. First, I’d ignore the instruction on LLVM’s page, and rather follow the instruction on Clang’s project page, which is much more concise and will build both LLVM and Clang.