frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Compiler Reminders

https://jfmengels.net/compiler-reminders/
38•jfmengels1•11mo ago

Comments

JonChesterfield•11mo 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•11mo 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•11mo ago
That is a feature. Compose instead of extending.
Yoric•11mo ago
OCaml has extensible sum types. They work very nicely for some ranges of problems.
swiftcoder•11mo ago
Elm <-> Rust

Best buds on this front

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

JVM Options Explorer

https://chriswhocodes.com/vm-options-explorer.html
24•0x54MUR41•1h ago•6 comments

What have been the greatest intellectual achievements? (2017)

https://www.thinkingcomplete.com/2017/09/what-have-been-greatest-intellectual.html
15•o4c•1h ago•6 comments

An Interview with Pat Gelsinger

https://morethanmoore.substack.com/p/an-interview-with-pat-gelsinger-2026
50•zdw•2d ago•18 comments

The Miller Principle (2007)

https://puredanger.github.io/tech.puredanger.com/2007/07/11/miller-principle/
39•FelipeCortez•4d ago•29 comments

Apple update looks like Czech mate for locked-out iPhone user

https://www.theregister.com/2026/04/12/ios_passcode_bug/
179•OuterVale•3h ago•86 comments

Phyphox – Physical Experiments Using a Smartphone

https://phyphox.org/
31•_Microft•3h ago•10 comments

Tofolli gates are all you need

https://www.johndcook.com/blog/2026/04/06/tofolli-gates/
74•ibobev•5d ago•15 comments

How We Broke Top AI Agent Benchmarks: And What Comes Next

https://rdi.berkeley.edu/blog/trustworthy-benchmarks-cont/
400•Anon84•16h ago•99 comments

I run multiple $10K MRR companies on a $20/month tech stack

https://stevehanov.ca/blog/how-i-run-multiple-10k-mrr-companies-on-a-20month-tech-stack
294•tradertef•5h ago•207 comments

Small models also found the vulnerabilities that Mythos found

https://aisle.com/blog/ai-cybersecurity-after-mythos-the-jagged-frontier
1129•dominicq•19h ago•301 comments

The End of Eleventy

https://brennan.day/the-end-of-eleventy/
176•ValentineC•9h ago•129 comments

How Complex is my Code?

https://philodev.one/posts/2026-04-code-complexity/
133•speckx•5d ago•33 comments

Stewart Brand on How Progress Happens

https://www.newyorker.com/books/book-currents/stewart-brand-on-how-progress-happens
12•bookofjoe•4d ago•3 comments

447 TB/cm² at zero retention energy – atomic-scale memory on fluorographane

https://zenodo.org/records/19513269
221•iliatoli•15h ago•118 comments

Dark Castle

https://darkcastle.co.uk/
193•evo_9•15h ago•24 comments

Pijul a FOSS distributed version control system

https://pijul.org/
163•kouosi•5d ago•24 comments

Apple Silicon and Virtual Machines: Beating the 2 VM Limit (2023)

https://khronokernel.com/macos/2023/08/08/AS-VM.html
206•krackers•14h ago•143 comments

Network Flow Algorithms

https://www.networkflowalgs.com/
28•teleforce•5d ago•0 comments

Happy Map

https://pudding.cool/2026/02/happy-map/
5•surprisetalk•4d ago•0 comments

US appeals court declares 158-year-old home distilling ban unconstitutional

https://www.theguardian.com/law/2026/apr/11/appeals-court-ruling-home-distilling-ban-unconstituti...
183•Jimmc414•6h ago•153 comments

Advanced Mac Substitute is an API-level reimplementation of 1980s-era Mac OS

https://www.v68k.org/advanced-mac-substitute/
248•zdw•20h ago•62 comments

Cirrus Labs to join OpenAI

https://cirruslabs.org/
268•seekdeep•22h ago•129 comments

Show HN: Pardonned.com – A searchable database of US Pardons

440•vidluther•1d ago•241 comments

Surelock: Deadlock-Free Mutexes for Rust

https://notes.brooklynzelenka.com/Blog/Surelock
219•codetheweb•3d ago•71 comments

How to build a `Git diff` driver

https://www.jvt.me/posts/2026/04/11/how-git-diff-driver/
120•zdw•17h ago•12 comments

Why meaningful days look like nothing while you are living them

https://pilgrima.ge/p/the-grand-line
54•momentmaker•8h ago•38 comments

MiniMax M2.7 Is Now Open Source

https://firethering.com/minimax-m2-7-agentic-model/
77•steveharing1•1h ago•25 comments

Optimal Strategy for Connect 4

https://2swap.github.io/WeakC4/explanation/
297•marvinborner•3d ago•32 comments

What is a property?

https://alperenkeles.com/posts/what-is-a-property/
83•alpaylan•4d ago•23 comments

The Soul of an Old Machine

https://skalski.dev/the-soul-of-an-old-machine/
60•mskalski•4d ago•14 comments