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?

Keys Not Included: recovering the signing keys for US driver's license barcodes

https://ryan.science/blog/keys-not-included
70•Ryan5453•1h ago•18 comments

Nvidia announces native GPU programming in Rust

https://developer.nvidia.com/blog/introducing-cuda-rust-two-tracks-for-writing-gpu-kernels/
463•nonmaskable•17h ago•162 comments

Training a 4B model to produce 81% faster query plans than Postgres

https://rohanbansal.com/qorl
458•polyphilz•10h ago•94 comments

Xiaomi Mimo 2.6 live post-training dashboard

https://mimo.xiaomi.com/rl/
335•krackers•8h ago•86 comments

Backups Aren't Simple

https://filipovski.net/2026/09/16/backups-arent-simple.html
146•afilipovski•8h ago•74 comments

Breaking the 1.58-bit Barrier for Ternary LLMs

https://arxiv.org/abs/2609.16338
167•matt_d•8h ago•22 comments

Small programming tricks

https://will-keleher.com/posts/small-programming-tricks-matter/
447•signa11•13h ago•199 comments

Developing provably correct Rust code with Verus

https://www.amazon.science/blog/developing-provably-correct-rust-code-with-verus
59•Betelbuddy•2d ago•9 comments

The engineering behind the US Strategic Petroleum Reserve

https://johnjwang.com/post/2026/09/15/engineering-behind-us-strategic-petroleum-reserve
155•johnjwang•1d ago•60 comments

A 32-year-old bug walks into a Telnet server

https://labs.watchtowr.com/a-32-year-old-bug-walks-into-a-telnet-server-gnu-inetutils-telnetd-cve...
15•paimapi•1d ago•2 comments

The Return of Sail Power: Cargo Ships Are Turning Back to the Wind

https://gcaptain.com/the-return-of-sail-power-cargo-ships-are-turning-back-to-the-wind/
46•gumby•4h ago•19 comments

OpenSpec – A lightweight and configurable AI spec framework

https://openspec.dev/
101•etoxin•5h ago•40 comments

The Painful Truth: The RAM Crisis Is Only Just the Beginning

https://www.madshrimps.be/news/the-painful-truth-the-ram-crisis-is-only-just-the-beginning/
46•perelin•1h ago•37 comments

AWS says it can't restore some data from mideast facilities struck by Iran

https://www.wsj.com/world/middle-east/aws-says-it-cant-restore-some-data-from-mideast-facilities-...
298•berkeleyjunk•1d ago•238 comments

Performance Improvements in .NET 11

https://devblogs.microsoft.com/dotnet/performance-improvements-in-net-11/
229•soheilpro•1d ago•40 comments

PCB is brought to you by Fable 5

https://a6mzero.com/posts/this-pcb-is-brought-to-you-by-fable-5/
50•jasonpeacock•2d ago•16 comments

Reversing Factorio's RNG

https://gegell.github.io/posts/factorio-rng/
169•jheitmann•4d ago•21 comments

HarnessTax: How Much Does the Harness Matter for Coding Agents?

https://harnesstax.github.io/
77•matt_d•6h ago•22 comments

Show HN: An e-ink frame that hears birds and draws them as 1800s illustrations

https://github.com/arnegiacomo/fugleramme
2120•arnemunthekaas•1d ago•240 comments

Part-human part-mouse brain developed in science breakthrough

https://www.bbc.com/news/articles/c60m3k28j81mo
14•marc__1•3h ago•12 comments

Japan's book scene is moving from bookstores to libraries

https://untranslatedjp.substack.com/p/japans-book-scene-is-quietly-moving
144•herbertl•4d ago•58 comments

Anecdotally, programmers dislike "reduce"

https://evanhahn.com/posts/2026-09-13-programmers-dislike-reduce/
118•vinhnx•2d ago•190 comments

Mapsnap: Automated Georeferencing for Historic Sanborn Insurance Maps

https://www.danvk.org/2026/09/10/mapsnap.html
12•evakhoury•1d ago•2 comments

Reverse-engineered Jev-like model

https://github.com/vinnylarouge/jevlike
99•rochansinha•10h ago•16 comments

Dream-RSI: Recursive Self-Improvement through Evolving Worlds

https://arxiv.org/abs/2609.14858
189•bananaflag•15h ago•49 comments

DeepSeek-v4.1 Flash: Pushing the Limits of KV Cache Compression

https://zartbot.github.io/blog/model_arch/dsv41flash_arch/en.html
75•mfiguiere•3h ago•7 comments

Anatomy of a Texture

https://agentlien.github.io/texture/
83•Agentlien•14h ago•14 comments

Hackers Got Inside a Flock Camera

https://www.wired.com/story/hackers-flock-camera-data-shows-how-system-works/
500•driverdan•15h ago•231 comments

Monsanto's Cruel, and Dangerous, Monopolization on American Farming (2008)

https://www.vanityfair.com/news/2008/05/monsanto200805
28•kamaraju•2h ago•12 comments

The DeepMind Institute

https://institute.deepmind.com/
158•vertigoruntime•14h ago•56 comments