frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Compiler Reminders

https://jfmengels.net/compiler-reminders/
38•jfmengels1•1y ago

Comments

JonChesterfield•1y ago
Exhaustive compile time checking of dispatch statements is a wonderful thing, sorely missing from the languages that decided "sum types" are a bit weird and niche.
fredrikholm•1y ago
They make it near impossible to extend from the outside.

I can pass a Reader interface to your function, but I cannot (easily) add a

> | UnusualProtocol(Socket)

as a third party consumer.

Other than that, sum types are the better abstraction. With exhaustive first class pattern matching (eg. with proper matching on destructuring), nothing comes close in terms of ergonomics.

hermanradtke•1y ago
That is a feature. Compose instead of extending.
Yoric•1y ago
OCaml has extensible sum types. They work very nicely for some ranges of problems.
swiftcoder•1y ago
Elm <-> Rust

Best buds on this front

gitroom•1y ago
Tbh, missing those checks in other languages bugs me so much - it's like why leave me hanging?

Microsoft open-sources "the earliest DOS source code discovered to date"

https://arstechnica.com/gadgets/2026/04/microsoft-open-sources-the-earliest-dos-source-code-disco...
201•DamnInteresting•6h ago•40 comments

Why is Vivado 2026.1 dropping Linux support for free tier?

https://adaptivesupport.amd.com/s/question/0D5Pd00001YQLdMKAX/why-is-vivado-20261-dropping-linux-...
103•zdw•3h ago•18 comments

Scammers are abusing an internal Microsoft account to send spam links

https://techcrunch.com/2026/05/21/scammers-are-abusing-an-internal-microsoft-account-to-send-spam/
122•spike021•7h ago•36 comments

Wake up! 16b

https://hellmood.111mb.de/wake_up_16b_writeup.html
184•MaximilianEmel•7h ago•12 comments

Alexander Grothendieck Revolutionized 20th-Century Mathematics

https://www.quantamagazine.org/how-alexander-grothendieck-revolutionized-20th-century-mathematics...
45•anujbans•4h ago•8 comments

The C64 Dead Test Font

https://www.masswerk.at/nowgobang/2026/c64-dead-test-font
26•masswerk•3h ago•3 comments

Green card seekers must leave U.S. to apply, Trump administration says

https://www.nytimes.com/2026/05/22/us/politics/green-card-changes-trump.html
823•tlhunter•1d ago•1404 comments

Time to talk about my writerdeck

https://veronicaexplains.net/my-first-writerdeck/
361•hggh•13h ago•209 comments

Amazon Web Services – Four Years and Out

https://www.adventuresinoss.com/aws-four-years/
176•RyeCombinator•3h ago•45 comments

Converting an Integer to a Decimal String in Under Two Nanoseconds

https://onlinelibrary.wiley.com/doi/10.1002/spe.70079
8•mpweiher•4d ago•2 comments

On The <dl> (2021)

https://benmyers.dev/blog/on-the-dl/
383•ravenical•18h ago•110 comments

My two-part desk setup (2025)

https://arslan.io/2025/11/18/my-two-part-desk-setup/
274•James72689•3d ago•156 comments

Sales and Dungeons: Thermal printer TTRPG utility

https://sales-and-dungeons.app/
85•hyperific•2d ago•28 comments

Judson's Last Ride

https://www.realclearpolitics.com/articles/2026/05/22/judsons_last_ride_154150.html
91•NaOH•19h ago•4 comments

Neoclassical C++: segmented iterators revisited

https://boostedcpp.net/2026/05/18/neoclassical-c-segmented-iterators-revisited-1/
21•ibobev•1d ago•0 comments

My I3-Emacs Integration

https://khz.ac/software/i3-integration.html
60•nosolace•8h ago•12 comments

The Art of Money Getting

https://kk.org/cooltools/book-freak-210-the-art-of-money-getting/
269•dxs•19h ago•149 comments

'Fuck you, Bambu': How one private message could change the face of 3D printing

https://www.theverge.com/tech/931532/bambu-agpl-pawel-jarczak-open-source-threat-dmca-github
99•tambourine_man•3h ago•57 comments

Buildcraft Is a Compiler Problem

https://mitander.xyz/posts/buildcraft-is-a-compiler-problem/
15•mitander•1d ago•3 comments

The C++ Standard Library Has Been Walking Itself Back for Fifteen Years

https://hftuniversity.com/post/the-c-standard-library-has-been-walking-itself-back-for-fifteen-ye...
8•alexjurkiewicz•3h ago•3 comments

Hengefinder: Finding when the sun aligns with your street

https://victoriaritvo.com/blog/hengefinder/
137•evakhoury•1d ago•33 comments

Schlitz Is Gone, but First It's Getting One Last Hurrah

https://www.milwaukeemag.com/schlitz-is-gone/
26•NaOH•2d ago•11 comments

Byrne's Euclid

https://www.c82.net/euclid/
43•layer8•9h ago•12 comments

Reverse engineering circuitry in a Spacelab computer from 1980

https://www.righto.com/2026/05/reverse-engineering-spacelab-computer.html
101•elpocko•15h ago•21 comments

80386 microcode disassembled

https://www.reenigne.org/blog/80386-microcode-disassembled/
246•nand2mario•19h ago•46 comments

Air France and Airbus found guilty of manslaughter over 2009 plane crash

https://www.bbc.com/news/articles/czd2qmdvmq6o
74•baal80spam•11h ago•43 comments

New map reveals lost roads of the Roman Empire

https://www.scientificamerican.com/article/new-high-resolution-map-transforms-what-we-know-about-...
74•sohkamyung•3d ago•8 comments

.NET (OK, C#) finally gets union types

https://andrewlock.net/exploring-the-dotnet-11-preview-2-dotnet-gets-union-types/
186•ingve•1d ago•176 comments

Kindle loyalists scramble as Amazon turns page on old e-readers

https://www.reuters.com/business/retail-consumer/kindle-loyalists-scramble-amazon-turns-page-old-...
157•cf100clunk•4d ago•173 comments

Limerick

https://www.worldwidewords.org/surprise.html
8•jruohonen•2h ago•2 comments