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•11mo ago

Comments

smitty1e•11mo 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•11mo 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•11mo 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•11mo 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•11mo 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•11mo ago
I had to stop and re-read this comment chain because I was sure this was satire
agentultra•11mo 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•11mo 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•11mo 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•11mo 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•11mo 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).

Tmux Display Popup

https://sean.taylormadetech.dev/2026/04/29/tmux-display-popup.html
1•speckx•2m ago•0 comments

Show HN: Council – Run Claude, Codex and Gemini against the same prompt

https://council.armstr.ng/
1•colinarms•3m ago•0 comments

I can't cancel GitHub Copilot

https://drewdevault.com/blog/I-cant-cancel-Copilot/
3•monkaiju•3m ago•0 comments

Show HN: I rebuilt my Twitter For You feed

1•sdan•5m ago•1 comments

Interactive Screen Saver App / Game – have fun – free for all –>

https://rogmash.neocities.org/
1•rogmash•6m ago•1 comments

Apple may take "several months" to catch up to Mac mini and Studio demand

https://arstechnica.com/gadgets/2026/05/apple-may-take-several-months-to-catch-up-to-mac-mini-and...
1•stalfosknight•9m ago•0 comments

Nearly Half of Wolves in Italy Are Now Part Dog

https://e360.yale.edu/digest/italy-wolf-dog-hybrids
1•speckx•10m ago•0 comments

Sandbox plumbing infrastructure for computer-use agents

https://www.tensorlake.ai/blog/building-sandboxes-for-computer-use
2•diptanu•14m ago•0 comments

Show HN: TimeWith – iOS app to track relationships with the people who matter

1•Mdtan•15m ago•0 comments

Cloud Skills Are Still Just Skills

https://vexjoy.com/posts/cloud-skills-are-still-just-skills/
1•AndyNemmity•15m ago•1 comments

What AI doesn't eat in SaaS

https://thefoundersdraft.substack.com/p/what-ai-doesnt-eat-in-saas
1•Aany1420•15m ago•0 comments

An open letter asking NHS England to keep its code open

https://keepthingsopen.com
11•tvararu•16m ago•0 comments

Coding Interview University

https://github.com/jwasham/coding-interview-university
2•marvel_boy•17m ago•0 comments

Confessions of a Millennial in Tech

https://www.elenaverna.com/p/confessions-of-a-millennial-in-tech
7•speckx•17m ago•0 comments

How did Banksy erect a statue in Central London?

https://www.bbc.co.uk/news/articles/cn4pvyw82exo
2•monooso•18m ago•0 comments

There's No Minimum Angel Check Size

https://zachholman.com/posts/minimum-angel-check
1•holman•18m ago•0 comments

New Lawsuit Against Roblox, Uber, Discord Re: Kidnapping, Assault

https://www.law.com/therecorder/2026/05/01/new-lawsuit-against-roblox-uber-discord-alleges-platfo...
2•1vuio0pswjnm7•18m ago•0 comments

Ask HN: Agents.md and linked files vs. discrete skills – what's your setup?

1•lepuski•20m ago•1 comments

Pro-Iran crew turns DDoS into shakedown as Ubuntu.com stays down

https://www.theregister.com/2026/05/01/canonical_confirms_ubuntu_infrastructure_under/
3•ndsipa_pomu•20m ago•0 comments

AMD Posts HDMI 2.1 FRL Patches for Their Amdgpu Linux Driver

https://www.phoronix.com/news/AMDGPU-HDMI-2.1-FRL-Patches
1•YakBizzarro•22m ago•0 comments

Spirit Airlines prepares to shut down as bailout talks stall

https://www.wsj.com/business/airlines/spirit-airlines-prepares-to-shut-down-as-rescue-deal-falls-...
2•jackconsidine•22m ago•0 comments

Memory Rot at Month Three: What I Wish I'd Built from the Start

https://dawn.sagemindai.io/memory-rot-at-month-three-what-i-wish-id-built-from-the-start/
1•SentientDawn•22m ago•0 comments

Show HN: Superkube - Rewriting Kubernetes in Rust

https://github.com/debarshibasak/superkube
7•debarshri•24m ago•1 comments

I'm Peter Roberts, immigration attorney who does work for YC and startups. AMA

3•proberts•25m ago•3 comments

Tokyo rent map: ¥79k gap between cheapest and priciest 1K (April 2026 data)

https://housingassist.com/blog/tokyo-rent-report-april-2026/
2•momentmaker•25m ago•0 comments

Show HN: Herald – Local-first terminal email client

https://herald-mail.app/
2•zoomacode•26m ago•1 comments

whohas – Command-line utility for cross-distro, cross-repository package search

https://github.com/whohas/whohas
8•peter_d_sherman•31m ago•3 comments

Beyond the Rabbit Hole: Conspiracism and the Quixotic Quest for "The Truth"

https://anessayeverymonth.substack.com/p/beyond-the-rabbit-hole
3•smcmurtry•31m ago•0 comments

Shapewelding

http://gurneyjourney.blogspot.com/2007/10/shape-welding.html
1•Michelangelo11•31m ago•0 comments

Experience: I died on my 44th birthday

https://www.theguardian.com/lifeandstyle/2026/may/01/experience-i-died-on-my-44th-birthday-assist...
3•Archelaos•31m ago•0 comments