Shopify is funding PL researchers to look at Ruby!
miniblog.
Encoding a spell checker in Typescript types: https://github.com/kkuchta/TSpell
(Very impressive, though unsurprisingly it's slow)
On writing code to communicate an idea or intent:
Shower thought: presumably keyword length affects naming habits? Are programmers more willing to write verboseFunctionName if the keyword is `fn` rather than `function`?
Many of the GNU manuals are incredibly good. For example, the diff manual includes worked examples: https://www.gnu.org/software/diffutils/manual/html_node/Example-Context.html
What's the secret? My docs are getting better, but they're not on this level.
Nvidia is open sourcing its kernel drivers!
Looks like the popularity of Linux in data centres meant it was valuable from a sales perspective. Still, everyone wins.
https://www.phoronix.com/scan.php?page=article&item=nvidia-open-kernel&num=1
Modern computer systems are hard to bootstrap. If you had to rebuild computing from older tech (say 20/30/40 years old), which would you prefer?
Bugs being embarrassing is a great motivator. I've just fixed a silly crash on one of my Emacs packages.
"What do you call a pointer we stole the high bits off? An ointer." https://docs.rs/ointers/latest/ointers/
Brilliant name for a pointer tagging library.
Reading this blog post on the author's experience report in Go, it's striking how much compiler error messages and docs come up. Sometimes these matter more than language semantics!
"Mark of a chef: messy apron, clean sleeves" -- Ratatouille
What's the programming equivalent? Clean code, lots of stashes?
Difftastic 0.28 is out :)
* Added support for HCL, Swift and limited Perl
* Fixes to directory diffing and inline display
* Difftastic now performs some work in parallel!
A deep dive on ABI design tradeoffs, and how Swift approached the problems in this space;
https://gankra.github.io/blah/swift-abi/
(Compared with C++/Rust, it avoids monomorphisation and does more boxing, with attention to details that affect performance)
The examples coverage in Rust is exceptionally good. It's weird how few languages include an example in their stdlib docs for sorting.
I'm trying to factor out the interior mutability in my Rust code. It's a little more verbose, but surprisingly readable.
foo_old(&syntax);
foo_new(&syntax, &mut change_map);
Signatures are way more self-documenting with this approach.
Showing 751-765 of 7,549 posts





