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

A look at CrossPoint e-reader firmware

https://lwn.net/Articles/1087635/
1•pykello•3m ago•0 comments

Parallel worktrees running all services on local branch domains

https://github.com/jdtzmn/port
1•amadeuspagel•3m ago•0 comments

Kinds of Luck

https://pmarchive.com/luck_and_the_entrepreneur.html
1•AnhTho_FR•4m ago•0 comments

Flooding of ancient Salton Sea linked to San Andreas earthquakes

https://www.sciencecodex.com/flooding_of_ancient_salton_sea_linked_to_san_andreas_earthquakes
1•Noaidi•6m ago•1 comments

Show HN: A2G (Agent to Agent) Marketplace – Beta Test

https://www.a2gmarketplace.com
1•egbert87•6m ago•0 comments

2024 South Korean martial law crisis

https://en.wikipedia.org/wiki/2024_South_Korean_martial_law_crisis
1•consumer451•6m ago•0 comments

European wildfires expose, detonate buried bombs and mines from past wars

https://www.cbsnews.com/news/europe-wildfires-bombs-explosives-world-war-history/
3•littlexsparkee•8m ago•0 comments

A Masked Man Was Scaring Philadelphians. Then He Picked the Wrong Woman

https://www.nytimes.com/2026/08/20/us/chucky-doll-mask-kick-philadelphia.html
1•whack•8m ago•0 comments

The immortal 1984 Macintosh (restoration diary)

https://www.thebyteattic.com/2026/08/the-immortal-macintosh-restoration-diary.html
1•882542F3884314B•8m ago•0 comments

As Flock battles public scrutiny, other surveillance companies see an opening

https://text.npr.org/nx-s1-5931446
1•1659447091•11m ago•0 comments

What retailers are doing with tariff refunds

https://finance.yahoo.com/markets/article/tariff-refunds-are-hitting-retailers-wallets-heres-what...
1•BiraIgnacio•14m ago•1 comments

AI has failed to win people's trust. Its makers? less trusted

https://www.euronews.com/next/2026/08/20/ai-has-failed-to-win-peoples-trust-its-makers-even-less-...
5•billybuckwheat•15m ago•0 comments

View-Master Went from a Weapon Against Kodak to "Just a Toy" [video]

https://www.youtube.com/watch?v=FjekcXFb40E
1•fortran77•16m ago•0 comments

AI as a Co-Writer

https://strawberry9.github.io/the-wrong-memory/cover.html
1•VolatileRegiste•17m ago•0 comments

Why Lean is faster than Rust

https://kim-em.github.io/blog/2026-7-24-why-lean-is-faster-than-rust/
1•hectormalot•18m ago•0 comments

AgentCore Payments GA

https://aws.amazon.com/about-aws/whats-new/2026/08/bedrock-agentcore-payments-ga/
1•AnhTho_FR•20m ago•0 comments

Ask HN: What's the current best research/understanding of healthy weight loss?

2•simonebrunozzi•23m ago•1 comments

The Real AI Crash Will Start This Year

https://quoththeraven.substack.com/p/the-real-ai-crash-will-start-this
3•samizdis•24m ago•1 comments

Amid intense backlash, people are vandalizing Flock surveillance cameras

https://text.npr.org/nx-s1-5939851
1•mooreds•25m ago•0 comments

GoldenEye 007 native port after the N64 decompilation reached 100%

https://github.com/SegfaultEvan/goldeneye-native
2•segfaultevan•25m ago•2 comments

Shared-Nothing Architecture

https://en.wikipedia.org/wiki/Shared-nothing_architecture
1•doener•25m ago•0 comments

Software Design

https://misfra.me/2026/software-design/
1•preetamjinka•34m ago•0 comments

Eliminate GPU Waste by Cutting the Retry Tax

https://rahmipruitt.me/content/gpu-retry-tax/
1•rjpruitt16•37m ago•0 comments

There continue to be reasons for software to be slow

https://typesanitizer.com/blog/performance-issues.html
1•birdculture•38m ago•0 comments

Show HN: MacAIApps – a directory of AI-powered Mac apps

https://www.macaiapps.com/
1•sujee•40m ago•0 comments

ChatGPT

https://openai.com/index/chatgpt/
1•websiteapi•41m ago•0 comments

Trix: Embeddable stack-based scripting VM with cooperative concurrency

https://github.com/mcguidarelli/trix
1•oxryly1•42m ago•1 comments

iPhone 18 Pro Could Get a Signature New Color – Here's What the Latest Leaks Sug

https://moztako.me/iphone-18-pro-colors-dark-cherry/
1•cecyev•48m ago•0 comments

Will farm animals always suffer?

https://worksinprogress.co/issue/will-farm-animals-always-suffer/
1•mooreds•48m ago•0 comments

Ben Sasse on Faith, Family, and Facing Death [audio]

https://www.econtalk.org/ben-sasse-on-faith-family-and-facing-death/
1•mooreds•49m ago•0 comments