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

Show HN: Pip – Your Git history puts you on a Performance Improvement Plan

https://github.com/littlestjames82-sys/pip-pip
1•ghostdevstudio•33s ago•0 comments

Ask HN: What positive impact has AI had in the past 5 years?

1•meredithbloom•3m ago•0 comments

Official Microsoft agent-framework PyPI package compromised

https://opensourcemalware.com/blog/agent-framework-pypi-compromised
2•jruohonen•7m ago•0 comments

Rust doubled on GitHub in the year agents started 40% PRs

https://hyscaler.com/insights/the-internet-is-getting-rusty/
2•royraghav28•8m ago•1 comments

Danish researchers find efficient solution to the four colour problem

https://via.ritzau.dk/pressemeddelelse/15284557/breakthrough-danish-researchers-find-efficient-so...
1•theanonymousone•9m ago•0 comments

Stickers on Buttons: Why South Korea's Suneung AI cheating patch won't hold

https://siwoo.lol/note/stickers-on-buttons/
1•siwoo•10m ago•0 comments

Microsoft's official Python agent framework hijacked to distribute malware

https://www.theregister.com/security/2026/11/18/microsofts-official-python-agent-framework-hijack...
1•MadrasTh0rn•12m ago•0 comments

Featherweight, flying robot carries its own sensors and computers

https://news.mit.edu/2026/featherweight-flying-robot-carries-its-own-sensors-and-computers-1118
1•geox•12m ago•0 comments

Wall Street Pledged to Mobilize $500B for Nvidia–But Hasn't Put Up a Dime

https://www.wsj.com/finance/wall-street-pledged-to-mobilize-500-billion-for-nvidiabut-hasnt-put-u...
1•JumpCrisscross•15m ago•0 comments

Every one of my "show" posts is removed immediately

1•selectedambient•16m ago•1 comments

Show HN: Port.fm – Internet radio tuned by decade, energy, or location

https://port.fm/
1•fozuse•17m ago•0 comments

Nvidia Chips Ended Up Within Reach of China's Military

https://www.nytimes.com/2026/11/18/technology/nvidia-alibaba-china-military.html
1•JumpCrisscross•17m ago•1 comments

Towards Universal Data-Efficient Pretraining

https://qlabs.sh/research/applications/
1•Klaster_1•18m ago•0 comments

Show HN: Why Zero to One's Thesis Falls Short with Healthcare

https://davidngo1562.substack.com/p/its-not-about-the-money-until-it
1•illidan1000•21m ago•0 comments

The smart money is selling equity

https://www.acadian-asset.com/investment-insights/owenomics/the-smart-money-is-selling-equity
2•shoo•22m ago•0 comments

Turning one photo into a Goodbye GTA 5 AI video

https://gta5goodbyeai.com/
1•visiohex•23m ago•0 comments

Google Embraces Geothermal Technology to Vaporize Rock for Clean Power

https://www.wsj.com/business/energy-oil/google-embraces-geothermal-technology-to-vaporize-rock-fo...
1•gmays•29m ago•0 comments

As Meta bets big on Muse AI agent, early safety mishaps surface

https://www.reuters.com/investigations/meta-bets-big-muse-ai-agent-early-safety-mishaps-surface-2...
2•spenvo•30m ago•0 comments

Fluent Interface in C – Look ma, no this

https://opensource.googleblog.com/2026/11/fluent-interface-in-c-look-ma-no-this.html
1•matt_d•33m ago•0 comments

Signs of Eagle Predation on a 22-Kg Adult Primate

https://onlinelibrary.wiley.com/doi/10.1002/ajpa.70377
1•gumby•35m ago•0 comments

Email Encryption

https://computer.rip/2026-07-19-email-encryption.html
1•fagnerbrack•35m ago•0 comments

Show HN: The FODMAP mistake most health writers make

1•kouautomation•36m ago•1 comments

I'm starting a book club but for math and physics textbooks

https://www.penandpaperclub.com/why
3•wheresclark•38m ago•3 comments

Pyrefly v1.5.0

https://github.com/pyrefly-org/pyrefly/releases/tag/1.5.0
1•fishgoesblub•39m ago•1 comments

Twig 1.16– Android file manager with per-folder sorting and intro/outro skipping

https://github.com/dev2ex/twig/releases/tag/v1.16.0
1•dev2ex•42m ago•0 comments

My missed keyboard shortcuts used to be safe places

https://pcblues.com/personal/usability/2026/11/19/omarchy-and-keyboard-shortcuts.html
1•pcblues•44m ago•1 comments

GTA 6 Released

https://www.bbc.com/news/live/c60rkg21dl22t
1•qtqtqt•44m ago•1 comments

Microsoft-Decision-1.1 is now GA for fast, low-cost decision making

https://commandline.microsoft.com/microsoft-decision-model-ga/
1•gmays•50m ago•0 comments

Tech Lancaster

https://techlancaster.org/
1•linuxkernal•54m ago•0 comments

Stop

https://geoffralston.substack.com/p/stop
2•nsainsbury•54m ago•0 comments