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

Comments

smitty1e•9mo 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•9mo 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•9mo 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•9mo 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•9mo 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•9mo ago
I had to stop and re-read this comment chain because I was sure this was satire
agentultra•9mo 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•9mo 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•9mo 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•9mo 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•9mo 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 built an LSM storage engine from scratch in Rust

https://n8z.dev/posts/building-strata/
1•nlz•1m ago•0 comments

'Execution at sea': Was the Iranian ship sunk by US in the Indian Ocean unarmed?

https://www.thestatesman.com/india/execution-at-sea-was-iris-dena-iranian-frigate-sunk-by-us-in-t...
1•TheAlchemist•1m ago•0 comments

Getting Started with the Popover API

https://www.smashingmagazine.com/2026/03/getting-started-popover-api/
1•PaulHoule•2m ago•0 comments

ALT5 Digital Holdings Alternative Funding from World Liberty Financial

https://www.thecreditbubble.com/p/lotw-148-tokens-all-the-way-down
1•petethomas•3m ago•0 comments

Entanglement-assisted non-local optical interferometry in a quantum network

https://www.nature.com/articles/s41586-026-10171-w
1•bookofjoe•3m ago•0 comments

Beyond Slop

https://www.joelsimon.net/beyond-slop
1•joelS•3m ago•0 comments

Found a CVSS 10.0 bypass in Hugging Face's model scanner. We open-sourced ours

https://www.promptfoo.dev/blog/open-sourcing-modelaudit/
2•yashchhabria•4m ago•1 comments

BYD's Second-Generation Blade Battery Makes Western EV Tech Look Ancient

https://insideevs.com/news/789094/byd-second-generation-blade-battery/
2•nobody9999•4m ago•0 comments

I keep building projects nobody wants. So this time I'm doing it backwards

2•thefern•7m ago•0 comments

Amazon degraded shopping- you have to put in cart to see the price

3•talkingtab•8m ago•2 comments

Show HN: A user daemon to provide an age-bracketing API

https://github.com/danudey/aged
1•danudey•8m ago•0 comments

Show HN: Google A2A for Elixir with GenServer-like ergonomics

https://github.com/actioncard/a2a-elixir
1•maxekman•9m ago•0 comments

Century of Humiliation

https://en.wikipedia.org/wiki/Century_of_humiliation
1•mefengl•10m ago•0 comments

Modular: Structured Mojo Kernels

https://www.modular.com/blog/structured-mojo-kernels-part-1-peak-performance-half-the-code
2•tosh•11m ago•0 comments

Show HN: Museum Music

https://museummusic.samrawal.com/
1•zora_goron•13m ago•0 comments

Judges to AG: It's OK for the Gov't to Dox People, but Not the Other Way Around?

https://www.techdirt.com/2026/03/05/judges-to-ag-pam-bondi-its-ok-for-the-govt-to-dox-people-but-...
4•hn_acker•14m ago•2 comments

Show HN: Git Diff for Agentic Coding

https://github.com/msoedov/justshowmediff
1•alex_mia•14m ago•0 comments

'Our consciousness is under siege': On chatbots, social media and mental freedom

https://www.theguardian.com/wellness/2026/mar/05/michael-pollan-book-a-world-appears-consciousnes...
6•billybuckwheat•15m ago•0 comments

Show HN: History Snacks – explore 9k historical events by date

https://historysnacks.io/
1•dmujeeb•21m ago•0 comments

Pentagon Formally Labels Anthropic Supply-Chain Risk

https://www.wsj.com/politics/national-security/pentagon-formally-labels-anthropic-supply-chain-ri...
14•klausa•21m ago•0 comments

SpaceX launches rockets with Excel. Here's why we're trying to replace it

https://docs.synnaxlabs.com/blog/introducing-arc
4•embonilla•21m ago•1 comments

Show HN: DocMCP – Index any docs site locally, search it from Claude via MCP

1•pieeee•21m ago•0 comments

Section 230 Isn't the Problem: Debating the Law on the Majority Report

https://www.techdirt.com/2026/03/05/section-230-isnt-the-problem-debating-the-law-on-the-majority...
1•hn_acker•24m ago•0 comments

Let's Get Physical

https://m4iler.cloud/posts/lets-get-physical/
7•MBCook•25m ago•0 comments

How Iran is using cheap drones to cause chaos across the Middle East

https://www.bbc.co.uk/news/resources/idt-b3a272f0-3e10-4f95-9cd1-b34ab8ad033c
4•tartoran•26m ago•0 comments

What if it's World War III?

https://colinbeavan.substack.com/p/what-if-its-world-war-iii
3•ObiOnePierogi•27m ago•0 comments

ELife Fallout

https://nikomc.com/2026/03/05/elife-fallout/
1•mailyk•28m ago•0 comments

AI as the "New Air"

https://futurium.ec.europa.eu/en/apply-ai-alliance/posts/ai-new-air
2•dlidnl•29m ago•1 comments

GPT-5.4 Is the Best OpenAI Model for SRE That We've Seen on Our SRE Benchmark

https://twitter.com/LaurenceLiang1/status/2029633049906872705
1•larryll•31m ago•0 comments

Show HN: Arcane Agents – A visual control room for terminal AI agents

https://github.com/thomasrice/arcane-agents
1•damanamathos•31m ago•0 comments