HNHacker News
TopNewBestAskShowJobs

joechrisellis

23 karma · joined February 24, 2022

submissionscomments
joechrisellis··on rr – record and replay debugger for C/C++
My previous job was in compiler engineering and I worked on upstream LLVM for a little while. rr was indispensable for me — not just for debugging, but as a tool for understanding how the compiler works in general. For example: you can set a watchpoint on an object in memory, and reverse-execute to the point where it was instantiated. This allowed you to answer questions such as ‘which optimisation pass was responsible for creating this DAG node?’ and such.

Really powerful tooling — I haven’t kept up with it for a while, but last I checked it didn’t work on aarch64/arm64 because of a lack of certain performance counters only available on x86 hardware. The lack of support for other languages (e.g. Go) is also a shame. This has unfortunately rendered it unviable for my day job!

If you’re working in a stack where it’s supported, it’s really quite special.

joechrisellis··on Show HN: vimmer.io is an interactive course for Vim with a real embedded editor
Hey HN — this is a passion project I've had on the backburner for a short while now. I've really enjoyed building this and I'm excited to share.

vimmer.io is an interactive course for learning Vim. It's different to other online Vim courses because it uses the real Vim editor compiled to WASM (made possible by rhysd's fantastic vim.wasm project[0]). This means you get all of the functionality that you have in vanilla Vim, which not only opens a lot of doors in terms of what you can teach (buffers, windows, niche Ex commands), but also means everything you learn is completely transferable.

This has so much fun to make — looking forward to hearing all of your feedback!

[0]: https://github.com/rhysd/vim.wasm