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

Apples to Apples: MLX vs. Llama.cpp for Gemma 4 12B on an M1 16GB

https://ziraph.com/blog/apples-to-apples-mlx-vs-llama-cpp-gemma-4
1•ABS•3m ago•0 comments

A Job Market Leaving Young Graduates Behind Could Scar Them for Years

https://www.nytimes.com/2026/06/05/business/college-graduates-job-market.html
1•mooreds•3m ago•0 comments

Show HN: VSCode Extension for .env

https://marketplace.visualstudio.com/items?itemName=Chrilleweb.dotenv-diff
1•chrillemn•3m ago•0 comments

Anthony Head, Buffy the Vampire Slayer and Ted Lasso actor, dies aged 72

https://www.theguardian.com/tv-and-radio/2026/jun/05/anthony-head-death-buffy-the-vampire-slayer
1•ohjeez•4m ago•0 comments

Anthropic urges AI development 'pause' and conversation about risks

https://www.theguardian.com/technology/2026/jun/05/anthropic-urges-temporary-pause-on-ai-developm...
1•uxhacker•4m ago•0 comments

Show HN: Amanuensis – a local-first AI persona that won't fabricate facts

https://github.com/msalsas/amanuensis
1•msalsas•5m ago•0 comments

Launch HN: General Instinct (YC P26) – Frontier models on edge devices

2•guanming0717•6m ago•0 comments

The company I work for is losing all of its humanity, I don't know where to go

https://superlemon.bearblog.dev/the-company-i-work-for-is-losing-all-of-its-humanity-but-i-dont-k...
1•speckx•7m ago•0 comments

Don't Dethrone Consciousness

https://www.theintrinsicperspective.com/p/dont-dethrone-consciousness
1•jbotz•8m ago•0 comments

Bullets don't shoot people. So why do cars 'kill' cyclists?

https://roadragers.netlify.app/
1•raybb•9m ago•0 comments

Ask HN: How do you stay up to date without information overload?

1•bohdanstefaniuk•10m ago•0 comments

LLM Serving and the Bus That Never Stops

https://joker666.github.io/blog/2026-06-02-llm-serving-in-flight-batching
1•joker666•12m ago•0 comments

Designing with Mustard

https://annaecook.com/writing/2026/designing-with-mustard
1•speckx•15m ago•0 comments

'Buy Canadian' in defence software is hollow without teeth

https://vantechjournal.com/p/buy-canadian-in-defence-software-is-hollow-without-teeth
1•ClearwayLaw•17m ago•1 comments

Android development is now Compose First

https://skip.dev/blog/compose-first/
1•marcprux•17m ago•0 comments

For Renovation Contractors and DIYers

https://renosheets.com/
1•LGMTL•19m ago•1 comments

Gemma 4 QAT models: Optimizing compression for mobile and laptop efficiency

https://blog.google/innovation-and-ai/technology/developers-tools/quantization-aware-training-gem...
2•theanonymousone•20m ago•0 comments

Show HN: Solectio – design, compare and share rooftop solar configurations

https://solectio.ottimai.com/
1•leomos•22m ago•0 comments

Let's celebrate work that is 100% human-made

https://www.human-made.work/
1•supryan•22m ago•0 comments

The Self-Tracking Trap: When More Health Data Creates More Anxiety

https://www.businessinsider.com/wellness-tracking-apps-sleep-score-stress-hurting-health-2026-6
1•sahar_builds•23m ago•0 comments

Mapped all 10 types against weaknesses in Pokémon TCG Pocket (interactive grid)

https://pocketcards.net/matchups
1•bat0x01•23m ago•0 comments

Y Combinator's CEO says he ships 37,000 lines of AI code per day

https://www.fastcompany.com/91520702/y-combinator-garry-tan-agentic-ai-social-media
3•claudiacsf•23m ago•1 comments

Ask HN: Are orbital data centers possible / a good idea?

3•aronowb14•26m ago•5 comments

Jolt: Clojure Interpreter on Janet

https://github.com/yogthos/jolt/
13•veqq•30m ago•0 comments

Show HN: A Simplistic UI for Rich Hickey's Design in Practice

https://github.com/bmillare/design_in_practice_ui
2•bmillare•30m ago•1 comments

Show HN: DSA Trainer, LeetCode practice with a hint ladder instead of spoilers

https://dsatrainer.com/
1•dsatrainer•30m ago•0 comments

U.S. Military Turned GPS into a Global "Numbers Station"

https://www.404media.co/the-u-s-military-quietly-turned-gps-into-a-global-numbers-station-evidenc...
16•awkwardpotato•33m ago•1 comments

Vibe Justice System – AI Courts convened in pursuit of correctness

https://github.com/wlilley93/vibe-justice-system
2•wlilley93•33m ago•0 comments

Alien hunters update guidance on sharing news of possible intelligent life

https://www.theguardian.com/science/2026/jun/05/alien-hunters-seti-guidance-signals-intelligent-life
3•root-parent•33m ago•0 comments

10k Lines Later: When a Tool Became a Compiler [video]

https://www.youtube.com/watch?v=wVQLEAHrwrI
4•robspairpears•33m ago•0 comments