miniblog.

I'm acquiring a taste for the Rust numeric types. usize usually represents an index, i64 a quantity, and Wrapping<u8> an emulation of hw.
I really like diff-hl-mode https://github.com/dgutov/diff-hl It shows lines added/modified/removed since last commit, which is useful contextual info.
Using LLVM with very dynamic languages is hard. A discussion of using LLVM for Smalltalk VMs:
Great deep dive into Emacs' string implementation: https://garethrees.org/2015/02/11/emacs/ (strings are crucial in an editor so it has some unusual features)
Really interesting LLVM RFC on improving performance of instrumented binaries: https://lists.llvm.org/pipermail/llvm-dev/2015-August/089044.html Interaction with inlining is subtle.
The excellent 'linked lists in Rust' has a section on lifetimes: https://cglab.ca/~abeinges/blah/too-many-lists/book/second-iter.html It compares lifetimes with pointers to scopes.
Scary example of MITM against https://google.com/ with faked HTTPS:
Fascinating article on building a great Perforce workflow with Emacs: https://garethrees.org/2015/08/07/p4.el/
Handling different error types in Rust: https://blog.burntsushi.net/rust-error-handling/ (a hurdle for new Rust programmers)
Computational Thinking: The Subtle Effect of Hidden Dependencies on the UX of VCS https://static.googleusercontent.com/media/research.google.com/en/us/pubs/archive/42942.pdf Interesting and sobering.
An impressive amount of my auto-complete config disappeared when I started using company-dabbrev-code. Nice codebase with good defaults.
The excellent string-edit package (edit strings with escapes) now supports even more major modes!
If you're stuck figuring out the right C++ API call to use with LLVM, you can dynamically generate example code here! https://ellcc.org/blog/?page_id=340
visual-regexp makes complex regexps painless in Emacs. https://github.com/benma/visual-regexp.el Here I'm doing a little refactoring.
Photo
Debugging a compiler, even a simple one, is amazingly subtle. You can have great test coverage and nasty bugs waltz past your test suite.
Showing 271-285 of 650 posts