frontpage.
newsnewestaskshowjobs

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

Falling fertility on the left as key driver of US birth decline

https://www.nature.com/articles/s41598-026-57582-3
1•geox•23s ago•0 comments

CISA: Microsoft SharePoint RCE flaw now actively exploited

https://www.bleepingcomputer.com/news/security/cisa-microsoft-sharepoint-rce-flaw-now-actively-ex...
1•Brajeshwar•30s ago•0 comments

Cloudflare Workers Build Delays

https://www.cloudflarestatus.com/incidents/2z7ff0166l22
1•infomiho•32s ago•0 comments

Tsunami: The Rescued Dog Saving Lives After Venezuela Earthquakes

https://www.forbes.com/sites/luisromero/2026/07/01/tsunami-the-rescued-dog-saving-lives-after-ven...
1•throwme_123•53s ago•0 comments

Vibe Coded X11 Server Written in Rust Adds Xinerama, FreeBSD Support

https://www.phoronix.com/news/YSERVER-1.3-Released
1•hochmartinez•1m ago•0 comments

Blizzard coped with World of Warcraft's blood plague and other disasters

https://www.pcgamer.com/how-blizzard-coped-with-world-of-warcrafts-blood-plague-and-other-early-d...
1•colinprince•4m ago•0 comments

Show HN: NamedLocal – does ChatGPT recommend your local business?

https://namedlocal.com/
1•only_jeff•5m ago•0 comments

Show HN: Design Slop Cop – score how AI-generated a website looks

https://slopcop.adriankrebs.ch
1•hubraumhugo•5m ago•0 comments

Google loses EU court fight over $4.7B Android antitrust fine

https://www.aa.com.tr/en/economy/google-loses-eu-court-fight-over-47b-android-antitrust-fine/3984015
1•sharpshadow•6m ago•0 comments

I made a macOS desktop app to manage Nix-Darwin and Home Manager

https://github.com/darkmatter/nixmac
2•czxtm•7m ago•1 comments

DASH diet associated with lower risk of cognitive decline

https://jamanetwork.com/journals/jamaneurology/article-abstract/2845466
1•rawgabbit•7m ago•0 comments

We Need a 'Truth Campaign' for the AI Era

https://www.techpolicy.press/why-we-need-a-truth-campaign-for-the-ai-era/
1•cdrnsf•8m ago•0 comments

Generative AI creates delicious, sustainable, and nutritious burgers

https://arxiv.org/abs/2602.03092
1•sebg•8m ago•0 comments

Show HN: Debriefr – Discussions that unlock as you watch

https://debriefr.tv
1•jhedlund•9m ago•0 comments

The Importance of Humility in Software Development (2020)

http://humbletoolsmith.com/2020/08/10/the-importance-of-humility-in-software-development/
1•downbad_•12m ago•0 comments

Launch HN: Manufact (YC S25) – MCP Cloud

https://manufact.com
8•pzullo•13m ago•0 comments

Show HN: OSS Tests to Fix AI Gen Code. 110 Test for Major API – Supabase, Auth0

https://github.com/qualtyco/api-doctor
1•Reuben_Santoso•13m ago•0 comments

US employers still reluctant to add many jobs as hiring slows in June

https://apnews.com/article/jobs-economy-hiring-labor-49c7a993b394e6ae3f801c8e3c0d39dd
1•mattas•15m ago•0 comments

AI Increased Our Open PRs by 36%. That Wasn't the Whole Story

https://www.stackbuilders.com/insights/ai-in-software-delivery-whats-working-whats-hard-and-what-...
1•StackBuilders•15m ago•0 comments

Show HN: UATC – A Closed-Loop Controller to Prevent GPU OOM

https://github.com/sajjaddoda72-design/UATC
1•L_u_u_6•15m ago•0 comments

Evolution of moral expression in song lyrics

https://www.nature.com/articles/s41598-026-53778-9
1•sebg•16m ago•0 comments

I Tried Rips, the Card App Where Users Spend Thousands Chasing Pricey Pokémon

https://www.wired.com/story/i-tried-rips-the-card-pack-app-where-users-spend-thousands-chasing-pr...
1•reece_rogers•16m ago•0 comments

Reverse-engineering the Whoop 5.0 to work without a subscription in 24 hours

https://twitter.com/b_nnett/status/2061434000766382246
1•MrBuddyCasino•18m ago•0 comments

US deaths hit record low in 2025

https://san.com/cc/living-longer-in-america-u-s-deaths-hit-record-low-in-2025/
2•Cabal•19m ago•1 comments

The competing federal efforts behind America's 250th anniversary plans

https://www.govexec.com/management/2026/07/inside-competing-federal-efforts-behind-americas-250th...
1•everybodyknows•20m ago•0 comments

The last mile of AI-assisted coding is a signup form

https://trustysquire.ai/blog/the-last-mile-is-a-signup-form
1•lunchboxfortwo•21m ago•0 comments

Spain Orders Blacklist of Palantir from Public and Private Companies

https://clashreport.com/world/articles/spain-orders-blacklist-of-us-tech-giant-palantir-from-publ...
2•mgh2•22m ago•0 comments

T-Mobile moving virtual machines off VMware amid lawsuit

https://arstechnica.com/information-technology/2026/07/t-mobile-moving-tens-of-thousands-of-virtu...
1•Brajeshwar•23m ago•0 comments

Show HN: Oculor: find warm intro paths to investors

https://oculor.ai
1•fredrussias•24m ago•0 comments

Ask HN: What are you working on? (July 2026)

1•AznHisoka•24m ago•3 comments