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

GitOps in the Age of AI

https://confighub.com/blog/gitops-in-the-age-of-ai-c73d0bd506ba
1•mooreds•59s ago•0 comments

Why I Still Build Small Windows Tools with AutoIt

https://www.gexos.org/why-i-still-build-small-windows-tools-with-autoit/
1•gexos•2m ago•0 comments

Agentic test processes, LLM benchmarks, and other notes on agentic coding fr

https://danluu.com/ai-coding/#llm-variance
1•lifeisstillgood•3m ago•0 comments

Companies must address self-driving car interference with emergency vehicles

https://www.reuters.com/world/us/companies-must-address-self-driving-car-interference-with-emerge...
1•EA-3167•6m ago•0 comments

The Myth of the Solo Unicorn

https://stephenforte1.substack.com/p/the-myth-of-the-solo-unicorn
1•Darmani•6m ago•0 comments

Kk

2•jeie•7m ago•0 comments

Gene modification proposed to bring back near extinct American chestnut

https://www.usatoday.com
1•rmason•10m ago•2 comments

Multigres Supports Listen/Notify Across Pooled Connections

https://multigres.com/blog/listen-notify
2•eatonphil•13m ago•0 comments

NYT calls University of California 'test-blind' admissions a 'terrible' mistake

https://www.foxnews.com/media/new-york-times-calls-university-california-test-blind-admissions-po...
1•SilverElfin•14m ago•3 comments

China Is Abusing AI

https://www.theatlantic.com/international/2026/07/xi-jinping-censorship-ai-training/687696/
3•malshe•14m ago•2 comments

Pilot dies after jumping from plane leaving trainee to land it

https://www.dailyrecord.co.uk/news/uk-world-news/pilot-dies-after-jumping-plane-37398564
1•delichon•14m ago•0 comments

Show HN: Onboard-CLI, a LLM powered and AST-based tool to visualize codebase

https://github.com/animesh-94/Onboard-CLI
1•yr_animesh•15m ago•0 comments

Claude, Start My Database

https://docs.eventsourcingdb.io/blog/2026/07/09/claude-start-my-database/
1•goloroden•16m ago•0 comments

Zombie 'who owns Unix?' lawsuit comes alive again

https://www.theregister.com/os-platforms/2026/07/06/zombie-who-owns-unix-lawsuit-comes-alive-agai...
2•ecliptik•16m ago•0 comments

I Built My Son an Over-Engineered Robot [video]

https://www.youtube.com/watch?v=teeNgLN_ZRI
1•skibz•18m ago•0 comments

FAANG Simulator

https://www.abeyk.com/escape-the-rat-race/
4•nerdbiscuits•19m ago•1 comments

Decisions That Doubled Gusto Engineering's Throughput

https://gusto.com/company-news-ai-transformation-engineering
1•wildmaples•19m ago•0 comments

Maybe Anthropic and OpenAI Are Not the Future of Artificial Intelligence

https://www.nytimes.com/2026/07/08/opinion/openai-anthropic-palantir-alex-karp.html
3•littlexsparkee•19m ago•0 comments

Model and effort in Claude Code: knowing more vs. trying harder

https://xcancel.com/i/article/2074900291062034618
1•Topfi•21m ago•0 comments

Show HN: Skill-extractor turns coding agent transcripts into reusable skills

https://github.com/surenode-ai/skill-extractor
1•chand249•21m ago•0 comments

Show HN: Hnwork.app – UI for Who is hiring posts

https://hnwork.app/
5•scottilee•24m ago•0 comments

What's the Point of Sex, Anyway?

https://www.newyorker.com/magazine/2026/06/29/on-the-origin-of-sex-book-review-lixing-sun
2•Tomte•25m ago•0 comments

Interview #21 – Aiden (Rabbit R1)

https://app.notion.com/p/shawwn/Aiden-rabbit-R1-3970c85fad9380aa9b88d44e323f68b6?source=copy_link
1•sillysaurusx•25m ago•1 comments

Dibi8 – Open-source AI tools directory, 4 languages

https://dibi8.com
1•dibi8•27m ago•0 comments

Slughorn, Slug font/glyph render lib for OpenGL/OSG/Vulkan/GPU APIs (MIT lic))

https://alphapixeldev.com/slughorn-mit-licensed-gpu-agnostic-slug-font-glyph-rendering-library-fo...
2•XenonofArcticus•27m ago•1 comments

The Mystery of the Giant Clams of the Red Sea and Indian Ocean (2020)

https://dantheclamman.blog/2020/07/04/the-mystery-of-the-giant-clams-of-the-red-sea-and-indian-oc...
1•downbad_•29m ago•0 comments

PC Market Runs Low on RAM to Grow: Shipments Decline 4.9% as Memory Crunch Bites

https://www.idc.com/resource-center/press-releases/2q26-pc-top5/
1•speckx•31m ago•0 comments

Boston suing Meta and other social media companies over features for students

https://www.boston25news.com/news/local/boston-suing-meta-other-soical-media-companies-over-alleg...
1•1vuio0pswjnm7•31m ago•0 comments

Hyperia 0.16.1 now supports spoken summaries from any coding agent

https://github.com/DeepBlueDynamics/hyperia/releases
1•kordlessagain•32m ago•0 comments

Green River Residents Shut Down License Plate Reader Camera Project

https://cowboystatedaily.com/2026/07/08/green-river-people-shut-down-license-plate-reader-camera-...
4•Bender•32m ago•0 comments