miniblog.

Refactored some unsafe FFI code to be idiomatic Rust today, and valgrind approves of everything on the first run. I'm impressed!
TIL that Go has an excellent CLI tool for renaming things: https://texlution.com/post/gorename/ -- why doesn't this exist in more languages?
"The less often you run a script, the chattier the interface should be."
Lenticular editing is an interesting idea where doc changes are replayed as code comments (and vice versa). https://www.russet.org.uk/blog/3035
Fun compiler fact: both GCC and clang rewrite x < C to x <= C-1 (for integers) as C-1 may require fewer bits to represent.
I'm very impressed with the Go performance shown on https://julialang.org/ . The Go compiler has come a long way.
"at least two efforts at writing a graph coloring register allocator for GCC have failed"
TIL that Travis supports Ubuntu 14.04! https://docs.travis-ci.com/user/ci-environment/#Virtualization-environments (sometimes 12.04 is hassle with new/trendy tools)
I keep writing compiler unit tests that work locally, but fail on other architectures. Argh. Maybe I should emulate on Travis.
What does the 80/20 rule look like in compiler optimisation? I suspect basic constant propagation and DCE gets you a respectable speedup.
Midori is a fascinating Microsoft research project exploring safe C++ alternatives with a new OS and compiler:
How do I set up an LLVM pass manager to optimise my code?
That feeling of 'I need to write a Stack Overflow answer on this, or I'll never remember it in a week's time'.
Moving to a hand-written parser made GCC faster, more flexible and provides better diagnostics:
Bridging Discrete and Continuous Logic in Automated Reasoning Systems https://chriskohlhepp.wordpress.com/the-reasoned-lisper/ (has some incredible examples)
Showing 4,891-4,905 of 7,583 posts