frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Open in hackernews

Scarf has moved away from Haskell

https://avi.press/posts/2026-07-10-after-7-years-in-production-scarf-has-reluctantly-moved-away-from-haskell.html
18•aviaviavi•50m ago

Comments

noelwelsh•16m ago
Wow. Not a Haskell user, but a big user of other languages with expressive type systems (mostly Scala; some Rust). My experience is the complete opposite. I can't imagine using a language without a good type system to catch all the junk the LLM produces. In fact I thought people would move away from languages from poor type systems, like Python, given the cost of using languages with expressive type systems has decreased with LLMs.
ffreire•8m ago
IME Python has been very pleasant to use with types, even though they are not nearly as expressive as Haskell. I've noticed a shift in my own work where I spend more time playing with/manipulating change than I do making sure things type check. That does happen, of course, but it happens with less frequency then when I was writing Haskell by hand. During that time, I'd have stack running tests on file change and it was pretty smooth as well, but that workflow breaks down a bit with the current generation of agent harnesses we have.
giraffe_lady•7m ago
I'm pretty sure that's the general trend and it will continue.

But I do think what benefits LLMs is the speed and accuracy of feedback. Type systems cover the accuracy part, but haskell was killing them on speed. It seems like a strange choice to go so far the other way on accuracy when there's a lot of languages in between. But I'm not familiar with the project so not in a position to call it.

It's not also really about expressiveness IMO. I've found LLMs to be best with more constrained type systems: they are better at ocaml than they are at typescript.

em-bee•5m ago
exactly, i find the article a wierd take. i would have thougt thst being able to catch errors at compile time is the assurance that the LLM generated code is actually decent.

so does this mean that the LLM writes code that is so good that the compiler does not find any more errors?

or is it due to the nature of haskell that makes it hard to write bad code to begin with?

or just that because the haskell compiler catches more errors there is less broken haskell code of the AI to train on?

and what does that mean for the switch to python? if the python compiler/interpreter doesn't catch as many errors do we even know that the code is good?

or is this more like the belief if the LLM cab generate good haskell code, surely it can also generate good python?

what's the solution here? speeding up the haskell compiler? if that were easy, would it not already have happened?

muragekibicho•14m ago
I'm not trying to be reductive but the article's a lot of words for "We're vibecoding our app now and the glorious (almost almighty) Haskell compiler is too slow for the agent to iterate it's mistakes until it gets it right."
weinzierl•10m ago
This thought completely neglects the idea that Haskell probably need significantly less compiler runs because every run catches more errors and gives more information about them.

And that is not even considering how often the agent needs to run tests to get it right?

matt2000•9m ago
I am increasingly wondering if we are in a post-language world in terms of development. Why would I ask an agent to write a server in anything other than the most efficient language, although efficiency can take several forms: runtime, token usage during development, and wall clock dev time (affected by slow compile times for example).

My intuition is that type-safe languages with fast compilers are the best option. Maybe Go? I personally prefer Java just due to my experience running it in production, but am not sure there's many arguments for it over Go in a greenfield application. The other candidate would be Rust, but I worry about token efficiency and tool performance, I suspect it's not worth it for the runtime improvements.

All that being said, in this article switching to Python seems like a wild choice. Relatively poor performance, no compile time checking at all. Python's big selling point was developer ergonomics, which seems largely irrelevant now.

These are all just thoughts at the moment, I should try to find some evidence one way or another.

ffreire•3m ago
Language choice had less impact than people first assume even before LLMs in most software. A good engineering team produces good code in whatever language they happen to be using. In my own career I've worked in serious Java, Scala, Haskell, Javascript, PHP, and Python application stacks and I've seen plenty of good and bad examples.

I reckon language choice matters more at the edges of economic activity where a specific language feature really does make the difference in the end product, but most activity that is leveraging LLMs now is more generic enterprise SaaS software.

bbmatryoshka•57s ago
You are ignoring LLM-ergonomics, some time ago I saw benchmarks showing that popularity the language (and so more data available in training date) was strongly linked with LLM's performances, with top results with javascript and python. I don't know if a year later this is still true, but is absolutely possible

Ask HN: Illustration Themes in AI Apps?

1•davidajackson•1m ago•0 comments

Show HN: Bank statement PDF to Excel, checked against its own balances

https://bankstatementsheet.com/
1•alimpolat2026•1m ago•0 comments

How a query optimization gave birth to infinite scroll [video]

https://www.youtube.com/watch?v=Tzt89dHF79Y
1•impish9208•1m ago•0 comments

Sol 5.6 on $20 Codex did 2.2x more average tasks than Fable 5 on $20 ClaudeCode

https://devforth.io/agents-for-code/
1•deviscool•3m ago•0 comments

Meta Is Ushering in the Era of the K-Shaped Company

https://www.bloomberg.com/opinion/articles/2026-07-10/meta-s-ai-revolution-is-creating-a-two-tier...
1•helsinkiandrew•3m ago•1 comments

Automated Moderation Is Here to Stay–Accountability Must Keep Pace

https://www.eff.org/deeplinks/2026/07/part-2-automated-moderation-here-stay-accountability-must-k...
1•hn_acker•4m ago•0 comments

Rise of the Gen-Z Luddite

https://www.economist.com/united-states/2026/07/09/rise-of-the-gen-z-luddite
1•andsoitis•4m ago•0 comments

Show HN: Tiny ONNX Runtime Web Worker Starter

https://github.com/makan0713/onnx-web-worker-starter
1•lumli•6m ago•0 comments

The timesheet wasn't lying. It was blind

https://meridiona.com/new/writing/invisible-work
1•adithyaharish•6m ago•1 comments

Public Schools Are Failing to Prepare for Fewer Kids

https://www.bloomberg.com/opinion/articles/2026-06-24/public-schools-are-failing-to-prepare-for-f...
1•toomuchtodo•8m ago•1 comments

Cuba sees nationwide power blackout for third time in six months (aljazeera.com)

https://www.aljazeera.com/news/2026/7/7/cuba-sees-nationwide-power-blackout-for-third-time-in-six...
1•gridmatters•9m ago•1 comments

Everything a Child Learns

https://withmarble.com/curriculum/
1•theanonymousone•10m ago•0 comments

472,712 Price Changes: Wednesday and Thursday Dominate

https://beaconmon.com/blog/shopify-competitor-price-change-timing
1•haimanotgetu•11m ago•0 comments

Planned Texas data centers could emit more greenhouse gases than many countries

https://www.texastribune.org/2026/07/09/texas-data-centers-ai-power-plants-pollution-state-permits/
1•hn_acker•11m ago•1 comments

Netflix Exploring Live TV and Bundles as It Struggles to Keep Viewers Hooked

https://www.wsj.com/business/media/netflix-is-exploring-live-tv-and-bundles-as-it-struggles-to-ke...
1•bookofjoe•12m ago•4 comments

Ask HN: Thoughts on a MCP to manage cloud and AI spend?

1•edifil•12m ago•0 comments

Toward Environmental Liberalism

https://blog.andymasley.com/p/toward-environmental-liberalism
1•jger15•13m ago•0 comments

Show HN: CiteReady – Can AI search (ChatGPT, Perplexity) cite your site?

https://citeready.sprytools.com/
1•grenzfrei•13m ago•0 comments

Show HN: Run 25 Audio Models (TTS/STT/STS/Muisc) Locally in C++/GGML. No Python

https://github.com/0xShug0/audio.cpp
1•0xshug0•15m ago•0 comments

China retrieves booster in reusable rocket breakthrough

https://www.dw.com/en/china-retrieves-booster-in-reusable-rocket-breakthrough/a-77904960
1•tuxie_•15m ago•0 comments

Michigan's explosive outbreak of diarrheal parasite jumps to over 1,200 cases

https://arstechnica.com/health/2026/07/michigans-explosive-outbreak-of-diarrheal-parasite-jumps-t...
1•rbanffy•15m ago•0 comments

Show HN: ParkMyAws – stop paying for dev/staging AWS instances at night

https://parkmyaws.com
1•moisish•15m ago•0 comments

Productivity by Sam Altman

https://blog.samaltman.com/productivity
2•nanfinitum•16m ago•0 comments

Show HN: New TLS 1.3 (RFC-8446) implementation written in Rust

https://github.com/c410-f3r/wtx
1•CaioFer•16m ago•0 comments

Anthropic found a hidden space where Claude puzzles over concepts

https://www.technologyreview.com/2026/07/09/1140293/anthropic-found-a-hidden-space-where-claude-p...
2•Brajeshwar•17m ago•0 comments

The AI Picbreeder Experiment

https://pub.sakana.ai/picbreeder-vlm/
1•hardmaru•18m ago•0 comments

Why Human+AI collaboration beats AI-only automation

https://www.techradar.com/pro/why-human-ai-collaboration-beats-ai-only-automation
1•ilreb•20m ago•0 comments

We Carried Out the Red/Blue Button Experiment with Life or Death Stakes

https://thebsdetector.substack.com/p/we-carried-out-the-redblue-button
1•surprisetalk•20m ago•0 comments

Looma – turn coding-agent history into resumable project context

https://github.com/devYRPauli/looma
3•yashrajpandey•21m ago•0 comments

I found the e-ink monitor I've been waiting for, and it changes how I work

https://www.xda-developers.com/finally-found-e-ink-monitor-waiting-for-changes-how-work/
2•raffael_de•21m ago•0 comments