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).

Intent-Driven Development

https://russellromney.com/blog/intent-driven-development
1•russellthehippo•41s ago•0 comments

An Update on Rust-Coreutils

https://discourse.ubuntu.com/t/an-update-on-rust-coreutils/80773
1•aragilar•1m ago•0 comments

Verynix, any version of any Nix package in one command

https://github.com/mipmip/verynix
1•mipselaer•3m ago•1 comments

The operating cost of adult and gambling startups

https://orchidfiles.com/stigma-is-a-tax-on-every-operational-decision/
1•theorchid•3m ago•0 comments

Intel's stock soars 20% as results top estimates, showing signs of growth

https://www.cnbc.com/2026/04/23/intel-intc-q1-2026-earnings-report.html
1•ahakki•4m ago•0 comments

New Report Reveals 98.4% of "Critical" ICS Vulnerabilities Never Been Weaponized

https://www.emberot.com/newsroom/ot-vulnerability-intelligence-report/
1•TheWiggles•5m ago•0 comments

London Underground Live

https://www.londonunderground.live/index.html
1•lastdong•8m ago•0 comments

AI Agents Under EU Law

https://arxiv.org/abs/2604.04604
1•Topfi•10m ago•0 comments

Show HN: Render-tag – A rich text renderer for the Canvas 2D API

https://github.com/polotno-project/render-tag
1•lavrton•11m ago•0 comments

Mercedes' Plan to Screw Car Headlights and More to Solve Repairability

https://carbuzz.com/mercedes-benz-next-generation-headlight-design/
1•toss1•12m ago•0 comments

Canadian AI Firm Cohere to Merge with Germany's Aleph Alpha

https://financialpost.com/technology/cohere-to-merge-german-ai-aleph-alpha
3•neom•12m ago•0 comments

Cosmos (Sagan Book)

https://en.wikipedia.org/wiki/Cosmos_(Sagan_book)
1•chistev•13m ago•0 comments

Crime Data Assistant: Chat assistant to answer crime questions with real data

https://nibrsai.com/
1•apwheele•15m ago•0 comments

"He Didn't Predict the War–He Cashed in on His Access."

https://yakreignited.substack.com/p/he-didnt-predict-the-warhe-cashed
1•__yak•17m ago•0 comments

Turning a Gaussian Splat into a Videogame

https://blog.playcanvas.com/turning-a-gaussian-splat-into-a-videogame/
2•Luc•17m ago•0 comments

Show HN: Atomic – Local-first, AI-augmented personal knowledge base

https://atomicapp.ai/
3•kenforthewin•23m ago•1 comments

Accelerating experimentation in brain and behavior research

https://usefusion.ai/blog/the-great-unlock
1•ogundipeore•24m ago•0 comments

Design handoff belongs in the bin

https://www.shaunbent.co.uk/blog/design-handoff-belongs-in-the-bin/
1•ShikariRazor•25m ago•0 comments

Aspartame is not that bad?

https://dynomight.net/aspartame/
3•pHequals7•32m ago•0 comments

Side-stepping the Secretary Problem, unwittingly

https://www.evalapply.org/posts/side-step-secretary-problem-hiring/index.html
1•pvdebbe•32m ago•0 comments

Giving AI Hands: How KDP Makes Infrastructure Agent-Ready

https://www.kubermatic.com/blog/giving-ai-hands-how-kdp-makes-infrastructure-agent-ready/
1•mstruebing•32m ago•0 comments

Every Trade Contract Needs These 12 Clauses

https://www.documentorium.com/blog/every-trade-contract-needs-these-12-clauses
1•documentorium•34m ago•0 comments

The monstrous number sequences that break the rules of mathematics

https://www.newscientist.com/article/2521354-the-monstrous-number-sequences-that-break-the-rules-...
1•ColinWright•39m ago•0 comments

GIMP at LGM2026: committee, grants, no-AI policy, and that GSoC thing

https://librearts.org/2026/04/gimp-at-lgm2026/
1•prokoudine•41m ago•0 comments

NTSB LaGuardia Aviation Investigation Preliminary Report

https://data.ntsb.gov/carol-repgen/api/Aviation/ReportMain/GenerateNewestReport/202674/pdf
3•tomalpha•43m ago•1 comments

Stack Trace for Distributed Systems

https://github.com/leandromoreira/distributed-stack-trace
1•dreampeppers99•43m ago•0 comments

This Robot Can Beat You at Table Tennis [video]

https://www.youtube.com/watch?v=EH8kZDc7OLk
1•mhb•44m ago•0 comments

When our 'local' journalist confronted Michael Jackson

https://mazharfarooqui.substack.com/p/the-night-i-didnt-know-i-was-confronting
2•Sam6late•45m ago•1 comments

Show HN: CSP Benchmarks – Go vs. core.async (Clojure) vs. libgoc (C)

https://github.com/libgoc/libgoc/blob/81798b3dd5e27d7f1e752b6cff0bdf3a95d381b7/bench/README.md
1•divs1210•45m ago•0 comments

Punctuated Decline of Human Cooperation

https://www.nature.com/articles/s41586-026-10380-3
2•bookofjoe•45m ago•0 comments