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

Comments

smitty1e•6mo 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•6mo 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•6mo 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•6mo 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•6mo 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•6mo ago
I had to stop and re-read this comment chain because I was sure this was satire
agentultra•6mo 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•6mo 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•6mo 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•6mo 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•6mo 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: Flux2.cloud – Free, unlimited Flux.2 AI image generator (no account)

https://flux2.cloud
1•console-log•2m ago•0 comments

The 1-Click Localhost Cloud

https://pinokio.co/
1•vyrotek•4m ago•0 comments

Bayesian Neural Networks (2018) [pdf]

https://arxiv.org/abs/1801.07710
1•swatson741•4m ago•0 comments

Show HN: MakeSkill – The Intelligent Skill Builder for Claude

https://makeskill.cc
1•thanhdongnguyen•5m ago•0 comments

Show HN: JW Tool Box – Free, privacy-first web tools (PDF, Image, Converters)

https://www.jwtoolbox.com/
1•kurokosama•5m ago•0 comments

Did the Giant Heads of Easter Island Once Walk?

https://www.nytimes.com/2025/11/26/science/archaeology-easter-island-rapa-nui.html
3•Stratoscope•15m ago•2 comments

Americans are holding onto devices longer than ever and it's costing the economy

https://www.cnbc.com/2025/11/23/how-device-hoarding-by-americans-is-costing-economy.html
2•cardamomo•15m ago•1 comments

Ask HN: Do you use your phone as hotel/free WiFi condom for laptops?

1•ebfe1•20m ago•2 comments

Apple projected to beat Samsung in smartphone shipments first time since 2011

https://www.foxbusiness.com/markets/apple-projected-beat-samsung-smartphone-shipments-first-time-...
1•andsoitis•20m ago•0 comments

A neuropsychology of political orientation: ideology in patients w lesions

https://pmc.ncbi.nlm.nih.gov/articles/PMC7935085/
1•DrierCycle•26m ago•4 comments

Why Use React?

https://adactio.com/journal/22265
2•nnx•31m ago•1 comments

Show HN: Non-Custodial Cryptocurrency Payment Gateway

https://coinpayportal.com
2•cranberryturkey•37m ago•1 comments

The Racist, AI-Generated Future of Entertainment

https://www.theatlantic.com/culture/2025/11/will-stancil-show-ai/685058/
4•jdkee•40m ago•5 comments

Tim Sweeney thinks Steam should stop labelling games as being made with AI

https://www.pcgamer.com/software/ai/epic-boss-tim-sweeney-thinks-stores-like-steam-should-stop-la...
2•evo_9•44m ago•0 comments

CoinTracker Third-party security incident (Mixpanel)

4•dotmanish•44m ago•1 comments

Can Management Be Outsourced?

1•ymanagers•47m ago•0 comments

Google Hotels API

https://github.com/johnisanerd/Apify-Google-Hotels-API
1•johncole•51m ago•0 comments

Show HN: I built a D2C supply chain for my village's Makhana farmers using Bolt

https://earthborn-barsoi.vercel.app/
2•Vikkyv•52m ago•2 comments

Cryo-electron microscopy shows how statins harm muscles

https://medicalxpress.com/news/2025-11-statins-muscles.html
3•walterbell•52m ago•0 comments

People as Foundation: The Productive Capacity Theory of Money – Part 1

https://danieltan.weblog.lol/2025/11/people-as-foundation-the-productive-capacity-theory-of-money...
1•danieltanfh95•56m ago•0 comments

My Idea of What's in the Female Erotica Section of the Bookstore

https://markusstrasser.org/smut
2•eatitraw•1h ago•0 comments

Show HN: Upgrade Charm Crush with search in 9 lines

https://anduil.neocities.org/blog/?page=mcp
1•andai•1h ago•0 comments

Show HN: Turkey Time – A little game about cooking turkey

https://turkey-time.replit.app
1•rootforce•1h ago•0 comments

DIY NAS: 2026 Edition

https://blog.briancmoses.com/2025/11/diy-nas-2026-edition.html
25•sashk•1h ago•13 comments

Graph Algorithms in Rayon

https://davidlattimore.github.io/posts/2025/11/27/graph-algorithms-in-rayon.html
2•todsacerdoti•1h ago•0 comments

Watch and

https://u.fsf.org/escape-to-freedom
1•genxlaura•1h ago•0 comments

The Zero-Width Space-Place

https://starikov.co/zero-width-space/
1•thunderbong•1h ago•0 comments

Green Card Interviews End in Handcuffs for Spouses of U.S. Citizens

https://www.nytimes.com/2025/11/26/us/trump-green-card-interview-arrests.html
55•nxobject•1h ago•12 comments

The Legend of Kipp Hickman

https://www.feistyduck.com/newsletter/issue_131_the_legend_of_kipp_hickman
1•smitty1e•1h ago•0 comments

Vibe coding: What is it good for? Absolutely nothing

https://www.theregister.com/2025/11/24/opinion_column_vibe_coding/
4•galaxyLogic•1h ago•3 comments