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•11mo ago

Comments

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

4-bit floating point FP4

https://www.johndcook.com/blog/2026/04/17/fp4/
1•chmaynard•22s ago•0 comments

Comparing GPT-5.4, Opus 4.6, GLM-5.1, Kimi K2.5, MiMo V2 Pro and MiniMax M2.7

https://www.codejam.info/2026/04/comparing-gpt-5-4-opus-4-6-glm-5-1-kimi-k2-5-mimo-v2-pro-and-min...
1•funkyval•3m ago•0 comments

Two $20B: OpenAI and Nvidia in a 'Reasoning Battle'

https://jianshiapp.com/two-20-billion-openai-and-nvidia-in-a-reasoning-battle/
1•ninjahawk1•5m ago•0 comments

Graphs That Explain the State of AI in 2026

https://spectrum.ieee.org/state-of-ai-index-2026
1•bryanrasmussen•8m ago•0 comments

Poetical: AI Poetry Feed

https://apps.apple.com/ro/app/poetical-ai-poetry-feed/id6761653704
1•mening12001•8m ago•0 comments

Unobtrusive inference of diurnal rhythms from smartphone data

https://www.nature.com/articles/s41746-025-02254-1
1•bryanrasmussen•9m ago•0 comments

Show HN: WebGL Liminal Space

https://liminal-dwsw5.ondigitalocean.app/
1•5fc3b4•10m ago•0 comments

Rail: A self-hosting language that speaks TLS alone

https://github.com/zemo-g/rail
1•zem0g•11m ago•0 comments

SDF Based Chess Rendering

https://github.com/Janos95/onion
1•janos95•17m ago•1 comments

Does Your Poop Float?

https://buildojas.substack.com/p/does-your-poop-float
2•rohan_shah•18m ago•1 comments

The quest to measure our relationship with nature

https://www.technologyreview.com/2026/04/16/1135245/measure-relationship-with-nature-index/
1•joozio•18m ago•0 comments

An Agentic Home Bioreactor

https://chillphysicsenjoyer.substack.com/p/an-agentic-home-bioreactor
1•crescit_eundo•19m ago•0 comments

URLmind – Turn any business URL into structured context for AI agents

https://urlmind.com
1•urlmind•21m ago•0 comments

Crystal 1.20.0 Is Released

https://crystal-lang.org/2026/04/16/1.20.0-released/
1•ksec•24m ago•0 comments

Open-source isolated runtime for AI agents

https://github.com/CelestoAI/SmolVM
2•theaniketmaurya•25m ago•3 comments

A Simple Guide to Porting Your Basic

https://permacomputer.solarpunk.au/?p=181
1•akkartik•27m ago•0 comments

Blade Runner Cinematography (1999)

https://theasc.com/magazine/mar99/blade/
3•exvi•29m ago•0 comments

Godzilla Cinematography (1998)

https://theasc.com/magazine/jun98/godzilla/
1•exvi•29m ago•0 comments

PgQue: Zero-Bloat Postgres Queue

https://github.com/NikolayS/pgque
1•gmcabrita•30m ago•0 comments

867-5309: Famous '80s song phone number now directs to cancer support line

https://thehill.com/blogs/in-the-know/5787896-867-5309-cancer-hotline/
2•rolph•33m ago•0 comments

Tangled Newsletter 01 – Hello

https://blog.tangled.org/newsletter-01/
1•birdculture•34m ago•0 comments

White House probes wave of missing or dead American scientists

https://www.foxnews.com/video/6393235356112
9•genphy1976•35m ago•0 comments

EsoNatLangs: Esolangs that embrace the complexities of natural language

https://esoteric.codes/blog/five-esonatlangs
3•xpointer•37m ago•0 comments

How to Build an Agent Or: The Emperor Has No Clothes (2025)

https://ampcode.com/notes/how-to-build-an-agent
1•tehnub•40m ago•0 comments

Sidephone: A minimalist Android phone with swappable USB keypads

https://www.sidephone.com/
1•phantomathkg•40m ago•0 comments

Georgia's Voting Technology Blunder

https://pluralistic.net/2026/04/18/dominion-sucks-actually/
3•hn_acker•42m ago•0 comments

Matt Mullenweg Says "The Wheels Have Fallen Off" in WordPress

https://www.therepository.email/matt-mullenweg-says-the-wheels-have-fallen-off-in-wide-ranging-wo...
8•rpgbr•44m ago•3 comments

Information Scent: How Users Decide Where to Go Next (2020)

https://www.nngroup.com/articles/information-scent/
1•alberto-m•44m ago•0 comments

Unearthly Terrors: Event Horizon (1997)

https://theasc.com/magazine/aug97/event/main.htm
2•exvi•49m ago•0 comments

The USDA's gardening zones have shifted. (Interactive app and map)

https://apps.npr.org/plant-hardiness-garden-map/
9•nuke-web3•49m ago•1 comments