frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Is CPU design hitting a (soft) speed limit?

1•leecommamichael•6m ago•0 comments

Real-Time NYC rat map

https://ratflow.nyc/
1•UnitedOfTransit•8m ago•1 comments

Optique 1.1.0: Command discovery, value parsers, and ordered grammars

https://github.com/dahlia/optique/discussions/834
1•dahlia•12m ago•0 comments

Phoenix mostly doesn't drink Colorado River water

https://signaldoctrine.substack.com/p/the-allocation
1•SignalDoctrine•15m ago•0 comments

Note on Rio 3.5 Open

https://twitter.com/IplanRio_rj/status/2066693494769348946
1•thimabi•15m ago•0 comments

What one country's experiment says about attempts to boost birth rates

https://www.bbc.co.uk/news/articles/c5yzdr4ygdno
2•mmarian•25m ago•0 comments

I built a notes app powered by the model that powers Apple Intelligence

https://apps.apple.com/us/app/fog-on-device-ai-notes/id6760272134
1•akshatsaladi•31m ago•1 comments

Ask HN: What was the last thing you built on Fable 5

1•ddmma•34m ago•0 comments

In the Matter of OpenAI vs. LangGraph (2025)

https://www.latent.space/p/oai-v-langgraph
1•mooreds•34m ago•0 comments

DOJ Lawyers Argue xAI Is 'Vital' for National Security in NAACP Lawsuit

https://www.wired.com/story/doj-lawyers-argue-xai-vital-national-security-naacp-lawsuit/
2•ilreb•35m ago•0 comments

EU AI: the fables we told ourselves

https://pleias.ai/blog/fable-eu
1•mooreds•36m ago•0 comments

ShopFoundry – Turn Etsy listings into better titles, tags and descriptions

https://www.shopfoundry.app/
1•daisyjin•36m ago•0 comments

Distro Fighter game: Find your Linux distro and desktop

https://distrofighter.com/
3•ashitlerferad•48m ago•0 comments

Age Verification in Monolith OS

https://monolith-project.org/blog/age-verification/
1•rickcarlino•50m ago•0 comments

Safety Ideas, and a Testable Path

1•GrizzlyMedicine•55m ago•0 comments

AI efficiency gains come at a high energy cost

https://www.ft.com/content/7f1c81ac-775b-4f52-a650-7804e4734d5b
1•1vuio0pswjnm7•57m ago•0 comments

Predictive Data Debugging: Reveal and Shape What Models Learn Before You Train

https://www.goodfire.ai/research/predictive-data-debugging
1•gmays•58m ago•0 comments

Frederic Tudor

https://en.wikipedia.org/wiki/Frederic_Tudor
3•thunderbong•58m ago•0 comments

How Many Elementary Particles Are There, Really?

https://www.quantamagazine.org/how-many-elementary-particles-are-there-really-20260615/
1•ProAm•59m ago•0 comments

Hardest IT roles to fill in 2026 and what's changed

https://www.cio.com/article/4184685/the-11-hardest-it-roles-to-fill-in-2026-and-whats-changed.html
5•WaitWaitWha•1h ago•1 comments

Leaked from Russia: 18 Videos of the Fuel Crisis Growing Fast [video]

https://www.youtube.com/watch?v=yIj3CLqsOXs
1•consumer451•1h ago•0 comments

A weekly read on the US hay market

https://haywireag.com/
2•mooreds•1h ago•0 comments

Microsoft turns to AWS as GitHub faces AI capacity crunch

https://runtimewire.com/article/microsoft-github-aws-ai-capacity-crunch
78•ilreb•1h ago•20 comments

Anthropic Sued over Alleged False Advertising on Claude Max Subscription Limits

https://www.cnet.com/tech/services-and-software/anthropic-sued-alleged-false-advertising-claude-m...
3•SilverElfin•1h ago•0 comments

6th Finger Project (2022) [video]

https://www.youtube.com/watch?v=232jn-Vu6Rk
1•nivethan•1h ago•0 comments

Australia to probe assault claims by Gaza flotilla activists against Israeli[..]

https://www.bbc.com/news/articles/clyx4eny41zo
2•grugagag•1h ago•0 comments

Library

https://benbrown.com/library/
1•toomuchtodo•1h ago•1 comments

San Andreas fault reaches highest stress level in 1k years

https://mauinow.com/2026/06/15/san-andreas-fault-reaches-highest-stress-level-in-1000-years/
2•harambae•1h ago•0 comments

Microsoft Teams introduces office attendance tracking via Wi-Fi

https://www.pcworld.com/article/3165894/from-this-month-onwards-this-microsoft-programme-will-be-...
8•ilreb•1h ago•0 comments

Vance: Iran can have access to $300B reconstruction fund

https://thehill.com/homenews/administration/5924963-vance-iran-300b-reconstruction-fund/
6•GreenSalem•1h ago•3 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?