frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Algebraic Effects: Another mistake carried through to perfection?

https://kjosib.github.io/Counterpoint/effects.html
29•todsacerdoti•7mo ago

Comments

smitty1e•7mo ago
> sweet careers are made of this, so who am I to disagree? Compile the world; Java Python C. Everybody’s looking for some bug. Some of them want to maintain you. Some of them want to be maintained.

For those missing the reference:

https://youtu.be/qeMFqkcPYcg?si=at-YtggekbPdv7sN

voxl•7mo ago
The desire of the HN community to pull a random person's uninformed opinion about a topic that they, justifiably, wrote for their own interests and amusement and then pontificate about how either stupid or amazing it is will never ceise to confuse me.

Effects on their own are a very active area of research and I would laugh behind a PL researchers back if they claimed it was a solved issue. Between Monads, call-by-push-value, and algebraic effects there is really no clear "how do people actually use this" answer.

But that's not the job of a PL researcher anyway, or a random software engineer for that matter. Sorry to say, the software engineer knows next to nothing about "the right way" to design language features that people want to use or enjoy using. If anything this should be an HCI person with a penchant for PL or vice versa.

eli_gottlieb•7mo ago
>Effects on their own are a very active area of research and I would laugh behind a PL researchers back if they claimed it was a solved issue. Between Monads, call-by-push-value, and algebraic effects there is really no clear "how do people actually use this" answer.

I can actually say that I used algebraic effects in my thesis for the section on semantics of a basic probabilistic programming language. It avoided talking about monads for my committee member who cared and honestly made for an easier implementation.

rednafi•7mo ago
> Sorry to say, the software engineer knows next to nothing about "the right way" to design language features that people want to use or enjoy using.

Sorry to say that many PL researchers live in their ivory tower and know next to nothing about things that people care about. One could say that it's not their job, their job is to write papers and get tenure. The number of FP enthusiasts versus the number of large, useful systems written in those languages is all the proof you need.

My statement is a vast generalization and is equally incorrect as the original one.

voxl•7mo ago
Anyone who uses words like "ivory tower" I know suffers more from jealousy and anti-intellectualiam than anything else. There is a reason Rust is the most loved programming language of modern times and it's not because they ignored the "ivory tower"
chownie•7mo ago
I had to stop and re-read this comment chain because I was sure this was satire
agentultra•7mo ago
There’s a certain amount of hubris to say, “I don’t know anything about this and you’re making a mistake.” It’s off putting and kills the whole rant.

I’ve heard opinions from smart people with lots of experience who say algebraic effects are not worth the squeeze. I’ve also heard some say that we should all be pushing the boundaries: they are the future.

So the matter doesn’t seem to be decided. Now isn’t the time for maxims.

gitroom•7mo ago
Every time I read stuff like this it just makes me laugh, I honestly never know who to listen to in these debates.
rednafi•7mo ago
Research doesn't work like that. I like the idea of separating contract and implementation in algebraic effects. It might pave the way to bring back some sanity to imperative languages and help us write better code, since it's pretty clear that the "real world" doesn't care much about pure functional languages no matter what they bring to the table. Or algebraic effects could be like monads, many like to talk about them while people building real stuff have no clue about it, nor do they care. But we'll never know unless we explore.
lambdas•7mo ago
To which implementation is the author referring, I wonder?

I can’t say I recognise any of these issues from freer, polysemy, nor bluefin.

chriswarbo•7mo ago
The author says the approach they advocate (just using function parameters) is similar to "dependency injection". It looks like in FP/objects-are-a-poor-man's-closures terminology they're talking about Continuation Passing Style (CPS).

Show HN: I worked on a sci-fi book for the 2025

https://docs.google.com/document/d/1MvqSpZYA51CDVU0UVeAsA-Y1Q-MVw9wq/edit
1•a1371•1m ago•0 comments

LocalGhost Manifesto: Local-first AI before the defaults ship

https://www.localghost.ai/manifesto
1•zerocool86•2m ago•1 comments

Working with People Is Less Random Than I Thought

https://withxin.substack.com/p/learning-to-meet-people-where-they
1•xincodes•5m ago•0 comments

Early Penguins Had Long, Dagger-Like Beaks for Skewering Fish, Fossils Reveal

https://www.smithsonianmag.com/smart-news/early-penguins-had-long-dagger-like-beaks-for-skewering...
1•noleary•7m ago•0 comments

Rectal oxygenation could save your life one day

https://hackaday.com/2025/12/31/rectal-oxygenation-could-save-your-life-one-day/
2•marbartolome•10m ago•0 comments

Why Prefer Textfiles? (2010)

http://textfiles.com/uploads/textfiles.txt
1•kmstout•12m ago•0 comments

The Watcher of Westfield, New Jersey

https://en.wikipedia.org/wiki/The_Watcher_of_Westfield,_New_Jersey
1•doener•14m ago•0 comments

Brewing the perfect cup – Grinding out the maths behind coffee

https://www.ul.ie/node/11387
1•austinallegro•15m ago•0 comments

The Ridiculous Engineering of the World's Most Important Machine [video]

https://www.youtube.com/watch?v=MiUHjLxm3V0
1•choult•15m ago•0 comments

Tell HN: X/Twitter is now removing the chronological timeline

1•bratao•18m ago•0 comments

TOMLDecoder Is Now Faster Than C (Thanks to AI)

https://duan.ca/2026/01/01/TOMLDecoder-Is-Faster-Than-C/
2•DaNmarner•19m ago•1 comments

Some of your cells are not genetically yours

https://www.nature.com/articles/d41586-025-04102-4
2•jnord•21m ago•0 comments

The Angry Path to Zen: AMD Zen Microcode Tools and Insights [video]

https://media.ccc.de/v/39c3-the-angry-path-to-zen-amd-zen-microcode-tools-and-insights
2•Fnoord•22m ago•0 comments

Americans brace to start new year without healthcare

https://www.bbc.com/news/articles/c98n8lrj7y6o
3•dabinat•22m ago•1 comments

"This website is insane" (stack explained) [video]

https://www.youtube.com/watch?v=HzL65tTeANs
1•ls-a•24m ago•0 comments

Inside China's AI coders' 'village' (2 min video)

https://www.youtube.com/watch?v=ZM0um_Jk1sQ
1•rmason•28m ago•0 comments

Everything You Know About Fitness Is a Lie (2011)

https://www.mensjournal.com/health-fitness/everything-you-know-about-fitness-is-a-lie-20120504
2•dredmorbius•28m ago•2 comments

'Rock candy' technique offers simpler way to capture carbon directly from air

https://techxplore.com/news/2025-12-candy-technique-simpler-capture-carbon.html
1•PaulHoule•29m ago•0 comments

Ask HN: Who wants to be hired? (January 2026)

1•vednig•29m ago•2 comments

Show HN: A Better Kanban Tool

https://tasklanes.app
1•fcuk112•31m ago•0 comments

Show HN: Find High Quality Undervalued Stocks in Minutes

https://findgreatstocks.com/
1•finsummary•31m ago•0 comments

Lock In – A command-line task tracker that docks to the side of your screen

https://www.letslockin.xyz
1•TedOS•31m ago•1 comments

Ask HN: How do you pronounce the name of Anthropic's series of LLMs?

2•alexjplant•32m ago•1 comments

Ask HN: Who is hiring? (January 2026)

4•vednig•37m ago•1 comments

Show HN: ADSBee, an open source dual band embedded ADS-B receiver for anything

https://pantsforbirds.com/adsbee-1090/
3•CoolNamesAllTkn•38m ago•3 comments

LCP File System: Memory-Safe ZFS Alternative

https://github.com/artst3in/lcpfs
1•handfuloflight•41m ago•0 comments

Pickle 1: The first soul computer

https://pickle.com/
1•dmarcos•41m ago•0 comments

Irrational Dedication

https://fs.blog/irrational-dedication/
1•frizlab•41m ago•0 comments

Keeping Sane in the New Year

https://wordpress.jmcgowan.com/wp/keeping-sane-in-the-new-year/
1•NumberSix•42m ago•2 comments

The FBI Wants Al Surveillance Drones with Facial Recognition

https://theintercept.com/2025/11/21/fbi-ai-surveillance-drones-facial-recognition/
2•measurablefunc•42m ago•0 comments