frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Compiler Reminders

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

Comments

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

Best buds on this front

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

Brimstone: ES2025 JavaScript engine written in Rust

https://github.com/Hans-Halverson/brimstone
60•ivankra•3h ago•13 comments

Running the "Reflections on Trusting Trust" Compiler

https://research.swtch.com/nih
12•naves•56m ago•0 comments

AirPods libreated from Apple's ecosystem

https://github.com/kavishdevar/librepods
939•moonleay•14h ago•247 comments

Anthropic's report smells a lot like bullshit

https://djnn.sh/posts/anthropic-s-paper-smells-like-bullshit/
364•vxvxvx•3h ago•131 comments

The politics of purely client-side apps

https://pfrazee.leaflet.pub/3m5hwua4sh22v
8•birdculture•1h ago•1 comments

The Internet Is No Longer a Safe Haven

https://brainbaking.com/post/2025/10/the-internet-is-no-longer-a-safe-haven/
23•akyuu•1h ago•5 comments

Measuring the doppler shift of WWVB during a flight

https://greatscottgadgets.com/2025/10-31-receiving-wwvb-with-hackrf-pro/
23•Jyaif•1w ago•0 comments

Maybe you’re not trying

https://usefulfictions.substack.com/p/maybe-youre-not-actually-trying
205•eatitraw•4h ago•82 comments

My mum was a 17-year-old free spirit so she was locked up and put in a coma

https://www.bbc.co.uk/news/articles/cr43vx0rrwvo
38•binning•1h ago•10 comments

IDEmacs: A Visual Studio Code clone for Emacs

https://codeberg.org/IDEmacs/IDEmacs
245•nogajun•13h ago•94 comments

Run Nix Based Environments in Kubernetes

https://flox.dev/kubernetes/
62•kelseyhightower•5d ago•13 comments

UK's first small nuclear power station to be built in north Wales

https://www.bbc.com/news/articles/c051y3d7myzo
89•ksec•4h ago•106 comments

Things that aren't doing the thing

https://strangestloop.io/essays/things-that-arent-doing-the-thing
368•downboots•20h ago•178 comments

Writing a DOS Clone in 2019

https://medium.com/@andrewimm/writing-a-dos-clone-in-2019-70eac97ec3e1
42•shakna•1w ago•17 comments

In Praise of Useless Robots

https://thereader.mitpress.mit.edu/in-praise-of-useless-robots/
22•pseudolus•3d ago•7 comments

libwifi: an 802.11 frame parsing and generation library written in C (2023)

https://libwifi.so/
130•vitalnodo•16h ago•11 comments

Our investigation into the suspicious pressure on Archive.today

https://adguard-dns.io/en/blog/archive-today-adguard-dns-block-demand.html
1658•immibis•1d ago•407 comments

Blocking LLM crawlers without JavaScript

https://www.owl.is/blogg/blocking-crawlers-without-javascript/
164•todsacerdoti•15h ago•78 comments

Bypassing the Branch Predictor

https://nicula.xyz/2025/03/10/bypassing-the-branch-predictor.html
39•signa11•8h ago•18 comments

I don’t need a Steam Machine

https://brainbaking.com/post/2025/11/why-i-dont-need-a-steam-machine/
101•ingve•4h ago•159 comments

Boa: A standard-conforming embeddable JavaScript engine written in Rust

https://github.com/boa-dev/boa
249•maxloh•1w ago•67 comments

When did people favor composition over inheritance?

https://www.sicpers.info/2025/11/when-did-people-favor-composition-over-inheritance/
204•ingve•1w ago•158 comments

Linux on the Fujitsu Lifebook U729

https://borretti.me/article/linux-on-the-fujitsu-lifebook-u729
196•ibobev•23h ago•138 comments

The inconceivable types of Rust: How to make self-borrows safe (2024)

https://blog.polybdenum.com/2024/06/07/the-inconceivable-types-of-rust-how-to-make-self-borrows-s...
99•birdculture•15h ago•16 comments

Why use OpenBSD?

https://www.tumfatig.net/2025/why-are-you-still-using-openbsd/
54•akagusu•2h ago•42 comments

“The Fall of Icarus”: Photograph of a falling skydiver in front of the Sun

https://www.iflscience.com/the-fall-of-icarus-you-have-never-seen-an-astrophotography-picture-lik...
31•doener•3h ago•5 comments

AsciiMath

https://asciimath.org/
129•smartmic•17h ago•41 comments

Alchemy

https://joshcollinsworth.com/blog/alchemy
5•tobr•6d ago•2 comments

Transgenerational Epigenetic Inheritance: the story of learned avoidance

https://elifesciences.org/articles/109427
157•nabla9•20h ago•90 comments

An exposed .git folder let us dox a phishing campaign

53•spirovskib•5h ago•14 comments