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: Ustps (UDP Speedy Transmission Protocol Secure) and USSH

https://github.com/x1colegal/USTP-Secure
1•x1colegal•1m ago•0 comments

Show HN: Sudo Report – Drudge closne for AI/tech/product

https://wwe.sudoreport.com
1•ataturkle•3m ago•0 comments

WhatsApp disrupted spear phishing attempts, asks court to hold NSO in contempt

https://arstechnica.com/tech-policy/2026/06/meta-alleges-nso-violated-spyware-injunction-with-new...
1•SockThief•5m ago•0 comments

Why Compiler Engineers Avoid Strassen's Algorithm for Matrix Multiplication

https://leetarxiv.substack.com/p/why-compilers-rarely-use-strassens-algorithm
1•birdculture•11m ago•0 comments

How to Measure Time to First Token (TTFT)

https://qainsights.com/how-to-measure-time-to-first-token-ttft-in-ai-systems/
1•qainsights•14m ago•0 comments

Germany and France Scrapped the FCAS

https://www.reuters.com/business/aerospace-defense/german-french-leaders-unable-resolve-fcas-figh...
1•signatoremo•16m ago•0 comments

Tim Cook's Final WWDC Showed Why Apple Still Always Wins in the End

https://www.inc.com/connor-jewiss/tim-cook-final-wwdc-showed-why-apple-still-always-wins-in-the-e...
1•connorjewiss•17m ago•0 comments

Rediscovered: The Lost Audio of Sherlock Holmes

https://sherlock-holmes.org.uk/rediscovered-the-lost-audio-of-sherlock-holmes/
1•austinallegro•17m ago•0 comments

Life Cycle Costing Approach of Carbon Capture and Storage at Hunter Unit 3

https://www.mdpi.com/1996-1073/19/9/2010
1•PaulHoule•20m ago•0 comments

Hiring Co-Founder

1•Chukz•20m ago•0 comments

Major earthquake off Cuba's coast felt across Florida

https://www.wesh.com/article/earthquake-rocks-cuba-shaking-felt-across-florida/71526284
1•eth0up•21m ago•0 comments

Apple drops support for a long list of Apple Watches with latest OS updates

https://www.theverge.com/news/946147/apple-watchos-27-ipados-27-supported-devices-dropped
1•ValentineC•21m ago•0 comments

Product teams struggled to create intent. AI let them think they could skip it

https://productpicnic.beehiiv.com/p/product-teams-struggled-to-create-intent-ai-let-them-think-th...
1•healsdata•23m ago•0 comments

Building Bulletproof React Components

https://shud.in/thoughts/build-bulletproof-react-components
2•plurby•27m ago•0 comments

Let's Encrypt bans certificate usage in any US sanctioned territory [pdf]

https://letsencrypt.org/documents/LE-SA-v1.7-June-04-2026-diff.pdf
4•piskov•28m ago•1 comments

Terradev 5.3.3

https://github.com/theoddden/Terradev
1•Facingsouth•29m ago•0 comments

The Data Center Bankshot – David Karpf

https://davekarpf.beehiiv.com/p/the-data-center-bankshot
2•Baljhin•29m ago•1 comments

AkiraOS: Embedded OS that runs WebAssembly applications on microcontrollers

https://github.com/ArturR0k3r/AkiraOS
1•sohkamyung•32m ago•0 comments

OpenAI plots biggest ChatGPT overhaul since launch

https://www.ft.com/content/ca0f5f5e-fb9a-41a0-a2a9-0127e15b7db9
3•ferryth•32m ago•0 comments

Ask HN: How do you cope when your startup contracts?

6•jasonephraim•33m ago•2 comments

Trusting AI Blindly

https://cate.cero-ai.com/blog/illusion-of-finished-work
5•Imbiss•35m ago•0 comments

Airline profits set to halve this year as fuel costs jump by $100B: IATA

https://www.cnbc.com/2026/06/08/iata-airline-profitability-halve-jet-fuel-costs-jump-100b.html
3•root-parent•35m ago•0 comments

Expanding Private Cloud Compute

https://security.apple.com/blog/expanding-pcc/
2•wrxd•36m ago•0 comments

Sam Bankman-Fried seeks Trump pardon

https://www.ft.com/content/7b976fd2-d93d-4af6-b030-0d1aceec3a30
4•root-parent•36m ago•4 comments

More Molly Guards

https://unsung.aresluna.org/more-molly-guards/
3•leephillips•41m ago•0 comments

Why All the PRs?

https://idiallo.com/blog/why-all-the-prs
2•ibudiallo•42m ago•0 comments

AI helped me give a better talk

https://lswith.io/posts/how-ai-helped-me-give-a-better-talk/
2•lswith•43m ago•0 comments

My ugly ahh website does what it's supposed to do [video]

https://www.youtube.com/shorts/r7wFhADaoVw
2•ourmandave•44m ago•0 comments

'Unbelievably Stupid' Tourist Charges Yellowstone Bison Herd

https://cowboystatedaily.com/2026/06/08/unbelievably-stupid-tourist-charges-yellowstone-bison-herd/
3•Bender•44m ago•0 comments

All the Ways Europe Is Ditching American Technology

https://www.wired.com/story/all-the-ways-europe-is-ditching-american-technology/
7•rawgabbit•45m ago•0 comments