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?

Show HN: Getting GLM 5.2 running on my slow computer

https://github.com/JustVugg/colibri
491•vforno•21h ago•125 comments

EU Parliament greenlights Chat Control 1.0

https://www.patrick-breyer.de/en/eu-parliament-greenlights-chat-control-1-0-breyer-our-children-l...
1132•rapnie•18h ago•543 comments

Train sim created by just one person is being called the best ever made

https://kotaku.com/a-train-sim-created-by-just-one-person-is-being-called-the-best-ever-made-2000...
404•oumua_don17•4d ago•135 comments

Show HN: 18 Words

https://18words.com/
901•pompomsheep•16h ago•298 comments

GPT-5.6

https://openai.com/index/gpt-5-6/
1155•logickkk1•12h ago•824 comments

Apple Silicon Exec Explains Mac Mini AI Demand and On-Device Future

https://www.macrumors.com/2026/07/06/apple-silicon-exec-explains-mac-mini-ai-demand/
34•tosh•3d ago•10 comments

Study: "Mommy, do you love your phone more than me?"

https://www.frontiersin.org/journals/psychology/articles/10.3389/fpsyg.2026.1766665/full
57•hbcondo714•5h ago•16 comments

What Big Food Did to Ice Cream

https://medium.com/@dapscience/the-encrapification-of-store-bought-ice-cream-2da2d58ee0b9
37•speckx•1d ago•23 comments

Interview with Mitchell Hashimoto about Ghostty and Zig

https://alexalejandre.com/programming/interview-with-mitchell-hashimoto/
185•veqq•12h ago•73 comments

Postgres rewritten in Rust, now passing 100% of the Postgres regression tests

https://github.com/malisper/pgrust
500•SweetSoftPillow•23h ago•451 comments

Hy3

https://hy.tencent.com/research/hy3
425•andai•14h ago•88 comments

My Story of 3D Realms / Apogee Part I (2020)

https://joesiegler.blog/2020/11/my-story-of-apogee-3dr/
55•Michelangelo11•1w ago•2 comments

Life with Hazard Ratios

https://dynomight.net/hazard-ratios/
20•surprisetalk•3d ago•3 comments

Ben Bernanke Joins Anthropic Oversight Trust

https://www.anthropic.com/news/ben-bernanke
53•Jimmc414•2h ago•38 comments

No leap second will be introduced at the end of December 2026

https://datacenter.iers.org/data/latestVersion/bulletinC.txt
261•ChrisArchitect•15h ago•195 comments

The glass backbone: Why the Army's logistics will break in the next war

https://mwi.westpoint.edu/the-glass-backbone-why-the-armys-logistics-will-break-in-the-next-war/
339•baud147258•16h ago•418 comments

Triple Dragon Fractal (2020)

https://paulbourke.net/fractals/tripledragon/
33•nhatcher•3d ago•7 comments

A road to Lisp: Why Lisp

https://scotto.me/blog/2026-07-09-why-lisp/
158•silcoon•16h ago•132 comments

Build your own vulnerability harness

https://blog.cloudflare.com/build-your-own-vulnerability-harness/
28•ianrahman•4h ago•14 comments

Common prefix skipping, adaptive sort

http://smalldatum.blogspot.com/2026/01/common-prefix-skipping-adaptive-sort.html
5•theanonymousone•3d ago•0 comments

Why American ambulance rides are so expensive

https://davidoks.blog/p/why-american-ambulance-rides-are
150•jyunwai•7h ago•186 comments

Building a real-time AI tutor for 5-year-olds

https://www.ello.com/blog/teaching-a-child-in-1000-ms
67•catalinvoss•8h ago•103 comments

A possible future for Damn Interesting

https://www.damninteresting.com/a-possible-future/
261•mzur•14h ago•35 comments

Launch HN: Context.dev (YC S26) – API to get structured data from any website

https://www.context.dev
83•TheYahiaBakour•14h ago•60 comments

Girls just wanna have fast MPMC queues with bounded waiting

https://nahla.dev/blog/waitfree_queue/
147•EvgeniyZh•3d ago•30 comments

Muse Spark 1.1

https://ai.meta.com/blog/introducing-muse-spark-meta-model-api/
344•ot•15h ago•176 comments

Cache-Conscious Data Layout in Rust: Field Zoning, False Sharing, 128-Byte Rule

https://debasishg.github.io/blog/part1-cache-conscious-data-layout-in-rust/
17•eigenBasis•3d ago•9 comments

Patterncollider: Generate and explore quasiperiodic tiling patterns

https://github.com/aatishb/patterncollider
34•tobr•4d ago•1 comments

Buried Apple feature turns an iPhone into the perfect kids' dumb phone

https://www.wired.com/story/this-buried-apple-feature-turns-an-iphone-into-the-perfect-kids-dumb-...
308•PotatoNinja•3d ago•181 comments

Wildcard (YC W25) Is Hiring a Founding Engineer

https://www.ycombinator.com/companies/wildcard/jobs/ZSLVaaU-founding-engineer
1•kaushikmahorker•12h ago