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?

Small models also found the vulnerabilities that Mythos found

https://aisle.com/blog/ai-cybersecurity-after-mythos-the-jagged-frontier
1066•dominicq•16h ago•292 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
135•tradertef•2h ago•80 comments

The End of Eleventy

https://brennan.day/the-end-of-eleventy/
153•ValentineC•7h ago•108 comments

Tofolli gates are all you need

https://www.johndcook.com/blog/2026/04/06/tofolli-gates/
39•ibobev•4d ago•6 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...
131•Jimmc414•3h ago•92 comments

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

https://rdi.berkeley.edu/blog/trustworthy-benchmarks-cont/
366•Anon84•13h ago•93 comments

Anthropic silently downgraded cache TTL from 1h → 5M on March 6th

https://github.com/anthropics/claude-code/issues/46829
29•lsdmtme•3h ago•10 comments

How Complex is my Code?

https://philodev.one/posts/2026-04-code-complexity/
114•speckx•4d ago•25 comments

Simplest Hash Functions

https://purplesyringa.moe/blog/simplest-hash-functions/
42•ibobev•4d ago•34 comments

Dark Castle

https://darkcastle.co.uk/
180•evo_9•12h ago•23 comments

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

https://zenodo.org/records/19513269
210•iliatoli•12h ago•101 comments

Pijul a FOSS distributed version control system

https://pijul.org/
144•kouosi•4d ago•23 comments

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

https://khronokernel.com/macos/2023/08/08/AS-VM.html
200•krackers•12h ago•138 comments

An Interview with Pat Gelsinger

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

How a dancer with ALS used brainwaves to perform live

https://www.electronicspecifier.com/products/sensors/how-a-dancer-with-als-used-brainwaves-to-per...
38•1659447091•6h ago•8 comments

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

https://www.v68k.org/advanced-mac-substitute/
238•zdw•17h ago•61 comments

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

https://www.theregister.com/2026/04/12/ios_passcode_bug/
7•OuterVale•20m ago•0 comments

Cirrus Labs to join OpenAI

https://cirruslabs.org/
263•seekdeep•19h ago•126 comments

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

430•vidluther•1d ago•238 comments

Surelock: Deadlock-Free Mutexes for Rust

https://notes.brooklynzelenka.com/Blog/Surelock
211•codetheweb•3d ago•67 comments

How to build a `Git diff` driver

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

Why meaningful days look like nothing while you are living them

https://pilgrima.ge/p/the-grand-line
34•momentmaker•5h ago•20 comments

The Soul of an Old Machine

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

Software Preservation Group: C++ History Collection

https://softwarepreservation.computerhistory.org/c_plus_plus/
23•quuxplusone•7h ago•2 comments

High-Level Rust: Getting 80% of the Benefits with 20% of the Pain

https://hamy.xyz/blog/2026-01_high-level-rust
36•maxloh•9h ago•34 comments

What is a property?

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

Optimal Strategy for Connect 4

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

Network Flow Algorithms

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

Every plane you see in the sky – you can now follow it from the cockpit in 3D

https://flight-viz.com/cockpit.html?lat=40.64&lon=-73.78&alt=3000&hdg=220&spd=130&cs=DAL123
323•coolwulf•3d ago•60 comments

The Problem That Built an Industry

https://ajitem.com/blog/iron-core-part-1-the-problem-that-built-an-industry/
127•ShaggyHotDog•18h ago•44 comments