frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

dotNET (OK, C#) gets union types

https://andrewlock.net/exploring-the-dotnet-11-preview-2-dotnet-gets-union-types/
34•ingve•1d ago

Comments

munchler•16m ago
F# leads the way and C# slowly catches up, as always. Yet for some reason, C# still gets all the mindshare.
hahn-kev•15m ago
I'm glad to finally see this making it's way into C#. Not so much because I want to use unions purely in C#. But because I want to be able to define them when interfacing with other languages.
Quarrelsome•15m ago
I mean yes, but also: uh-oh. I'm looking forward to reading some code that is even more confusing than the code I'm already reading.

Not entirely convinced that I see the usecase that makes up for the potential madness.

vips7L•11m ago
Union/sum types are generally a good thing. Even Java added them. They tend to be worth “the madness”. Now the rest of all the crazy C# features might be a different question.
dgellow•9m ago
What features do you see as crazy?
munchler•6m ago
Unions are simpler than subclasses and more powerful than enums, so the use cases are plentiful. This should reduce the proliferation of verbose class hierarchies in C#. Algebraic data types (i.e. records and unions) can usually express domain models much more succinctly than traditional OO.
moomin•13m ago
AFAICT, this means you won’t be able to define Either<string, string>, which is definitely a thing you sometimes want to do.
throw1234567891•5m ago
but can you define T1 and T2 of string, then use Either<T1, T2>?
le-mark•11m ago
I used to see some excitement around .net core several years ago. I haven’t heard or seen much in the wild. Is anyone using .net on systems other than windows nowadays?
dgellow•8m ago
It’s huge in the game dev world, with Unity and Godot. .net also had a reasonable community on mobile for a while thanks to Xamarin, but I cannot imagine that many people using it for new mobile projects in 2026 (outside of game dev I mean).

It’s a very decent language and runtime, I wish it had more market share in the startup world.

It's time to talk about my writerdeck

https://veronicaexplains.net/my-first-writerdeck/
133•hggh•2h ago•83 comments

dotNET (OK, C#) gets union types

https://andrewlock.net/exploring-the-dotnet-11-preview-2-dotnet-gets-union-types/
36•ingve•1d ago•16 comments

Software Engineering at the Tipping Point

https://io.google/2026/explore/workshop-2
12•michaelchisari•17m ago•6 comments

Pardon MIE?

https://ironpeak.be/blog/bypassing-apple-mie/
11•jiveturkey•49m ago•0 comments

On The <dl> (2021)

https://benmyers.dev/blog/on-the-dl/
312•ravenical•8h ago•98 comments

Texas woman arrested for Facebook post about town water quality

https://reclaimthenet.org/texas-woman-arrested-for-facebook-post-about-town-water-quality
440•abawany•3h ago•197 comments

Hengefinder: Finding When the Sun Aligns with Your Street

https://victoriaritvo.com/blog/hengefinder/
71•evakhoury•1d ago•17 comments

Reverse engineering circuitry in a Spacelab computer from 1980

https://www.righto.com/2026/05/reverse-engineering-spacelab-computer.html
66•elpocko•5h ago•5 comments

Green card seekers must leave U.S. to apply, Trump administration says

https://www.nytimes.com/2026/05/22/us/politics/green-card-changes-trump.html
277•tlhunter•23h ago•591 comments

z386: An Open-Source 80386 Built Around Original Microcode

https://nand2mario.github.io/posts/2026/z386/
96•wicket•7h ago•20 comments

80386 Microcode Disassembled

https://www.reenigne.org/blog/80386-microcode-disassembled/
193•nand2mario•9h ago•39 comments

My two-part desk setup

https://arslan.io/2025/11/18/my-two-part-desk-setup/
146•James72689•3d ago•95 comments

SpaceX launches Starship v3 rocket

https://www.space.com/space-exploration/launches-spacecraft/spacex-starship-v3-megarocket-first-t...
297•busymom0•21h ago•211 comments

PHP's Oddities

https://flowtwo.io/post/php%27s-oddities
78•thejoeflow•4d ago•83 comments

The Art of Money Getting

https://kk.org/cooltools/book-freak-210-the-art-of-money-getting/
145•dxs•8h ago•97 comments

Making Deep Learning Go Brrrr from First Principles (2022)

https://horace.io/brrr_intro.html
132•tosh•9h ago•49 comments

Italy Cancels Boeing Pegasus Order, Shifting to Airbus A330 MRTT

https://www.euronews.com/my-europe/2026/05/21/italy-moves-to-airbus-a330-tankers-in-major-nato-al...
195•embedding-shape•5h ago•62 comments

Project Glasswing: An Initial Update

https://www.anthropic.com/research/glasswing-initial-update
521•louiereederson•1d ago•305 comments

We made our filesystem 47× faster by deleting it

https://microsandbox.dev/blog/oci-filesystem-47x-faster
46•appcypher•4d ago•27 comments

- -dangerously-skip-reading-code

https://olano.dev/blog/dangerously-skip/
63•fagnerbrack•11h ago•78 comments

Kindle loyalists scramble as Amazon turns page on old e-readers

https://www.reuters.com/business/retail-consumer/kindle-loyalists-scramble-amazon-turns-page-old-...
84•cf100clunk•4d ago•83 comments

sp.h: Fixing C by giving it a high quality, ultra portable standard library

https://spader.zone/sp/
158•dboon•3d ago•149 comments

Shipping a laptop to a refugee camp in Uganda

https://notesbylex.com/shipping-a-laptop-to-a-refugee-camp-in-uganda
647•lexandstuff•23h ago•229 comments

Oura says it gets government demands for user data

https://this.weekinsecurity.com/oura-says-it-gets-government-demands-for-user-data-will-it-share-...
227•donohoe•7h ago•134 comments

Rubish: A Unix shell written in pure Ruby

https://github.com/amatsuda/rubish
156•winebarrel•14h ago•95 comments

Highest Random Weight in Elixir

https://jola.dev/posts/highest-random-weight-in-elixir
53•shintoist•2d ago•2 comments

Evaluating Spec CPU2026

https://chipsandcheese.com/p/evaluating-spec-cpu2026
18•zdw•5h ago•3 comments

Lisp in Vim (2019)

https://susam.net/lisp-in-vim.html
40•whent•6h ago•5 comments

Reflections on Building Forum Software

https://www.counting-stuff.com/reflections-on-building-forum-software/
11•sebg•2d ago•2 comments

Solving the “Zork” Mystery

https://www.dpolakovic.space/blogs/zork-part2
48•dpola•4d ago•18 comments