frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

RE#: how we built the fastest regex engine in F#

https://iev.ee/blog/resharp-how-we-built-the-fastest-regex-in-fsharp/
57•exceptione•2d ago

Comments

sourcegrift•2h ago
I've had nothing but great experience with F#. If it wasn't associated with Microsoft, it'd be more popular than haskell
raincole•1h ago
I think if it weren't a 'first class' member of .NET ecosystem[0], no one would know F#. After all Haskell and Ocaml already exist.

[0]: my very charitable take, as MS obviously cares C# much much more than F#.

pjmlp•41m ago
Management has always behaved as if they repent having added F# to VS 2010, at least it hasn't yet suffered the same stagnation as VB, even C++/CLI was updated to C++20 (minus modules).

In any case, those of us that don't have issues with .NET, or Java (also cool to hate these days), get to play with F# and Scala, and feel no need to be amazed with Rust's type system inherited from ML languages.

It is yet another "Rust but with GC" that every couple of months pops up in some forums.

lynx97•1h ago
You realize that Microsoft Research employed Simon for many many years?
dude250711•1h ago
> ...it'd be more popular than haskell

https://steve-yegge.blogspot.com/2010/12/haskell-researchers...

sourcegrift•1h ago
> But they all just skip the press releases and go straight to the not using it part

Lol

brabel•23m ago
Did they ever get the full extra person who gives a shit?
anentropic•1h ago
Fantastic stuff!

FYI some code snippets are unreadable in 'light mode' ("what substrings does the regex (a|ab)+ match in the following input?")

ieviev•43m ago
ah thank you for letting me know, fixed it now!
sourcegrift•54m ago
Obligatory: Hitler reacts to functional programming

https://m.youtube.com/watch?v=ADqLBc1vFwI

balakk•51m ago
Finally, an article about humans programming some computers. Thank you!
gbacon•48m ago
That’s beautiful work. Check out other examples in the interactive web app:

https://ieviev.github.io/resharp-webapp/

Back in the Usenet days, questions came up all the time about matching substrings that do not contain whatever. It’s technically possible without an explicit NOT operator because regular languages are closed under complement — along with union, intersection, Kleene star, etc. — but a bear to get right by hand for even simple cases.

Unbounded lookarounds without performance penalty at search time are an exciting feature too.

agnishom•35m ago
The author mentions that they found Mamouras et al. (POPL 2024), but not the associated implementation. While the Rust implementation is not public, a Haskell implementation can be found here: https://github.com/Agnishom/lregex
andriamanitra•30m ago
This is very interesting. I'm a bit skeptical about the benchmarks / performance claims because they seem almost too good to be true but even just the extended operators alone are a nice improvement over existing regex engines.

The post mentions they also have a native library implemented in Rust without dependencies but I couldn't find a link to it. Is that available somewhere? I would love to try it out in some of my projects but I don't use .NET so the NuGET package is of no use to me.

noelwelsh•28m ago
I love regular expression derivatives. One neat thing about regular expression derivatives is they are continuation-passing style for regular expressions. The derivative is "what to do next" after seeing a character, which is the continuation of the re. It's a nice conceptual connection if you're into programming language theory.

Low-key hate the lack of capitalization on the blog, which made me stumble over every sentence start. Great blog post a bit marred by unnecessary divergence from standard written English.

Motorola GrapheneOS devices will be bootloader unlockable/relockable

https://grapheneos.social/@GrapheneOS/116160393783585567
871•pabs3•11h ago•311 comments

RFC 9849. TLS Encrypted Client Hello

https://www.rfc-editor.org/rfc/rfc9849.html
129•P_qRs•5h ago•64 comments

Agentic Engineering Patterns

https://simonwillison.net/guides/agentic-engineering-patterns/
229•r4um•7h ago•108 comments

RE#: how we built the fastest regex engine in F#

https://iev.ee/blog/resharp-how-we-built-the-fastest-regex-in-fsharp/
57•exceptione•2d ago•15 comments

Nobody Gets Promoted for Simplicity

https://terriblesoftware.org/2026/03/03/nobody-gets-promoted-for-simplicity/
12•aamederen•1h ago•4 comments

Better JIT for Postgres

https://github.com/vladich/pg_jitter
85•vladich•6h ago•34 comments

A CPU that runs entirely on GPU

https://github.com/robertcprice/nCPU
134•cypres•8h ago•61 comments

Jiga (YC W21) Is Hiring

https://jiga.io/about-us
1•grmmph•56m ago

Bet on German Train Delays

https://bahn.bet
116•indiantinker•3h ago•85 comments

MacBook Pro with M5 Pro and M5 Max

https://www.apple.com/newsroom/2026/03/apple-introduces-macbook-pro-with-all-new-m5-pro-and-m5-max/
812•scrlk•22h ago•873 comments

Graphics Programming Resources

https://develop--gpvm-website.netlify.app/resources/
121•abetusk•10h ago•12 comments

Show HN: Stacked Game of Life

https://stacked-game-of-life.koenvangilst.nl/
55•vnglst•3d ago•12 comments

Show HN: I made a zero-copy coroutine tracer to find my scheduler's lost wakeups

https://github.com/lixiasky-back/coroTracer
22•lixiasky•1d ago•0 comments

Claude's Cycles [pdf]

https://www-cs-faculty.stanford.edu/~knuth/papers/claude-cycles.pdf
663•fs123•1d ago•285 comments

Iran war wreaking havoc on shipping and air cargo, could create global delays

https://www.theregister.com/2026/03/02/iran_war_tech_supply_chain/
14•Bender•35m ago•2 comments

On the Design of Programming Languages (1974) [pdf]

https://web.cs.ucdavis.edu/~su/teaching/ecs240-w17/readings/PLHistoryGoodDesign.PDF
55•jruohonen•3d ago•12 comments

Users fume over Outlook.com email 'carnage'

https://www.theregister.com/2026/03/04/users_fume_at_outlookcom_email/
44•Bender•1h ago•32 comments

Voxile: A ray-traced game made in its own engine and programming language

https://elbowgreasegames.substack.com/p/voxray-games-pushes-major-update
218•spacemarine1•15h ago•62 comments

Elevator Saga: The elevator programming game (2015)

https://play.elevatorsaga.com/index.html
13•xmprt•3d ago•0 comments

Modern Illustration: Archive of illustration from c.1950-1975

https://www.modernillustration.org
7•eustoria•3d ago•0 comments

Weave – A language aware merge algorithm based on entities

https://github.com/Ataraxy-Labs/weave
143•rs545837•11h ago•88 comments

Textadept

https://orbitalquark.github.io/textadept/
156•giancarlostoro•3d ago•28 comments

My spicy take on vibe coding for PMs

https://www.ddmckinnon.com/2026/02/11/my-%f0%9f%8c%b6-take-on-vibe-coding-for-pms/
128•dmckinno•13h ago•126 comments

Indefinite Book Club Hiatus

https://whatever.scalzi.com/2026/03/03/indefinite-book-club-hiatus/
57•cdrnsf•8h ago•28 comments

When AI writes the software, who verifies it?

https://leodemoura.github.io/blog/2026/02/28/when-ai-writes-the-worlds-software.html
256•todsacerdoti•20h ago•262 comments

Reverse-Engineering the Wetware: Spiking Networks and the End of Matrix Math

https://metaduck.com/reverse-engineering-the-wetware-spiking-networks-td-errors-and-the-end-of-ma...
29•pgte•2d ago•11 comments

TikTok will not introduce end-to-end encryption, saying it makes users less safe

https://www.bbc.com/news/articles/cly2m5e5ke4o
281•1659447091•11h ago•271 comments

Speculative Speculative Decoding (SSD)

https://arxiv.org/abs/2603.03251
51•E-Reverance•9h ago•9 comments

You can use newline characters in URLs

https://lemire.me/blog/2026/02/28/you-can-use-newline-characters-in-urls/
93•chmaynard•3d ago•40 comments

Launch HN: Cekura (YC F24) – Testing and monitoring for voice and chat AI agents

86•atarus•22h ago•20 comments