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

Microsoft Scout

https://learn.microsoft.com/en-us/microsoft-scout/
1•doppp•39s ago•0 comments

Show HN: an AI that settles small couple arguments

https://thepiece.app/en
2•Byalpel•9m ago•0 comments

Teaching AI agents to ask better questions by playing "Battleship"

https://news.mit.edu/2026/teaching-ai-agents-ask-better-questions-playing-battleship-0603
1•droidjj•11m ago•0 comments

Digital Goods by ProxyStore

https://digitalgoods.proxysto.re/en
1•Cider9986•12m ago•0 comments

A Structure-Aware Fuzzing Experiment

https://fitzgen.com/2026/06/01/structure-aware-fuzzing-experiment.html
1•sfink•17m ago•0 comments

A Primer in Post-Training Reasoning Data: What We Know About How It Works

https://arxiv.org/abs/2606.02113
1•Anon84•17m ago•0 comments

JackHamr, cloud workspaces for orchestrating coding agents

https://www.jackhamr.ai
2•jrda•18m ago•0 comments

FUTO Swipe Relative error rate improvement vs. Gboard

https://swipe.futo.tech/
1•Cider9986•20m ago•0 comments

California Back and Pain Specialists Exposes 133GB of Patient Medical Records

https://write-ups.security-chu.com/2026/06/California-Back-Pain-Specialists-with-data-breach.html
1•news_rt•25m ago•0 comments

Pie: Yet another open-source coding agent in Rust

https://github.com/c4pt0r/pie
1•c4pt0r•26m ago•2 comments

I built a vulnerable app and spent $1,500 seeing if LLMs could hack it

https://kasra.blog/blog/i-spent-1500-seeing-if-llms-could-hack-my-app/
9•jc4p•29m ago•0 comments

Review of the MoErgo Go60 Keyboard

https://arslan.io/2026/06/02/review-of-the-moergo-go60-keyboard/
1•wapasta•30m ago•0 comments

Klaser Cards, a printable personal collection

https://klaser.cards/
2•Triphibian•30m ago•1 comments

Why Video Agent models are next

https://www.latent.space/p/video-agents
2•gmays•30m ago•0 comments

Dreambeans

https://labs.google/dreambeans
1•fallinditch•31m ago•0 comments

Aquifer – local flow control for bursty GPU-backed APIs

https://github.com/rjpruitt16/aquifer
1•rjpruitt16•32m ago•0 comments

Scholarly Futures: AI and the practical scientist

https://scholarlyfutures.substack.com/p/ai-and-the-practical-scientist
1•JohnHammersley•32m ago•0 comments

A community-ranked feed of blog posts from curated sources

https://bubbles.town/
1•wwfn•35m ago•1 comments

Dystopic Future: The Set Design in Alien

https://kevinmccorrytv.ca/alien-2.html
1•exvi•36m ago•0 comments

The Star Blazers Page

https://kevinmccorrytv.ca/blazers.html
2•exvi•36m ago•0 comments

Monterey Park votes to permanently ban datacenters

https://www.theguardian.com/us-news/2026/jun/03/california-monterey-park-datacenters-ban
4•logickkk1•37m ago•0 comments

Limbic Capitalism

https://cwcp.ca/blog/limbic-capitalism/
2•the-mitr•37m ago•0 comments

The Lost Space Battleship Yamato LaserDisc Game (2013)

https://www.ourstarblazers.com/vault/363/
1•exvi•38m ago•0 comments

Reflections on Two Years of Using Colemak

https://bojidar-bg.dev/blog/2023-12-27-colemak/
1•Curiositry•38m ago•0 comments

HTTP Pipelining

https://en.wikipedia.org/wiki/HTTP_pipelining
1•Brysonbw•39m ago•0 comments

U.S. to Dismantle System Tracking Atlantic Currents That Are at Risk of Collapse

https://e360.yale.edu/digest/trump-ooi-amoc
2•rguiscard•42m ago•0 comments

Show HN: tools wiki – cheatsheets for popular CLI commands

https://toolswiki.deebox.dev/
1•flexdinesh•42m ago•0 comments

Dumbphone 2

https://dumb.co/
3•skogstokig•45m ago•0 comments

Is Dreams of Violets AI slop – or the future of film-making?

https://www.theguardian.com/film/2026/jun/03/dreams-of-violets-ash-koosha-iran-tribeca-film-festival
2•fallinditch•46m ago•0 comments

Under the Hood of "Sum Ergo Demonstro" Demo [video]

https://www.youtube.com/watch?v=0_9YS2tsdYc
1•guiambros•48m ago•0 comments