frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Algebraic Effects: Another mistake carried through to perfection?

https://kjosib.github.io/Counterpoint/effects.html
29•todsacerdoti•12mo ago

Comments

smitty1e•12mo 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•12mo 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•12mo 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•12mo 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•12mo 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•12mo ago
I had to stop and re-read this comment chain because I was sure this was satire
agentultra•12mo 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•12mo 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•12mo 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•12mo 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•11mo 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).

Let's Standardize the 1970 Epoch

https://github.com/billpg/1970EpochalTime/
1•billpg•16s ago•0 comments

Git LFS server with affordable storage

https://github.com/unknwon/git-lfs-server
1•joe2010xtmf•1m ago•0 comments

US Adds 115,000 Jobs in April

https://www.ft.com/content/245e5c30-0a0b-43cd-b4b5-13f023c0b42d
1•alephnerd•1m ago•0 comments

InMusic will acquire Native Instruments, as NI joins brands from Akai to Moog

https://cdm.link/inmusic-will-acquire-native-instruments/
1•robenkleene•1m ago•0 comments

We're mapping the global peptide market

https://peptel.co/
2•mattg_•4m ago•0 comments

What Is an AI Control Plane

https://www.speakeasy.com/resources/ai-control-plane
1•ritzaco•4m ago•0 comments

SocialCrawl – search what people are saying across Reddit, X, TikTok, and 25

https://www.socialcrawl.dev
1•vaaselene•5m ago•0 comments

The human cost of unsafe abortions

https://ourworldindata.org/the-human-cost-of-unsafe-abortions
1•surprisetalk•6m ago•0 comments

Omerbenamram/mft: A parser for the MFT (Master File Table) format

https://github.com/omerbenamram/mft
1•ankitg12•9m ago•0 comments

HST – shape mapping via one eigenfunction, +42% ZoomOut, +52% FMaps

https://github.com/sel8888/harmonic-shape-transform-2026-koncept
1•sel8888•10m ago•0 comments

The terminal is still the integration point: why I built Workdash

https://amolnotes.substack.com/p/the-terminal-is-still-the-integration
1•amol-•11m ago•1 comments

Show HN: An agent that tunes its own cache

4•kaliades•11m ago•0 comments

Cargo Cult Bureaucracy

https://graphthinking.blogspot.com/2026/05/cargo-cult-bureaucracy.html
1•physicsgraph•12m ago•0 comments

Claude Says No

https://wadetregaskis.com/claude-says-no/
1•colejohnson66•13m ago•0 comments

A web page that shows you everything the browser told it without asking

https://sinceyouarrived.world/taken
1•mwheelz•14m ago•0 comments

IBM Cloud evaporates as datacenter loses power

https://www.theregister.com/off-prem/2026/05/07/ibm-cloud-evaporates-as-datacenter-loses-power/52...
3•laurensr•17m ago•0 comments

Instagram is dropping end-to-end encrypted chats

https://www.euronews.com/next/2026/05/08/instagram-is-dropping-end-to-end-encrypted-chats-this-is...
3•franciscojs•18m ago•0 comments

Show HN: I was surprised by this interactive GPU line rasterization explanation

https://twitter.com/SandboxSpirit/status/2052331740836855915
4•Ef996•19m ago•0 comments

Telegram-native CRMs that run inside Telegram (bots and topic groups)

1•hotline•20m ago•0 comments

Pixel-Art Scaling Algorithms

https://en.wikipedia.org/wiki/Pixel-art_scaling_algorithms
1•firephox•20m ago•0 comments

Mo' Machines, Mo' Problems

https://theadjacency.com/p/more-machines-more-problems--5b71da019b9dde348ad07f65
1•twic•20m ago•0 comments

Poland is now among the 20 largest economies. How it happened

https://apnews.com/article/poland-economy-growth-g20-gdp-26fe06e120398410f8d773ba5661e7aa
41•surprisetalk•21m ago•13 comments

No Graphics API [video]

https://www.youtube.com/watch?v=f3_UVYFyMno
1•ibobev•21m ago•0 comments

Great Game Art [video]

https://www.youtube.com/watch?v=JnIfHM6_gSc
1•ibobev•22m ago•0 comments

Tell HN: Archive.is has enabled QR code Google Captchas

2•Bender•22m ago•1 comments

Guess the Party – Can you tell a UK councillor's party from their face?

https://guesstheparty.co.uk/
1•thinkingemote•22m ago•0 comments

AWS warns of EC2 'impairment' as power loss hits notorious US-EAST-1 region

https://www.theregister.com/off-prem/2026/05/08/aws-warns-of-ec2-impairment-as-power-loss-hits-no...
4•leothekim•23m ago•0 comments

Why single embeddings fail for video

https://mixpeek.com/blog/the-3072-dimension-problem
1•Beefin•24m ago•0 comments

The Diagnosis Doesn't Come with a Trophy, It Comes with a Reckoning

https://knuckledustchronicles.com/the-diagnosis-doesnt-come-with-a-trophy-it-comes-with-a-reckoning/
1•frobinson47•24m ago•0 comments

The balcony solar boom is coming to the US

https://www.technologyreview.com/2026/05/07/1136933/balcony-solar-boom/
1•RickJWagner•24m ago•0 comments