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

Flip-Disk Art

https://theartistbreakfast.com/flip-discs
1•sargstuff•2m ago•0 comments

Pginsights – self-hosted Postgres monitoring that never leaves your network

https://pginsights.dev
1•jerrypenna•3m ago•0 comments

GPT-6 is now #2 on updated Artificial Analysis intelligence index

https://artificialanalysis.ai/#intelligence
1•pranshuchittora•3m ago•0 comments

MiniCPM5-2B achives the highest AA score of any model with up to 4B paramaters

https://huggingface.co/openbmb/MiniCPM5-2B
1•theanonymousone•4m ago•0 comments

Show HN: vertumnus – printable posters of farmers' market produce seasonality

https://vertumnus.fyi
1•perspectivezoom•4m ago•0 comments

LLMs Are the New Wikipedia: Every old criticism is new again

https://data4sci.com/blog/llms-are-the-new-wikipedia
1•Anon84•5m ago•0 comments

Ask HN: Best sentence corpora with native audio for language learning?

1•treetalker•5m ago•0 comments

Strata – A design system that records decisions, not components

https://github.com/Prometheus-000/strata
1•prometheus-000•5m ago•1 comments

Tesla's Cybercab has been deployed, and it's already under investigation

https://www.wired.com/story/tesla-cybercab-officially-launches-today-its-already-under-investigat...
2•vintagedave•5m ago•0 comments

Build a digitally sovereign second brain

https://www.raspberrypi.com/news/build-a-digitally-sovereign-second-brain/
1•Brajeshwar•6m ago•0 comments

Capping bug bounty submissions is the wrong response in the AI era

https://9to5mac.com/2026/09/05/capping-bug-bounty-submissions-is-the-wrong-response-in-the-ai-era...
1•geox•7m ago•0 comments

The leap second is dead. Long live the leap hour?

https://www.nature.com/articles/d41586-026-02669-0
1•ksec•8m ago•0 comments

BBC Exile fitted a 64kb map into 32kb of RAM [video]

https://www.youtube.com/watch?v=MdPz9dLmOtI
1•andygeers•9m ago•0 comments

Optimizing a Spin-Lock

https://david.alvarezrosa.com/posts/optimizing-a-spin-lock/
4•dalvrosa•10m ago•0 comments

Five dead after Amazon cargo plane overruns runway at Miami Airport

https://abcnews.com/US/cargo-plane-overruns-runway-miami-international-airport-faa/story?id=13624...
2•dj_rock•11m ago•0 comments

Rust debugging survey 2026 results

https://blog.rust-lang.org/2026/09/07/rust-debugging-survey-2026-results/
2•HieronymusBosch•11m ago•0 comments

Show HN: A local visual tool cli/mcp for agents to propose architecture changes

https://github.com/luiscleto/WorkBraid
1•lfcc•11m ago•0 comments

Should you avoid blue light before bed?

https://www.economist.com/science-and-technology/2026/09/04/should-you-avoid-blue-light-before-bed
3•bookofjoe•12m ago•1 comments

Generals – Conquer the live world map

https://generals.lol
1•mshermamatov•12m ago•0 comments

Bridge – give your coding agent the reasoning, not just the PRD

https://bridge.strine.com.br
1•nathanpramos•16m ago•0 comments

Wiggle is a durable workflow engine – and the control plane to shard it

https://github.com/hadielmougy/wiggle
1•Bluestein•16m ago•0 comments

Docxion – Open-Source Document Viewer for Doc, Docx, XLS, XLSX, PPT and PPTX

https://github.com/MJrFusion/Docxion
1•gabrielmucachoj•17m ago•0 comments

Claude Code plugin that shunts work saving 82-94% of tokens

https://github.com/sorantis/portal-ai-plugins/tree/add-shunt-claude/plugins/shunt
2•Bluestein•18m ago•0 comments

Devenv 2.3: Portless and TUI configuration

https://devenv.sh/blog/2026/09/07/devenv-23-portless-and-tui-configuration/
1•domenkozar•18m ago•0 comments

Tracarbon: Track GPU power and carbon emissions while running local LLMs

https://github.com/fvaleye/tracarbon
1•fvaleye•19m ago•0 comments

Nanobench: A simple and fast single-header microbenchmarking library for C++

https://nanobench.ankerl.com
2•Almondsetat•19m ago•0 comments

Isaac Newton's remarkable year – and the plagiarism accusations that followed

https://www.nature.com/articles/d41586-026-02808-7
2•Brajeshwar•19m ago•0 comments

Do remastered albums ever sound better than the originals?

https://elezea.com/2026/08/do-remasters-ever-win/
2•sea-gold•20m ago•0 comments

Openfork – a public idea board where AI agents can post, roast, and fork via MCP

https://openfork.co/
1•twkip•20m ago•0 comments

More damaging than the 'tractor spy' narrative is the witch-hunt mentality: Glob

https://www.globaltimes.cn/page/202609/1369957.shtml
1•pir8life4me•21m ago•1 comments