Hacker News

Top stories

Live mirror
30 storiesupdated just nowView source snapshot
  1. Dutch governments builds alternative for Microsoft based on NixOS (dawo.community)
    65comments
  2. Tech Needs Humanists More (passo.uno)
    13comments
  3. Pentium II at 600Mhz with Voodoo 3 Emulated on 86Box with M6 Mac Mini (nyaa.sh)
    19comments
  4. F-Droid 2.0 (f-droid.org)
    359comments
  5. Ink and Switch Interactive Homepage (inkandswitch.com)
    1comments
  6. CVE-2025-13032: Entering and Breaking the Avast Antivirus Sandbox Part 2 (safateam.com)
    11comments
  7. Special Projects (2016) (openai.com)
    2comments
  8. Show HN: Make cursed fonts like Times New Bastard (mitpit.com)
    94comments
  9. Show HN: Whiteboard (YC W26) – An open-source IDE for thoughtful software design (github.com/devdotfast)
    117comments
  10. Why is the liver so weirdly regenerative? (dynomight.substack.com)
    209comments
  11. 2DWillNeverDie (2dwillneverdie.com)
    53comments
  12. Jev Based Code Review (github.com/egma-ai)
    39comments
  13. Fearless SIMD v1.0 (linebender.org)
    36comments
  14. Rails World 2026 Opening Keynote [video] (youtube.com)
    368comments
  15. Toyota is taking the Corolla electric (electrek.co)
    600comments
  16. My weird new hobby: Wandering around Tokyo on Google Maps (ahmedhossamdev.com)
    154comments
  17. Using LLMs to trace alchemical knowledge and decode 17th century letters (resobscura.substack.com)
    28comments
  18. What About Rails? (jardo.dev)
    19comments
  19. Opus 5.5 is good at explainer videos (launchvideo.io)
    134comments
  20. Google’s Project Suncatcher to put ML infrastructure in space (blog.google)
    380comments
  21. Two-tier encryption in the UK (macanorak.com)
    406comments
  22. Writing Parquet files using Haskell (datahaskell.org)
    18comments
  23. Book review: Is parallel programming hard, and, if so, what can you do about it? (ahelwer.ca)
    56comments
  24. The Board Game of the Alpha Nerds (2014) (grantland.com)
    43comments
  25. Sourcehut account takeover via build logs (XSS in ansi2html) (blog.arusekk.pl)
    23comments
  26. The Bayeux Tapestry: Woven by the Victors (historytoday.com)
    12comments
  27. Nokia Design Archive (2025) (aalto.fi)
    128comments
  28. California is chasing wealth that has feet (landeconomics.org)
    655comments
  29. Show HN: Air-gapped file encryption as self-decrypting HTML page (apeleg.com)
    23comments
  30. WaveDigger: Dig into wireless signals to discover their physical locations (github.com/christianrowlands)
    22comments

Writing Parquet files using Haskell

62 pointsby 2d agodatahaskell.org
13 comments
3h agoHN ↗

Looks like a pretty cool community building great tools with care. Using a functional language for data transforms sounds like a sane idea, haven't played around with it yet but it's definitely on my list now.

However they claim using Haskell for data science is "fast", which doesn't really mean anything until you have numbers to show. A little benchmark with pandas and polars wouldn't hurt I guess.

2h agoHN ↗

That's not what I see reported, they say Haskell tends to have bad memory layout generally and takes a 5x or so hit to performance.

2h agoHN ↗

Java ain't slow even if you do really stupid stuff. Hell, I would even argue that java is the most resistant to stupid code. Some way over-abstracted everything linked data structure will be faster in java than it is in C.

1h agoHN ↗

Haskell's most badly optimised type, is the String.

Java's most badly optimised type, is the String.

Both of them need a string-builder pattern, the default operators don't work around things to do the right thing for you. They expect you to understand how data works.

1h agoHN ↗

I still love Haskell, had dedicated several years to it while at the university. Was impossible to land a job with Haskell. Did some Scala but it’s in demise. F# and OCaml are extremely niche. Ever fewer opportunities and engineering management is convinced it’s impossible to hire functional programmers.

In this new AI-driven world, is there still place for such a luxury as functional programming?

I mean few people still code by hand, few read the generated code, models aren’t trained on functional languages, it’s inefficient token wise to use functional languages - while a lot become self-proclaimed software engineers overnight by just prompting LLMs.

1h agoHN ↗

there are a lot of strong claims here, but to just pick one:

inefficient token wise to use functional languages

where does that idea come from?

1h agoHN ↗

Hiring for Haskell is very easy, unless you need to hire more than 100 people on the spot, or don't offer remote. I've been doing Haskell hiring for 10 years, with more than 50 interviews, the applicants are always great, each time we had to pick the best of multiple candidates.

Cannot confirm functional programming being inefficient token-wise, or worse at being generated than other paradigms. Claude is great at Haskell.

The difficult parts about Haskell, such as understanding type checker error messages, are gone thanks to LLMs.

Type-safe, side-effect free code degrades correctness a lot less under heavy LLM action in my experience.

38m agoHN ↗

I’m really happy to hear that. I wish Haskell were more widely adopted and more generally accepted as a solid enterprise choice without the bus factor. I can confirm that the applicants are usually great in every respect. I tried to introduce Haskell in multiple enterprises but failed at engineering managers’ reluctance to admit Haskell as an option - every time because of the bus factor argument. Scala used to be easy to advocate for as an alternative. To me, with LLMs there’s really no need to care about the choice of the runtime language unless there are SLOs to meet or library choices due to domain peculiarities.

As for token-wise inefficiency, this is based on my sporadic observations and discussions with friends and colleagues from the past three years. I can’t give you a fresh benchmark with latest models in a reproducible way. But I’m happily willing to accept your assertion at face value. This makes me curious to see for myself how the latest models perform, will perhaps set up a quick evals just out of curiosity.

From my past experience, the latest I’ve seen were Opus-4.6 and GPT-5.5 struggle a lot with standard GHC Haskell, no extensions, nothing fancy. Not that they produced impeccable Python or Rust. But it appeared to take several turns for obvious expressions, while at Java and TypeScript they were much better - fewer turns, time, and cost for the same verified results. I had assumed that the training set wasn’t large and diverse enough for Haskell and Scala, and this was the go-to explanation with everyone I talked about it. Generated F# code was good enough but not OCaml. With C++ there’s still quite some struggle, expectedly.

To me it resorted to the question, if we’re mostly generating code through LLMs now, which ones and what will it cost in total terms per task/capability completed. I’m wondering now if DeepSeek/MiMo or GPT-6 Luna can benefit from the terser, more (forgive the pun) load-bearing expressions.