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?

For first time, a cell built from scratch grows and divides

https://www.quantamagazine.org/for-the-first-time-a-cell-built-from-scratch-grows-and-divides-202...
175•defrost•2h ago•46 comments

Announcing the release of Box3D, an open source 3D physics engine

https://box2d.org/posts/2026/06/announcing-box3d/
151•makepanic•4h ago•31 comments

Physical disc production ending in Jan 2028 for new games on PlayStation

https://blog.playstation.com/2026/07/01/physical-disc-production-ending-in-january-2028-for-new-g...
153•Tiberium•4h ago•195 comments

Monetization Gateway

https://blog.cloudflare.com/monetization-gateway/
67•soheilpro•2h ago•14 comments

Internal Combustion Engine

https://ciechanow.ski/internal-combustion-engine/
50•StefanBatory•3h ago•3 comments

Department of Commerce has lifted export controls on Claude Fable 5 and Mythos 5

https://twitter.com/AnthropicAI/status/2072106151890809341
838•Pragmata•16h ago•552 comments

Asahi Linux 7.1 Progress Report

https://asahilinux.org/2026/06/progress-report-7-1/
427•pantalaimon•6h ago•133 comments

Sony Deletes 551 Movies PlayStation Owners Paid For

https://reclaimthenet.org/sony-deletes-551-studiocanal-movies-playstation-owners-paid-for
141•bilsbie•1h ago•60 comments

Red Programming Language: Static linking support

https://www.red-lang.org/2026/06/static-linking-support.html
38•em-bee•1d ago•6 comments

Nintendo has raised its employees base salary by 10%

https://mynintendonews.com/2026/06/26/nintendo-has-raised-its-employees-base-salary-by-10/
341•_tk_•4h ago•172 comments

Launch HN: Parsewise (YC P25) – Reason Across Documents with an API

23•gergelycsegzi•2h ago•14 comments

Manufact (YC S25) Is Hiring a Developer Advocate in SF

https://www.ycombinator.com/companies/manufact/jobs/4cyWd6S-developer-advocate-partnerships-devrel
1•luigipederzani•3h ago

Reduce GVisor Cold Starts with GPU Snapshotting

https://cerebrium.ai/blog/reducing-gpu-cold-starts-with-memory-snapshots-restoring-cuda-workloads...
5•jono_irwin•6m ago•0 comments

Most arguments are about ego, not ideas

https://wangcong.org/2026-06-30-why-i-stopped-arguing-with-people.html
503•backlit4034•2h ago•388 comments

How We Made IPFS Content Publishing 10x Faster

https://probelab.io/blog/optimistic-provide/
8•dennis-tra•55m ago•0 comments

Newly discovered spider builds spring loaded snare to catch ants

https://phys.org/news/2026-06-newly-australian-ballista-spider-snare.html
194•chimpanzee•2d ago•42 comments

The C to Rust migration book

https://mainmatter.com/c-to-rust-migration-book/
16•LukeMathWalker•2h ago•7 comments

1-Bit Pixel Art Emojis

https://hypertalking.com/2023/05/15/1-bit-pixel-art-emojis/
31•surprisetalk•6d ago•4 comments

Claude Sonnet 5

https://www.anthropic.com/news/claude-sonnet-5
1215•marinesebastian•22h ago•751 comments

Obfuscation: Building the final boss of cryptography (Part I)

https://vitalik.eth.limo/general/2026/06/29/obfuscation1.html
63•fbrusch•1d ago•6 comments

ArXiv's Next Chapter

https://blog.arxiv.org/2026/06/30/arxivs-next-chapter/
232•subset•13h ago•70 comments

Meta loses bid to dismiss US states' claims that FB, Instagram addict children

https://www.reuters.com/legal/government/meta-loses-bid-dismiss-us-states-claims-that-facebook-in...
28•tartoran•45m ago•1 comments

Ray Tracer in SQL

https://github.com/ClickHouse/RayTracer
17•kbumsik•1h ago•2 comments

A deep dive into SmallVector:push_back

https://maskray.me/blog/2026-06-27-a-deep-dive-into-smallvector-push-back
27•mariuz•1d ago•6 comments

Compiler-Assisted Floating-Point Error Analysis and Profiling with FPChecker

https://fpanalysistools.org/ISC26/
23•matt_d•1d ago•3 comments

Google copybara: moving code between repositories

https://github.com/google/copybara
277•reconnecting•16h ago•54 comments

Show HN: GolemUI – The new paradigm for JavaScript forms

https://golemui.com
7•wtfdeveloper•1h ago•0 comments

Claude Code is steganographically marking requests

https://thereallo.dev/blog/claude-code-prompt-steganography
2316•kirushik•1d ago•692 comments

The first early human eggs from stem cells

https://www.conception.bio/science-and-updates/the-first-early-human-eggs-from-stem-cells
151•dsr12•11h ago•123 comments

A retrospective of my time on the internet

https://cleberg.net/blog/internet.html
226•felixdoerp•5h ago•220 comments