miniblog.

Joe Duffy has a fascinating blog post on efficient asynchronous API design for systems:
A Persistent System in Real Use - Experiences of the First 13 Years https://tunes.org/wiki/eumel.html (amazing OS where even processes are persistent)
Good compiler error messages are hard. LtU: https://lambda-the-ultimate.org/node/5280#comment-90836 if two parts of a function use different types, what do you highlight?
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?
Showing 16-30 of 650 posts