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

Show HN: DRM-CLI – open-source release manager for MSSQL/PostgreSQL/Oracle

https://github.com/dband-drm/drm-cli
1•dband-drm•1m ago•0 comments

A causal history can exist locally everywhere and globally nowhere

https://zenodo.org/records/21606970
1•groverbennett•5m ago•0 comments

Wireless Transec Taxonomy

https://transec-taxonomy.pages.dev
1•belabartok39•6m ago•0 comments

Supply and Demand Is Not What Most People Think

https://shonczinner.substack.com/p/supply-and-demand-is-not-what-most
1•paulpauper•9m ago•0 comments

Bitcoin cold-wallet attack spreads to 4,500 addresses as losses near $89M

https://www.coindesk.com/tech/2026/08/02/bitcoin-cold-wallet-attack-spreads-to-4-500-addresses-as...
4•rbanffy•11m ago•1 comments

Wham! 10 Days in China [video]

https://www.youtube.com/watch?v=P7oAaJqqv8w
1•sxzygz•12m ago•0 comments

What Else Do We Lose When People Give Up Booze?

https://www.nytimes.com/2026/08/01/style/what-else-do-we-lose-when-people-give-up-booze.html
1•bookofjoe•16m ago•1 comments

AI poster wins Ohio State Fair contest

https://www.ohiostatefair.com/p/get-involved/arts/poster-contest
2•AlexAplin•17m ago•0 comments

Negative social ties as risks for faster aging, inflammation, and multimorbidity

https://pmc.ncbi.nlm.nih.gov/articles/PMC12933095/
2•davidbarker•17m ago•0 comments

Mention of Synon, the real inventors of Rapid Application Development, in 1986 [pdf]

http://archive.computerhistory.org/resources/access/text/2017/06/102726714-05-05-acc.pdf
1•jambalaya8•17m ago•0 comments

Abundant empirical evidence of multilevel selection

https://www.frontiersin.org/journals/ecology-and-evolution/articles/10.3389/fevo.2026.1752597/full
1•marojejian•18m ago•0 comments

Unexpected events and prosocial behavior: the Batman effect

https://www.nature.com/articles/s44184-025-00171-5
1•davidbarker•20m ago•0 comments

A Baby Bust Is Not yet a Growth Boom

https://www.labormarketmatters.com/p/a-baby-bust-is-not-yet-a-growth-boom
1•paulpauper•23m ago•0 comments

Teaching an AI to know itself: Building a local LLM agent in D

https://blog.dlang.org/2026/06/07/teaching-an-ai-to-know-itself-building-a-local-llm-agent-in-d/
1•teleforce•24m ago•0 comments

Show HN: STB-like zero-dependency O(N) FMM gravity solver

https://github.com/nihiL7331/polesitter
1•nihiL7331•24m ago•1 comments

Trump Crypto Tie-Up Fueled Family Windfall, Investor Losses

https://www.bloomberg.com/news/articles/2026-07-30/how-a-trump-crypto-deal-enriched-the-family-wh...
6•paulpauper•25m ago•0 comments

The Computational Theory of Mind (2015)

https://plato.stanford.edu/entries/computational-mind/
2•cyanregiment•25m ago•1 comments

Reviewing the Arch User Repository with AI

https://cretezy.com/2026/aur-ai-security/
1•CraftThatBlock•25m ago•1 comments

Gauge – see where your Claude Code subscription goes

https://github.com/joey-io/gauge
1•joey-io•27m ago•0 comments

30% of certificate credentials reported on LinkedIn are now AI-related

https://www.morningstar.com/news/marketwatch/20260731180/job-seekers-can-now-spend-thousands-on-a...
1•thoughtpeddler•27m ago•0 comments

Radiation in Paduach

https://magazine.atavist.com/2026/toxic-lies-radiation-paducah
1•ezzaf•34m ago•0 comments

Tips for Landing a YC Internship?

2•cnnadozi•39m ago•0 comments

NASA Lessons Learned System

https://llis.nasa.gov/
1•ahsillyme•42m ago•1 comments

Arm's Cortex A55

https://chipsandcheese.com/p/arms-cortex-a55
2•pella•44m ago•0 comments

Californians' data deletion requests, DROP, become enforceable Aug. 1

https://www.nbcsandiego.com/nbc-7-responds-2/californians-data-deletion-requests-drop-become-enfo...
17•MilnerRoute•44m ago•0 comments

OpenAI’s amazing — but vastly oversold — new model Astra

https://garymarcus.substack.com/p/openais-amazing-but-vastly-oversold
7•champagnepapi•47m ago•0 comments

Show HN: Cl33-opLM, a 236M language model with a reversible operator bottleneck

https://cl33.t3atlas.dev/
1•MirrorEthic•50m ago•0 comments

QM: We read Y Combinator's company-wide agent runtime

https://runtimewire.com/article/inside-qm-we-read-y-combinator-s-company-wide-agent-runtime
2•ryanmerket•52m ago•0 comments

Infrared goggles that show colours

https://arstechnica.com/science/2026/07/see-the-heat-an-infrared-imaging-system-that-outputs-in-c...
3•Gaishan•54m ago•0 comments

Coldcard wallet RNG flaw likely linked to $88M Bitcoin theft

https://www.bleepingcomputer.com/news/security/coldcard-wallet-rng-flaw-likely-linked-to-88-milli...
2•sbulaev•54m ago•0 comments