Inside Rust's std and parking_lot mutexes – who wins?
A teardown of Rust's mutex internals plus real benchmarks so you know when to choose std or parking_lot.
The latest blog posts to take off on Hacker News. 5,634 posts.
A teardown of Rust's mutex internals plus real benchmarks so you know when to choose std or parking_lot.
I am just really bored by Lisp Machine romantics at this point: they should go away. I expect they never will....
Trick question! Perl is not dead. I’ll show you what I mean, and then still answer what I think killed Perl.
TIL: `satisfies` is my favorite TypeScript keyword
I got it working with arrays and records, but couldn't make it work for regular objects.
We are pleased to announce the release of Ruby 4.0.0-preview2. Ruby 4.0 updates its Unicode version to 17,0.0, and so on.
I've started working on a new edition of Ruby Under a Microscope that covers Ruby 3.x. I'm working on this in my spare time, so it will take a while. Leave a comment or drop me a line and I'll email you when it's finished.
One of the first things any Rust programmer learns is that you can’t pass an object and a reference to that object around at the same time. It’s impossible to do, even indirectly. This limitation has been the subject of countless questions on Stack Overflow and posts on Reddit and the Rust forums and anywhere else…
Of course you want to design (and implement!) your own programming language! It’s fun. It’s creative. It’s empowering.
Happy Birthday, Go!
A modest mathematical framing of language
wingolog: article: the last couple years in v8's garbage collector
Optimizing compilers like to keep track of each IR instruction’s effects. An instruction’s effects vary wildly from having no effects at all, to writing a specific variable, to completely unknown (writing all state).
Announcing the release of .NET 10, the most productive, modern, secure, intelligent, and performant release of .NET yet. With updates across ASP.NET Core, C# 14, .NET MAUI, Aspire, and so much more.
Learn how we use macros to make it less painful to use Zig structs in C++ (and vice versa)
(From someone who has spent far too much time thinking about the designs of programming languages)
This is my Code BEAM Europe 2025 talk, converted to a blogpost.
I can’t think of any other language in my 45 years long career that surprised more than Zig . I can easily say that Zig is not only a new programming language, but it’s a totally new way to write programs, in my opinion. To say it’s merely a language to replace C or C++, it’s a huge understatement.
OCaml's type system catches state corruption at compile time. Type-safe SQL, automatic serialization, and immutability by default prevent entire categories of bugs.
If you’re already familiar with SIMD, the table is all you need. And if you’re not, you will understand the table by the end of the…
Smalltalk was the second major influence on Ruby's design. A different kind of influence, since almost nothing of Smalltalk's syntax made into Ruby. But many of the details of how objects work are directly inspired by Smalltalk, including the idea that every piece of data is part of the object system.
An "impossible" Ruby bug: Hashes becoming Strings at runtime. 2,700 identical crashes. No corruption. Just objects changing what they are. Deep dive.
I graduated last month, and my GSoC project along with my startup work finally wrapped up. To take a proper break and enjoy some deliberate...
Some time ago, I played around with decompiling Java class files in a more efficient manner than traditional solutions like Vineflower allow. Eventually, I wrote an article on my approach to decompiling control flow, which was a great performance boost for my prototype. At the time, I believed that this method can be…
are-dependent-types-actually-erased - Chad Nauseam Home
The neuroscience of why we make million dollar decisions based on identity, not data.
it's not working