frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Ask HN: How to Claude Like Anthropic

1•haint_•3m ago•0 comments

A Stronger Goldbach Conjecture

https://ewlevitt.com/goldbach
2•ggossel•8m ago•0 comments

Syntax

https://www.doc.cc/syntax
2•pentagrama•18m ago•0 comments

S&P 500 CEO median pay hits $17.3M, widening CEO-worker ratio to 312-to-1

https://finance.yahoo.com/markets/stocks/articles/p-500-ceo-median-pay-234900518.html
2•newsomix9xl•19m ago•0 comments

Early Humans Likely Ate Carbs and Sugary Foods

https://www.history.com/articles/early-human-ancestors-diet-sugar-carbs
3•gmays•20m ago•0 comments

Show HN: I let an subagent workflow refactor my codebase for three days

https://github.com/ringlochid/oh-my-subagents
3•ringlochid•24m ago•2 comments

New human genome has almost no gaps

https://cen.acs.org/biological-chemistry/genomics/single-complete-diploid-human-genome/104/web/20...
2•gmays•26m ago•0 comments

Robots running into walls go viral ahead of 2026 World Humanoid Robot Games

https://mashable.com/tech/world-humanoid-robot-games-2026-running-fall-accident
1•newsomix9xl•27m ago•0 comments

Tesla's Solar Roof is Dead – Here's what went wrong

https://techcrunch.com/2026/08/21/teslas-solar-roof-is-dead-heres-what-went-wrong/
1•freediddy•31m ago•0 comments

'Betrayal': Ranchers lash out at Donald Trump's plan to cut tax on beef imports

https://www.ft.com/content/7aabb591-ca73-4d87-96ad-dac9a210e1d0
4•petethomas•33m ago•2 comments

China's robots rock, box and mix drinks. Can they outperform humans?

https://www.ft.com/content/e16ded89-b618-4952-a0ab-96ef11d06582
1•newsomix9xl•38m ago•0 comments

Anthropic Could Aim to Raise $100B in Blockbuster IPO

https://www.nytimes.com/2026/08/21/technology/anthropic-ipo-100-billion.html
1•mfiguiere•44m ago•0 comments

Show HN: Anjadhe – privacy first AI assistant, no account, no server DB

https://www.anjadhe.com/demo
1•ram-bv•45m ago•1 comments

Execution Is the Moat

https://aspiringforintelligence.substack.com/p/execution-is-the-moat
3•navjeetgill307•46m ago•0 comments

Show HN: ServerKit - Self-hosted control panel for apps, Docker, and databases

https://github.com/jhd3197/ServerKit
2•jhd3197•49m ago•0 comments

The Lexus LS 400 Happened When the Government Tried to Protect Detroit [video]

https://www.youtube.com/watch?v=i15Ii4yetLM
3•xeonmc•51m ago•0 comments

Show HN: Heimdall – Trust-verified knowledge layer for AI coding agents

https://github.com/ArihantDeva/heimdall
2•arihantdeva•55m ago•0 comments

Rocket Lab Announces Flatellite: A New Satellite Designed for Mass Manufacture

https://rocketlabcorp.com/updates/rocket-lab-announces-flatellite-a-new-satellite-designed-for-ma...
2•walrus01•57m ago•0 comments

A checklist is a letter to the untuned self

https://pilgrima.ge/p/the-untuned-self
2•momentmaker•59m ago•0 comments

Jason Arday Did a Lot of Harm

https://etanaedelman.substack.com/p/jason-arday-actually-did-a-lot-of
3•barry-cotter•1h ago•1 comments

Obsession with AI

https://unmeshed.io/blog/using-ai-wisely-starts-before-the-first-prompt
1•jusonchan81•1h ago•0 comments

Stalking the Wily Hacker: 40 years later – Cliff Stoll [video]

https://www.youtube.com/watch?v=656058JxTM0
3•zoenolan•1h ago•1 comments

I'd Rather Risk Cancer Than See AI Move This Fast

https://www.theatlantic.com/technology/2026/06/ai-cancer-progress/687654/
1•jdkee•1h ago•2 comments

Ask HN: What types of alternative communities have you seen work or not and why?

1•tmnvix•1h ago•1 comments

What every programmer should know about memory, Part 1

https://lwn.net/Articles/250967/
1•Anon84•1h ago•0 comments

Show HN: Plethora – Social platform and SDK around games and interactive content

https://plethora.studio/
2•pratt3000•1h ago•0 comments

Ask HN: Just saw a YC25 job posting front page that looks like a 7-day work week

25•walrus01•1h ago•20 comments

HydroGym: A Reinforcement Learning Platform for Fluid Dynamics [video]

https://www.youtube.com/watch?v=SQrPBk6f0GY
1•abetusk•1h ago•1 comments

Nord Stream sabotage suspect arrested on set of film about the sabotage

https://www.telegraph.co.uk/world-news/2026/08/20/nord-stream-sabotage-suspect-arrested-film-set/
4•cwwc•1h ago•0 comments

America's Gerontocracy Needs a Public Physician

https://www.theatlantic.com/health/2026/08/office-of-medical-adviser/688372/
1•paulpauper•1h ago•0 comments
Open in hackernews

Packed Data Support in Haskell

https://arthi-chaud.github.io/posts/packed/
77•matt_d•1y ago

Comments

nine_k•1y ago
> Introducing the ‘packed’ data format, a binary format that allows using data as it is, without the need for a deserialisation step. A notable perk of this format is that traversals on packed trees is proven to be faster than on ‘unpacked’ trees: as the fields of data structures are inlines, there are no pointer jumps, thus making the most of the L1 cache.

That is, a "memory dump -> zero-copy memory read" of a subgraph of Haskell objects, allowing to pass such trees / subgraphs directly over a network. Slightly reminiscent of Cap'n Proto.

90s_dev•1y ago
We are always reinventing wheels. If we didn't, they'd all still be made of wood.
Zolomon•1y ago
They mention this in the article.
spockz•1y ago
It reminds me more of flat buffers though. Does protobuf also have zero allocation (beyond initial ingestion) and no pointer jumps?
cstrahan•1y ago
No, one example of why being variable sized integers.

See https://protobuf.dev/programming-guides/encoding/

carterschonwald•1y ago
One thing that sometimes gets tricky in these things is handling Sub term sharing. I wonder how they implemented it.
tlb•1y ago
> the serialised version of the data is usually bigger than its in-memory representation

I don’t think this is common. Perhaps for arrays of floats serialized as JSON or something. But I can’t think of a case where binary serialization is bigger. Data types like maps are necessarily larger in memory to support fast lookup and mutability.

nine_k•1y ago
I suppose all self-describing formats, like protobuf, or thrift or, well, JSON are bigger than the efficient machine representation, because they carry the schema in every message, one way or another.
IsTom•1y ago
If you use a lot of sharing in immutable data it can grow a lot when serializing. A simple pathological example would be a tree that has all left subtrees same as the right ones. It takes O(height) space in memory, but O(2^height) when serialized.
gitroom•1y ago
honestly i wish more stuff worked this way - fewer hops in memory always makes me happy
lordleft•1y ago
This was very well written. Excellent article!
NetOpWibby•1y ago
Is this like MessagePack for Haskell?