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

The Fifth Shift: Saronic's autonomous vessels are a revolution in naval warfare

https://arenamag.com/articles/the-fifth-shift
1•crescit_eundo•1m ago•0 comments

Anthropic Bulks Up Its Enterprise Partner Program Amid IPO Plans

https://www.wsj.com/cio-journal/anthropic-bulks-up-its-enterprise-partner-program-amid-ipo-plans-...
1•gmays•1m ago•0 comments

A key remapping daemon for Linux

https://github.com/rvaiya/keyd
1•joooscha•2m ago•1 comments

Twenty Year Old Unicorn Goes AI-First Without Mass AI Layoffs

https://shiftmag.dev/ai-first-izabel-jelenic-infobip-10156/
2•dxs•3m ago•0 comments

WWDC26: Run local agentic AI on the Mac using MLX [video]

https://www.youtube.com/watch?v=wykPErJ8M-8
2•jorisw•4m ago•1 comments

Reddit's home screen now forces a "for you" feed that cannot be turned off

https://old.reddit.com/r/bugs/comments/1u26ydd/comment/oqvhjvc/
2•jazzypants•5m ago•0 comments

Show HN: Tiny project memory for coding agents

https://github.com/Seven128/project-tiny-context-harness
1•SevenQin•5m ago•0 comments

WWDC 2026: Five Things That Matter

https://systemhyperlink.com/wwdc-2026-five-things-that-actually-matter/
2•timothybsmith•6m ago•0 comments

Improved Tracking of Brownian Milk Globules

https://chillphysicsenjoyer.substack.com/p/improved-tracking-of-brownian-milk
1•crescit_eundo•7m ago•0 comments

Nordstjernen 1.0.3

https://github.com/nordstjernen-web/nordstjernen/releases/tag/1.0.3
2•andreasrosdal•8m ago•0 comments

Microsoft restricts Claude Fable for employees over data retention concerns

https://www.theverge.com/report/947575/microsoft-claude-fable-5-restricted-internally
4•speckx•8m ago•0 comments

Elixir for a Bluesky DataPlane: the choice we didn't expect

https://bitcrowd.dev/why-elixir-bluesky-dataplane/
2•s3cur3•8m ago•0 comments

Language Models Need Sleep: Learning to Self-Modify and Consolidate Memories

https://arxiv.org/abs/2606.03979
1•gmays•9m ago•0 comments

Ask HN: Did Anthropic Nerf Opus 4.8?

1•Ancalagon•9m ago•0 comments

Russia building large scale military infrastructure on European border

https://www.pravda.com.ua/eng/news/2026/06/10/8038671/
4•spwa4•9m ago•0 comments

Meta steals a tactic from Tesla and builds data centers in tents

https://techcrunch.com/2026/06/04/meta-steals-a-tactic-from-tesla-and-builds-data-centers-in-tents/
2•gnabgib•11m ago•0 comments

An Empirical Comparison of General Context-Free Parsers

https://arxiv.org/abs/2606.08465
2•matt_d•15m ago•0 comments

RFC: Programming Languages Course Reboot, 2026 – Shriram Krishnamurthi

https://docs.google.com/document/d/e/2PACX-1vQpgkUp1FOpgECqlyhysTBqcdvLPAtdI5SI4yCHJ82agRnsE6b5vM...
1•matt_d•15m ago•0 comments

Private Equity Faces Reckoning with Struggle to Clear Buyout Backlog

https://www.bloomberg.com/news/articles/2026-06-10/private-equity-urged-to-capitulate-to-clear-bu...
2•petethomas•17m ago•0 comments

Claude Desktop spins up a VM without no way of stopping it

https://github.com/anthropics/claude-code/issues/29045
2•tonyrice•18m ago•0 comments

A Panopticon for All

https://laviedesidees.fr/A-Panopticon-for-All
1•bryanrasmussen•19m ago•0 comments

ASML to cut fewer jobs after talks with Dutch unions

https://www.reuters.com/business/world-at-work/asml-cut-fewer-jobs-after-talks-with-dutch-unions-...
2•onemoresoop•20m ago•0 comments

Autonomous underwater glider passively follows sperm whales by their voices

https://www.nature.com/articles/s41598-026-43138-y
1•PaulHoule•20m ago•0 comments

St. George fire district sues IT company over cyberattack

https://www.wafb.com/2026/06/09/st-george-fire-district-sues-it-company-over-cyberattack/
4•speckx•22m ago•0 comments

Trump says he thinks AI companies will agree to 'giving back' to the public

https://www.reuters.com/business/media-telecom/trump-says-he-thinks-ai-companies-will-agree-givin...
3•onemoresoop•22m ago•0 comments

Earliest work of sci-fi to have a prequel

https://scifi.stackexchange.com/questions/304692/earliest-work-of-sci-fi-to-have-a-prequel
1•mooreds•22m ago•0 comments

An open letter to office suite users, just before the Euro-Office announcement

https://blog.documentfoundation.org/blog/2026/06/08/an-open-letter/
1•maxloh•22m ago•0 comments

Musk's xAI accused of illegally firing engineer who raised safety concerns

https://www.reuters.com/legal/legalindustry/musks-xai-accused-illegally-firing-engineer-who-raise...
2•onemoresoop•22m ago•1 comments

Show HN: Android Transfer File

https://androiddropbridge.kodiqa.com/
1•open_source_new•23m ago•0 comments

Genetic Correlation Catalog – 28M genetic correlations

https://rgcatalog.org/
1•genomic-jesse•24m ago•0 comments