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?

Felony Bench

https://www.felonybench.com/
658•colinprince•16h ago•262 comments

Rust Glancer: Rust LSP using 100x less RAM

https://rust-glancer.github.io/blog/hello-world/
132•matklad•11h ago•33 comments

Kobo can run apps now

https://bandarlabs.github.io/Cobalt/
509•thepoet•15h ago•178 comments

There's no reason for software to be slow anymore

https://danluu.com/perf-opt/
336•Jach•6h ago•245 comments

Optimizing meshoptimizer to process billions of triangles in minutes (2025)

https://zeux.io/2025/09/30/billions-of-triangles-in-minutes/
15•corysama•13h ago•0 comments

Felony charges for citizen deleting phone data at US Border

https://www.nytimes.com/2026/08/21/us/politics/samuel-tunick-deleted-phone-felony.html
733•floathub•19h ago•859 comments

Three important steps in my maturation process

https://thomasdullien.github.io/posts/2026-08-21-three-important-steps-in-my-maturation-process/
122•tdullien•9h ago•48 comments

Kagi added a setting for removing paywalled links from search results

https://kagi.com/changelog#11296
1094•speckx•17h ago•359 comments

Zig’s io.threaded is neat

https://matklad.github.io/2026/08/06/neat-io-threaded.html
51•chilipepperhott•17h ago•14 comments

I accidentally logged hundreds of thousands of phone calls to military bases

https://lina.sh/blog/hijacking-e164-arpa
519•gavide•18h ago•58 comments

Scientists release biggest 2D map of the universe

https://newscenter.lbl.gov/2026/08/10/scientists-release-biggest-2d-map-of-the-universe/
187•NKosmatos•13h ago•55 comments

OTel isn’t going well

https://matduggan.com/otel-isnt-going-well-and-i-made-a-spreadsheet-about-it/
96•hn_acker•13h ago•34 comments

AI boosted homework scores, then exam scores dropped: study

https://www.economist.com/graphic-detail/2026/08/18/does-ai-stop-children-from-learning
294•dash2•3d ago•310 comments

Initial focus for our partnership with Motorola is a regular non-folding device

https://grapheneos.social/@GrapheneOS/117136278553665985
102•Cider9986•6h ago•32 comments

Stop Making TUIs

https://sockpuppet.org/blog/2026/08/20/stop-making-tuis/
97•underdeserver•1d ago•163 comments

People of ACM – Russ Cox

https://www.acm.org/articles/people-of-acm/2026/russ-cox
126•signa11•5d ago•13 comments

A revisit of remote Spectre attacks on Cloudflare Workers

https://blog.cloudflare.com/revisiting-spectre-attacks-on-workers/
45•albertpedersen•2d ago•0 comments

Show HN: OzBrain, a shared brain for knowledge between agents and your team

https://ozbrain.com
65•dariusmonsef•8h ago•36 comments

Early-life stress leaves a 'scar' inside brain cells in mice

https://medicine.washu.edu/news/how-early-life-stress-leaves-a-scar-inside-brain-cells/
82•gmays•1d ago•29 comments

Canada will match US tariffs 'dollar for dollar' as trade talks break down

https://www.bbc.com/news/articles/cvgvyy4x2mvo
28•tartoran•1h ago•3 comments

Claudette: Make Claude stop talking like a BuzzFeed article

https://github.com/adnanakil/nobuzz/blob/main/README.md
251•aakil•17h ago•173 comments

New Worlds: We are living in the future of J.G. Ballard or William Gibson

https://precastreinforced.co.uk/2026/08/16/new-worlds/
232•speckx•18h ago•164 comments

I'm becoming AI-blind

https://cymerys.com/w/im-becoming-ai-blind
340•rcymerys•19h ago•349 comments

How we made a text-to-speech model respond in sub-50 ms

https://nari-labs.com/blog/qwen3-tts-speed-cost-frontier/
137•toebee•15h ago•33 comments

HN: The Good Parts (2016)

https://danluu.com/hn-comments/
40•adletbalzhanov•7h ago•8 comments

Everyone says assembly is untyped—everyone is wrong

https://www.gingerbill.org/article/2026/08/20/designing-odins-inline-asm/
69•adamrezich•1d ago•25 comments

SalesPatriot (YC W25) Is Hiring Forward Deployed Engineers

https://www.ycombinator.com/companies/salespatriot/jobs/M46X6YX-forward-deployed-engineer
1•maciejSz•10h ago

A look under our trunk: what's in our compute

https://waymo.com/blog/2026/08/look-under-our-trunk/
121•ra7•1d ago•67 comments

The coolest anti-surveillance tools at Defcon [video]

https://www.youtube.com/watch?v=-2uAsJ5EPAw
191•neom•3d ago•26 comments

Ozone: The fault is not in our trees, but in ourselves

https://www.science.org/content/blog-post/fault-not-our-trees-ourselves
23•gumby•1d ago•1 comments