frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Compiler Reminders

https://jfmengels.net/compiler-reminders/
38•jfmengels1•8mo ago

Comments

JonChesterfield•8mo 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•8mo 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•8mo ago
That is a feature. Compose instead of extending.
Yoric•8mo ago
OCaml has extensible sum types. They work very nicely for some ranges of problems.
swiftcoder•8mo ago
Elm <-> Rust

Best buds on this front

gitroom•8mo ago
Tbh, missing those checks in other languages bugs me so much - it's like why leave me hanging?

It's hard to justify Tahoe icons

https://tonsky.me/blog/tahoe-icons/
479•lylejantzi3rd•2h ago•216 comments

Databases in 2025: A Year in Review

https://www.cs.cmu.edu/~pavlo/blog/2026/01/2025-databases-retrospective.html
222•viveknathani_•6h ago•65 comments

Decorative Cryptography

https://www.dlp.rip/decorative-cryptography
116•todsacerdoti•5h ago•29 comments

A spider web unlike any seen before

https://www.nytimes.com/2025/11/08/science/biggest-spiderweb-sulfur-cave.html
132•juanplusjuan•6h ago•61 comments

Anna's Archive loses .org domain after surprise suspension

https://torrentfreak.com/annas-archive-loses-org-domain-after-surprise-suspension/
233•CTOSian•3h ago•81 comments

Show HN: Circuit Artist – Circuit simulator with propagation animation, rewind

https://github.com/lets-all-be-stupid-forever/circuit-artist
57•rafinha•4d ago•2 comments

Revisiting the original Roomba and its simple architecture

https://robotsinplainenglish.com/e/2025-12-27-roomba.html
56•ripe•2d ago•29 comments

Lessons from 14 years at Google

https://addyosmani.com/blog/21-lessons/
1372•cdrnsf•22h ago•601 comments

Cigarette smoke effect using shaders

https://garden.bradwoods.io/notes/javascript/three-js/shaders/shaders-103-smoke
9•bradwoodsio•2h ago•1 comments

Scientists Uncover the Universal Geometry of Geology (2020)

https://www.quantamagazine.org/scientists-uncover-the-universal-geometry-of-geology-20201119/
19•fanf2•4d ago•3 comments

The unbearable joy of sitting alone in a café

https://candost.blog/the-unbearable-joy-of-sitting-alone-in-a-cafe/
686•mooreds•23h ago•399 comments

Jensen: 'We've Done Our Country a Great Disservice' by Offshoring

https://www.barchart.com/story/news/36862423/weve-done-our-country-a-great-disservice-by-offshori...
9•alecco•49m ago•2 comments

Why does a least squares fit appear to have a bias when applied to simple data?

https://stats.stackexchange.com/questions/674129/why-does-a-linear-least-squares-fit-appear-to-ha...
266•azeemba•17h ago•71 comments

During Helene, I just wanted a plain text website

https://sparkbox.com/foundry/helene_and_mobile_web_performance
263•CqtGLRGcukpy•11h ago•147 comments

Street Fighter II, the World Warrier (2021)

https://fabiensanglard.net/sf2_warrier/
402•birdculture•23h ago•70 comments

I charged $18k for a Static HTML Page (2019)

https://idiallo.com/blog/18000-dollars-static-web-page
357•caminanteblanco•2d ago•87 comments

Baffling purple honey found only in North Carolina

https://www.bbc.com/travel/article/20250417-the-baffling-purple-honey-found-only-in-north-carolina
108•rmason•4d ago•29 comments

Show HN: Terminal UI for AWS

https://github.com/huseyinbabal/taws
337•huseyinbabal•17h ago•174 comments

Building a Rust-style static analyzer for C++ with AI

http://mpaxos.com/blog/rusty-cpp.html
79•shuaimu•8h ago•38 comments

Monads in C# (Part 2): Result

https://alexyorke.github.io/2025/09/13/monads-in-c-sharp-part-2-result/
39•polygot•3d ago•35 comments

Logos Language Guide: Compile English to Rust

https://logicaffeine.com/guide
46•tristenharr•4d ago•24 comments

3Duino helps you rapidly create interactive 3D-printed devices

https://blog.arduino.cc/2025/12/03/3duino-helps-you-rapidly-create-interactive-3d-printed-devices/
4•PaulHoule•4d ago•0 comments

Web development is fun again

https://ma.ttias.be/web-development-is-fun-again/
429•Mojah•22h ago•517 comments

Eurostar AI vulnerability: When a chatbot goes off the rails

https://www.pentestpartners.com/security-blog/eurostar-ai-vulnerability-when-a-chatbot-goes-off-t...
179•speckx•16h ago•44 comments

Show HN: An interactive guide to how browsers work

https://howbrowserswork.com/
255•krasun•22h ago•34 comments

Linear Address Spaces: Unsafe at any speed (2022)

https://queue.acm.org/detail.cfm?id=3534854
167•nithssh•5d ago•123 comments

How to translate a ROM: The mysteries of the game cartridge [video]

https://www.youtube.com/watch?v=XDg73E1n5-g
27•zdw•5d ago•0 comments

Six Harmless Bugs Lead to Remote Code Execution

https://mehmetince.net/the-story-of-a-perfect-exploit-chain-six-bugs-that-looked-harmless-until-t...
89•ozirus•3d ago•22 comments

Claude Code On-the-Go

https://granda.org/en/2026/01/02/claude-code-on-the-go/
368•todsacerdoti•18h ago•225 comments

Ask HN: Help with LLVM

29•kvthweatt•2d ago•8 comments