frontpage.
newsnewestaskshowjobs

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?

Watch Los Angeles get built, one building at a time (1880–2026)

https://lax-skyline.parcelscope.net/
33•rustywasm•34m ago•8 comments

bzip3

https://github.com/iczelia/bzip3
289•tosh•5h ago•82 comments

Keep Our Servers Running

https://blog.archive.org/2026/09/01/keep-our-servers-running-your-recurring-donation-goes-3x-this...
865•sonicrocketman•15h ago•214 comments

Simple Is Not Small

https://jyn.dev/simple-is-not-the-same-as-small/
116•zdw•3d ago•38 comments

Caltech Mathathon – first hackathon ever devoted to research level mathematics

https://mathathonchallenge.com/index.html
175•astroanax•9h ago•51 comments

PostgreSQL 19 Interactive Tour

https://victoriametrics.com/blog/postgres-19/index.html
48•valyala•2h ago•9 comments

No constitutional right to clean water, federal court finds

https://www.usatoday.com/story/news/nation/2026/09/07/court-constitution-right-clean-water/916494...
84•measurablefunc•1h ago•52 comments

The Dataflow Model Revisited

https://www.vldb.org/pvldb/volumes/19/paper/The%20Dataflow%20Model%20Revisited
49•scott_s•1d ago•10 comments

Decoding the NEC V20 Microcode

https://martypc.blogspot.com/2026/09/decoding-nec-v20-microcode.html
54•mariuz•3d ago•1 comments

C Is Not a Low-Level Language (2018)

https://queue.acm.org/doi/10.1145/3212477.3212479
58•tosh•3h ago•45 comments

Live map of public transport in Belgium

https://openbaarvervoerbelgie.be/
161•coinfused•10h ago•71 comments

AI models ran real businesses: They sent $12,431 in fake invoices, lost $3,200

https://www.bottlenecklabs.com/blog/benchmarking-7-autonomous-businesses
77•Areibman•1h ago•84 comments

216M Spy TVs – The LG Smart TV Problem [video]

https://www.youtube.com/watch?v=6IFVTcM28KA
170•treve•19h ago•550 comments

Show HN: HomeCat – Design your backyard office

https://myhomecat.com
3•dearilos•1h ago•0 comments

Whistle Synth

https://www.jefftk.com/p/whistle-synth-mac-app
36•luu•3d ago•10 comments

Speculative Decoding in vLLM on AMD GPUs

https://vllm.ai/blog/2026-08-23-speculative-decoding-amd-gpus
112•ankitg12•9h ago•40 comments

De-Brainrot Vacations

https://devz.cl/posts/i-spent-my-vacations-de-brainrotting/
426•DanielVZ•6h ago•175 comments

Smartphone makers don't bother to comply with EU repairability requirements

https://www.theregister.com/personal-tech/2026/09/07/smartphone-makers-dont-bother-to-comply-with...
239•mdp2021•7h ago•131 comments

Methods for Random Gradients

https://justinjay.wang/methods-for-random-gradients/
3•nickswalker•3d ago•0 comments

Impedance Matching (2017)

https://www.edge.org/response-detail/27238
68•muti•9h ago•22 comments

Splash-free urinals (2025)

https://academic.oup.com/pnasnexus/article/4/4/pgaf087/8098745?login=false
197•u1hcw9nx•6h ago•106 comments

Academia as a d-index measuring contest

https://kevinmunger.substack.com/p/introducing-the-k-index
10•surprisetalk•5d ago•0 comments

Ask HN: Fable hacked my piano, can I release the results?

266•jmpman•2d ago•146 comments

Making a Python interpreter in 1024 bytes

https://austinhenley.com/blog/python1024.html
302•azhenley•20h ago•101 comments

It took a year to ship WebAssembly in Anubis

https://anubis.techaro.lol/blog/2026/anubis-wasm/
344•xena•22h ago•178 comments

Ask HN: How do you manage skills files?

272•imadtaieber•23h ago•250 comments

Unified Arabic

https://worksthatwork.com/6/unified-arabic
106•spacebuffer•5d ago•41 comments

Bill Gates tries to install MovieMaker

https://www.techemails.com/p/bill-gates-tries-to-install-movie-maker
208•highfrequency•3h ago•139 comments

Show HN: Wg-admin – web UI for an existing WireGuard host

https://github.com/logimaxx/wg-admin
5•vsergione•2h ago•2 comments

GrapheneOS Overhauled Default Apps and Secure Clipboard

https://grapheneos.social/@GrapheneOS/117225539756835649
389•Cider9986•23h ago•245 comments