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

Comments

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

He says U.S. troops abused him in Iraq's Abu Ghraib and his life is still ruined

https://www.npr.org/2023/04/11/1167341565/us-iraq-war-abu-ghraib-survivor
1•Cider9986•1m ago•0 comments

AI's Circular Psychosis

https://www.wheresyoured.at/premium-ais-circular-psychosis/
1•greedo•4m ago•0 comments

AI Hard Drive Shortage Making It More Expensive, Harder to Archive the Internet

https://www.404media.co/the-ai-hard-drive-shortage-is-making-it-more-expensive-and-harder-to-arch...
1•pabs3•5m ago•0 comments

Chamath Palihapitiya: What I Learned from Being Around the Top.01%

https://www.youtube.com/watch?v=RWqB9eAKMx0
1•Brysonbw•14m ago•0 comments

I built GitHub Store to 12,500 stars in 6 months – I started at 16

https://github-store.org/blog/how-i-built-github-store/
2•rainxchzed•20m ago•0 comments

I built a baremetal RustOS (O(1)allocator NVMeDMA ZeroTrust sandbox for AIAgents

https://github.com/joreag/polymorph_os
1•joreag•21m ago•0 comments

Software Sustainability Maturity Model (2013)

http://oss-watch.ac.uk/resources/ssmm
1•pabs3•21m ago•0 comments

Gemini went down with 1099 error

https://support.google.com/gemini/thread/431758595/1099-error?hl=en
1•nsoonhui•25m ago•0 comments

The Explorer Board a $99 Artix UltraScale+ FPGA Board from Adiuvo

https://explorerboard.tech/
1•signalhound•29m ago•0 comments

Remembering Planet Source Code: Sharing Code Before GitHub Made It Easy

https://www.pietschsoft.com/post/2026/05/05/remembering-planet-source-code-sharing-code-before-gi...
1•pabs3•30m ago•0 comments

Figure new humanoid robot demoing Bedroom Tidy

https://www.youtube.com/watch?v=8xEuFQz4E4A
1•zkjiang•30m ago•0 comments

Show HN: Nexa-gauge – Cache/cost-aware graph-based eval for LLM and RAG

https://github.com/harnexa/nexa-gauge
3•Sardhendu•42m ago•0 comments

Venom and Hot Peppers Offer a Key to Killing Resistant Bacteria

https://www.wired.com/story/mexican-science-transforms-scorpion-venom-and-habanero-chile-into-ant...
1•littlexsparkee•45m ago•1 comments

People Hate AI Art

https://mccue.dev/pages/5-8-26-ai-art
4•3dedb728-3f77•47m ago•0 comments

Accelerator Applicant's AI System Makes Faux Pau; Critical of Accelerator Model

https://news.novonavis.com/news/intel_080526_2297
1•capagg•49m ago•1 comments

Show HN: Launch and Run Companies on Autopilot

https://lakyus.com/live
1•edonnie•51m ago•1 comments

Claude FM music for thinking and building [video]

https://www.youtube.com/watch?v=AUQKjgKQF7w
2•davidk42•51m ago•0 comments

CVE-2026-7413: Persistent undocumented backdoor access with Yarbo

https://takeonme.org/cves/cve-2026-7413/
2•shakna•52m ago•0 comments

AI Canasta Scoring App

https://canastascore.com/
1•alohaplannerapp•54m ago•0 comments

Playing Around with OpenAI's GPT Realtime Voice API

https://nathancooper.io/blog/2026-05-08-gpt-realtime-audio
2•coop57•57m ago•0 comments

Show HN: AI-native tech assessments (end of LeetCode)

https://www.openround.ai/
2•vetted_so•59m ago•1 comments

The Big Engine That Could

https://medium.com/human-offset/the-big-engine-that-could-de152076bb82
1•gdessau•1h ago•0 comments

Archive.today Reverts to Monero-Only Donations

https://archive.fo
1•Cider9986•1h ago•1 comments

Opentype.js 2.0.0 Released

https://github.com/opentypejs/opentype.js/releases/tag/2.0.0
1•ILOVEPIE•1h ago•0 comments

Dirty Frag Linux kernel local privilege escalation vulnerability mitigations

https://ubuntu.com/blog/dirty-frag-linux-vulnerability-fixes-available
3•zajio1am•1h ago•1 comments

Show HN: MOG Simulator, Emergent galaxies via ensemble of grids [video]

https://github.com/tbmo/mog-solver
1•tbmo•1h ago•1 comments

X A "Clean Room" for 2026 technical and logistical news

https://xreport.news/
1•XREPORTNEWS•1h ago•0 comments

James Schuyler's Genius

https://yalereview.org/article/james-schuylers-genius
1•Thevet•1h ago•0 comments

A Robot Just Became a Monk at a Buddhist Temple in South Korea

https://www.smithsonianmag.com/smart-news/meet-gabi-the-new-robot-monk-at-a-buddhist-temple-in-so...
1•lisper•1h ago•0 comments

Loom -single line install TTY IDE for agent coding

https://github.com/claytantor/loom-tty-ide
1•claydronze•1h ago•1 comments