miniblog.

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)
What proportion of Rust v1.0 code still works on the latest version? Almost all of it, but we have hard data!
Worried about stack overflow in recursive code? There's a Rust library that automatically moves data to the heap!
Star Wars text animation in pure elisp, even works without X!
I love twitter as it lets me control who I follow, meaning I learn tons from smart, interesting people. Moments is the antithesis of that.
Showing 4,861-4,875 of 7,549 posts