Paul Louth
banner
paullouth.bsky.social
Paul Louth
@paullouth.bsky.social
Founder of https://meddbase.com
Author of language-ext — FP framework for C#: https://github.com/louthy/language-ext
Notes from a Small Functional Island (blog): https://paullouth.com
Producer of house & techno

https://linktr.ee/louthy
You radicalised your cat into being a more extreme killer? How was supposed to achieve a reduction in predation?
December 11, 2025 at 11:23 AM
“You’re a tiger … Grrrrr”

Coogan’s greatest creation imho
December 10, 2025 at 11:59 AM
Author. Dreamweaver. Visionary. Plus actor.
December 8, 2025 at 10:26 AM
December 7, 2025 at 11:40 PM
I didn't have Fortran on my Fesshole Bingo Card 🤦
December 7, 2025 at 11:13 PM
I haven't done any benchmarking yet, just been building it over the past few days, seeing how far I can push the idea. It may well end up slower because I've effectively had to build a Parsec Virtual Machine!

TBC... 😁
December 7, 2025 at 6:38 PM
It's still WIP, but it was clear that it still allocates a bit too much really. Especially the transformer version. So, that's why I thought a 'to the metal' Parsec type that just works with ref-struct primitives could be the ideal pairing with the more powerful monad-transformer version.
December 7, 2025 at 6:35 PM
I'm currently building a clone of Haskell's Megaparsec for v5 of language-ext. I'm using the trait based approach to bring massive performance benefits + bespoke errors + lifting of other monads into its transformer structure.

github.com/louthy/langu...
language-ext/LanguageExt.Megaparsec at v5-megaparsec · louthy/language-ext
C# pure functional programming framework - come and get declarative! - louthy/language-ext
github.com
December 7, 2025 at 6:33 PM
I hadn't seen it, but it looks to be delegate based like my original LanguageExt.Parsec library. So, allocations are still a problem with that approach. Not that delegates can be removed completely (you at least need them for Map, Bind, and various token predicates).

github.com/louthy/langu...
language-ext/LanguageExt.Parsec at main · louthy/language-ext
C# pure functional programming framework - come and get declarative! - louthy/language-ext
github.com
December 7, 2025 at 6:31 PM
I might be on a hiding to nothing though, I've already discovered at least one C# compiler bug because of it! There's at least one way I can guarantee the code compiles, but the runtime throws type exceptions that shouldn't have gotten past the compiler.

Fun times! 😂
December 7, 2025 at 12:31 PM
I can't avoid allocations altogether, but I think I can reduce them substantially and potentially create a highly optimised loop that processes the core combinators from a ReadOnlySpan, therefore being stack friendly and cache friendly.
December 7, 2025 at 12:30 PM
Optimisation nerd here (history of 3D engine dev in the games industry and I learned coding in the 8-bit era). I'd done some stuff with ref structs and spans before, but small scale stuff, no full subsystems. I'm currently trying to make parser combinators work!

github.com/louthy/stack...
GitHub - louthy/stack-parsec-prototype: Attempt to build monadic parser combinators using just stack primitives (ref structs)
Attempt to build monadic parser combinators using just stack primitives (ref structs) - louthy/stack-parsec-prototype
github.com
December 7, 2025 at 12:27 PM
What if you're shouting "Don't need a fire extinguisher now, do ya, ya prick!?" as you drive past dousing the coworker with water? Then you can claim that you thought the coworker was on fire and that you were legitimately trying to save their life and were simply confirming through dialogue.
November 28, 2025 at 9:02 AM
Then shout “you don’t need a fire extinguisher now, do you?!”
November 28, 2025 at 8:46 AM
Cold hard shoulder?
November 28, 2025 at 8:43 AM
You need to escalate this further:
a person is walking down a street with a red umbrella
ALT: a person is walking down a street with a red umbrella
media.tenor.com
November 28, 2025 at 8:41 AM
Everyone knows. You’re supposed to walk on the left hand side on escalators.
November 26, 2025 at 9:22 PM
Or Indignitas, where they dress you up as a clown and push you out the window
November 21, 2025 at 2:18 PM
Sure, but London is easy, try Vietnam. You just have to start walking and hope for the best
November 6, 2025 at 10:28 PM
How did it smell?
October 26, 2025 at 4:04 PM
This wins the internet for today 🤣🤣🤣
October 26, 2025 at 1:47 PM
Comfortably bum
October 24, 2025 at 10:19 PM
One of the records was Pink Floyd - Division Bell (end)?
October 24, 2025 at 8:43 PM
I call myself a programmer even though I have been coding for 40 years and recently sold a tech company I was CTO at for 20 years . Secondly, the market for devs isn't as strong as you think it is.

"I was just doing my job" or "I just needed a salary" still isn't gonna fly in the Hague though.
October 17, 2025 at 12:48 PM