New

The latest blog posts to take off on Hacker News. 3,824 posts.

Any topic
2023
701

Does Go Have Subtyping?

I’ve been noodling on a static type system for my current hobby language. To try to keep the language as simple as possible, I’m trying to see if I can live without subtyping. Since most of my programming experience is in object-oriented languages, I’ve been learning more about languages that lack—or at least claim to…

703

Please Pay for a Year of Nothing

This morning, two emails came in from Apple. The first was about the upcoming renewal of my yearly subscription to Disney+ and the second email was about the price increase of my Disney+ subscription from $79.99 to $109.99. It took me all of 10 seconds to think about it, but I canceled my subscription. It’s not really…

715

Higher quality random floats

Much has been written about how to generate random 64-bit integers; people might argue over which particular (CS)PRNG is best suited for a given task, but there is agreement on the general shape of the solution: keep some state around, and then extract 64 bits of randomness at a time, where each bit is equally likely…