That feeling of 'I need to write a Stack Overflow answer on this, or I'll never remember it in a week's time'.
miniblog.
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.
Mote is a remarkable vim plugin where the editor can use type holes to almost write Haskell code for you!
OH: "Mathematica is the only successful lisp derivative with m-expressions."
Great overview of LLVM passes, their design, and the pitfalls of phase ordering: https://llvm.org/devmtg/2014-04/PDFs/Talks/Passes.pdf
In Rust you can add methods to any type in a sane way. It's elegant, but hard to get used to after years of 'no monkeypatching!'
Python trivia: x+(1+1) is faster than x+1+1 because the former bytecode can be optimised. The latter cannot because x may have __add__.
Many of my macros for control flow could be functions if I had lazy evaluation. Sadly I find laziness hard to reason about (familiarity?)
Why create tiny JS modules? https://github.com/sindresorhus/ama/issues/10#issuecomment-117766328 (works surprisingly well in practice!)
TIL the order of LLVM passes *really* matters. Running opt -O3 twice has tripled runtime perf, so the defaults don't suit my BF compiler.
Showing 31-45 of 650 posts

