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•1y ago

Comments

smitty1e•1y 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•1y 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•1y 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•1y 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•1y 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•1y ago
I had to stop and re-read this comment chain because I was sure this was satire
agentultra•1y 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•1y 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•1y 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•1y 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•1y 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: React-Rewrite – A visual editor for React that writes code, no LLM

https://github.com/donghaxkim/react-rewrite
1•donghaxkim•2m ago•0 comments

The Shrinking Synthesis: a 2037–2047 window for AI's institutional reformation

https://papers.ssrn.com/abstract=6731418
1•danielz-p•3m ago•0 comments

Show HN: Use Kimi and OpenAI Subscriptions in Claude Code

https://github.com/raine/claude-code-proxy
1•rane•3m ago•0 comments

Show HN: 500 years of Joseon court omens as an observability dashboard

https://ajin.im/is/building/omen.ops/
1•poppypetalmask•3m ago•0 comments

The Shell University

https://www.chronicle.com/article/the-shell-university
1•Michelangelo11•9m ago•1 comments

Grifters, cynics, and true believers: The family tree of vaccine opponents

https://arstechnica.com/science/2026/05/grifters-cynics-and-true-believers-the-family-tree-of-vac...
2•rbanffy•13m ago•0 comments

2D Particles sandbox using WebGPU

https://2sandbox.tulv.in/
1•atulvi•14m ago•0 comments

Bubbles: From "tronics" to "dot com" (1999)

https://www.forbes.com/1999/01/14/mu3.html
3•jumploops•14m ago•1 comments

Impossibly rare tropical bird swooped over California. Experts fear a trend

https://www.sfgate.com/california/article/rare-tropical-species-southern-california-22282620.php
2•c420•14m ago•0 comments

Show HN: leaf – one month later: website, releases and lots of improvements

https://leaf.rivolink.mg
1•RivoLink•17m ago•0 comments

Boston Mystery Boom

https://www.wcvb.com/article/did-you-feel-it-viewers-report-hearing-mystery-boom-across/71450011
2•benwhitehead21•19m ago•0 comments

Possible meteor/bolide atmospheric entry east of Boston

https://twitter.com/NStewWX/status/2060792766997655903
2•twoodfin•19m ago•0 comments

Meta is reportedly developing an AI pendant

https://techcrunch.com/2026/05/30/meta-is-reportedly-developing-an-ai-pendant/
2•rishikeshs•21m ago•0 comments

In Pursuit of Understanding the Crash in Me/CFS

https://likeannopeningbandforthesun.substack.com/p/in-pursuit-of-understanding-the-crash
1•brandonb•22m ago•0 comments

Fluid Fire Simulation Sandbox

https://www.escapemotions.com/experiments/fluid_fire_3/
2•Leftium•23m ago•0 comments

Development and validation of a digital biomarker for peripheral artery disease

https://www.nature.com/articles/s41746-026-02655-w
1•brandonb•23m ago•0 comments

Compare AI Model Pricing Across 9 Providers (385 Models)

https://silkdock.ai/rankings
3•aqib-public•23m ago•1 comments

Ernst & Young published cybersecurity report full of hallucinations

https://gptzero.me/investigations/ey
22•smartmic•24m ago•7 comments

Thiel moves family to Milei's libertarian Argentina

https://www.ft.com/content/3d7ab893-1842-4c6c-a3d9-26871d79dde4
3•mmarian•24m ago•1 comments

How Does Google Maps Work? [video]

https://www.youtube.com/watch?v=kS-CGkiPetQ
1•tacon•26m ago•0 comments

People Keep Damaging Garbage Trucks by Throwing Car Batteries in the Trash

https://www.thedrive.com/news/people-keep-throwing-away-car-batteries-in-dumpsters-and-thats-a-re...
3•01-_-•27m ago•0 comments

What the OSS Summit Says About OSS in 2026

https://redmonk.com/sogrady/2026/05/19/oss-summit-2026/
1•mooreds•28m ago•0 comments

United flight diverted to Wisconsin after passenger's attempts to breach cockpit

https://www.cnn.com/2026/05/30/us/united-airlines-unruly-passenger-wisconsin
2•mooreds•28m ago•1 comments

SoftBank pledges €75B to build Europe's biggest AI facility in France

https://www.ft.com/content/1022f9bd-5b6d-44a5-9303-c8b05b8c6463
2•bazzmt•28m ago•1 comments

Getting changes from FusionAuth theme updates

https://fusionauth.io/community/forum/topic/3105/getting-changes-from-theme-updates
1•mooreds•28m ago•0 comments

DHS says it's 'drawing up plans' to ban international arrivals at SFO

https://www.sfgate.com/travel/article/dhs-ban-international-arrival-sfo-22280740.php
4•consumer451•30m ago•2 comments

You don't have a willpower problem. You have a slot machine in your pocket

https://stvrrll1ght.substack.com/
2•maheenahmed•31m ago•0 comments

Cardiopulmonary Exercise Testing Explained for Regular People

https://likeannopeningbandforthesun.substack.com/p/cardiopulmonary-exercise-testing
1•brandonb•33m ago•0 comments

Huawei thanks US for restrictions that supercharged China semiconductor industry

https://www.tomshardware.com/tech-industry/huawei-chairman-thanks-the-us-for-supercharging-chinas...
3•dabinat•33m ago•0 comments

Don't Forget To Flush (2025) [video]

https://www.youtube.com/watch?v=f30PceqQWko
2•tosh•33m ago•0 comments