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

I, for one, welcome the softwarification of math

https://www.approachwithalacrity.com/p/i-for-one-welcome-the-softwarification
1•bblcla•22s ago•0 comments

How HN: Try to pull one record out of our confidential-computing job platform

https://kiersys.com/desafio-k-shield.html
1•lionelcarrerasn•23s ago•0 comments

US weekly jobless claims drop to more than 57-year low

https://www.reuters.com/world/us/us-weekly-jobless-claims-decline-further-2026-12-03/
2•frank_clover•1m ago•0 comments

I'm not convinced by Rust in 2026

https://blog.arkency.com/im-not-convinced-by-rust-in-2026/
1•andrzejkrzywda•1m ago•0 comments

Port Authority Wayfinding Manual

https://wayfinding.panynj.gov/
1•imbobbytables•5m ago•0 comments

Google Engineers Exploring "Extmem" for Linux NUMA-Aware Boot Memory Carving

https://www.phoronix.com/news/Linux-Extmem
1•speckx•6m ago•0 comments

Huang concedes computers with Nvidia chips smuggled into China

https://www.rte.ie/news/us/2026/1203/1601519-nvidia-congress/
3•austinallegro•7m ago•0 comments

Executive Orders by US President

https://www.kadoa.com/potus/insights/executive-orders
1•hubraumhugo•8m ago•0 comments

Show HN: Running a 27B LLM with 176K context on a single RTX 4090

https://github.com/spk-c/ninfer-all-rtx4090
1•slpdev•9m ago•0 comments

Next.js now has experimental native Go support

https://nextjs.org/blog/next-16-5
2•askadityapandey•9m ago•0 comments

A 30-year movie of Tycho's supernova remnant expanding

https://www.universetoday.com/articles/a-30-year-movie-of-tychos-supernovas-expanding-blast-wave
1•titusblair•9m ago•0 comments

Openware: Open-source firmware for the Miniware TS1C cordless soldering station

https://github.com/openware-project/openware-ts1c
1•titusblair•9m ago•0 comments

The Internet of Letterboxes: ZG-102ZM Review

https://shkspr.mobi/blog/2026/12/the-internet-of-letterboxes-zg-102zm-review/
2•titusblair•10m ago•0 comments

The project of software is complete

https://freddiedeboer.substack.com/p/the-project-of-software-is-complete
1•tonyedgecombe•10m ago•0 comments

Productive Friction: Keep learning when agents write the code

https://thelastsoftwareengineer.substack.com/p/productive-friction-keep-learning
1•azhenley•10m ago•0 comments

Infinite Hands: Healthcare's Robotics Moment

https://www.a16z.news/p/infinite-hands-healthcares-robotics
1•crescit_eundo•12m ago•0 comments

Laravel for x86-64 Assembly

https://github.com/Dava96/laravel-assembly-x86-64
2•dupontcyborg•12m ago•0 comments

Show HN: Lumio – see what your AI coding agents are doing in the MacBook notch

https://lumiomac.com/
1•lumiomac•13m ago•0 comments

OpenAI: We Measure Alignment

https://openai.com/index/how-we-measure-alignment/
3•acossta•14m ago•0 comments

OpenRSI-Physics: AI agents find 39 new discoveries and 5 rediscoveries

https://openrsi.foundation/openrsi-physics/#discoveries
2•cybermango•14m ago•0 comments

When the RISC-V ISA Is the Weakest Link

https://www.adacore.com/blog/when-the-isa-is-the-weakest-link
1•chubot•15m ago•0 comments

QSL? (Do You Confirm Receipt of My Transmission?) (2022)

https://standardsmanual.com/products/qsl
1•NaOH•15m ago•0 comments

Flux 3.1 Image

https://bfl.ai/blog/flux-3-1
2•leumon•16m ago•0 comments

Ask HN: Why Aren't You Vibecoding?

5•pancakeguy•17m ago•5 comments

Transcript: What Changes People's Minds About Politics

https://newrepublic.com/article/217115/transcript-actually-changes-people-minds-politics
1•Tomte•17m ago•0 comments

Post-quantum key exchange in Tailscale v1.106

https://tailscale.com/blog/pqc-key-exchange
11•tatersolid•17m ago•0 comments

Show HN: Limen – Muse as an OpenAI-Compatible API

https://github.com/streambinder/limen
1•dpucci•20m ago•0 comments

Without agreement on new CBA, MLB commences lockout

https://www.mlb.com/news/mlb-lockout-begins-december-2-2026
1•LouisLazaris•20m ago•0 comments

Google's Technical PQC Strategy

https://cloud.google.com/security/resources/post-quantum-cryptography
1•mikeleeorg•20m ago•0 comments

Roberts quasirandom sequences in fixed point

https://github.com/anael-seghezzi/Maratis-Tiny-C-library/wiki/Roberts-quasirandom-sequences-in-fi...
1•ibobev•20m ago•0 comments