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

Modern Web Guidance

https://master.dev/blog/modern-web-guidance/
1•ibobev•44s ago•0 comments

Factorio 2.1 Experimental Release

https://factorio.com/blog/post/fff-444
2•ibobev•3m ago•0 comments

Former executive sues Meta over attempts to 'silence' memoir Careless People

https://apnews.com/article/meta-wynnwilliams-lawsuit-silence-book-careless-people-652de34608da69b...
1•1vuio0pswjnm7•4m ago•0 comments

Meta-analysis of DNA methylation aging signatures in 17 human tissues

https://www.nature.com/articles/s43587-026-01164-5
1•bookofjoe•4m ago•0 comments

ICC judges sue convicted criminal Trump after US attempt to intimidate the court

https://www.yacnews.com/icc-judges-sue-convicted-criminal-donald-trump-after-us-attempt-to-intimi...
1•ortr•5m ago•0 comments

My First Atari ST

https://www.goto10retro.com/p/my-first-atari-st
1•ibobev•6m ago•0 comments

Ornith-1.0: A family of open-source LLMs specialized for agentic coding

https://twitter.com/ornith_/status/2070148887067963854
2•jalopy•10m ago•0 comments

U.S. government restricts access to OpenAI's new AI model

https://www.zeit.de/digital/2026-06/openai-gpt-5-6-ki-modell-sol-usa
1•chelm•11m ago•0 comments

Show HN: PreFlight – A local AST background daemon to catch AI code drift

https://preflight-vibe.vercel.app/
1•Avenassh•12m ago•0 comments

Apple's Raising Prices. Here's What That Means for the Rest of Tech

https://www.inc.com/connor-jewiss/apples-finally-raising-prices-heres-what-that-means-for-the-res...
1•connorjewiss•15m ago•0 comments

Students are doing worse than you think

https://economist.com/international/2026/06/25/students-are-doing-worse-than-you-think
2•pseudolus•16m ago•1 comments

Show HN: Codex can track external events with respect to internal data

https://app.getsupers.com/admin/growth
1•GPUboy•17m ago•0 comments

Designing a Personal Pebble Watchface

https://www.jonashietala.se/blog/2026/06/26/designing_a_personal_pebble_watchface/
1•dzogchen•21m ago•0 comments

UN Charter – United Nations

https://www.un.org/en/about-us/un-charter
1•jeeee•26m ago•0 comments

Fintech Engineering Handbook

https://w.pitula.me/fintech-engineering-handbook/
18•signa11•26m ago•0 comments

Show HN: Mcpify – Turn any REST API into an MCP server in one command

https://github.com/Amanbig/mcpify
1•harpreetsingh80•27m ago•0 comments

Properties of AI

https://claude.com/resources/tutorials/the-4-properties-of-ai
2•vinhnx•27m ago•0 comments

I'd Build a 864K Motivation Page a $225K/Year App [video]

https://www.youtube.com/watch?v=Y2AWF9xFuKE
1•Harro123•28m ago•0 comments

AI data centers are supercharging a new battery market

https://wpintelligence.washingtonpost.com/topics/energy-climate/2026/06/24/ai-data-centers-are-su...
1•bookofjoe•33m ago•1 comments

Rewriting the World in Rust

https://bitfieldconsulting.com/posts/rewrite-in-rust
2•vinhnx•33m ago•1 comments

Ask HN: How do we measure software in LLM era?

1•bonigv•37m ago•2 comments

Arbitraging the global trademark treaty system

https://filedmark.com
2•infiniteAdmin•38m ago•1 comments

Texas makes Bible passages required reading for public school students

https://www.theguardian.com/us-news/2026/jun/26/texas-bible-required-reading-public-school
1•geox•41m ago•1 comments

Show HN: Open-Source API for Asynchronous Tasks Using Agents

https://meerkatagents.com/
1•kannanreghu•51m ago•0 comments

Show HN: Play puzzle games in a feed like TikTok

https://puzzle.express
4•trancence•1h ago•3 comments

Pixar's Believable People

https://animationobsessive.substack.com/p/pixars-believable-people
2•vinhnx•1h ago•0 comments

One More Thing

https://take.surf/2026/06/07/one-more-thing
1•Udo_Schmitz•1h ago•0 comments

Getting LLMs Drunk to Find Remote Linux Kernel OOB Writes (and More)

https://heyitsas.im/posts/drinking-llms/
1•schmuhblaster•1h ago•0 comments

Ask HN: What GUI/desktop app do you use to keep track of different AI sessions?

2•howToTestFE•1h ago•0 comments

Padel disrupted the genteel world of lawn tennis

https://theconversation.com/how-padel-disrupted-the-genteel-world-of-lawn-tennis-285867
2•zeristor•1h ago•0 comments