frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

What makes soccer so enjoyable to watch?

https://thomasdhughes.com/the-beautiful-game/
1•thomasdhughes2•34s ago•0 comments

Shapeshifting

https://www.guidavid.com/writing/shapeshifting
1•gdss•1m ago•0 comments

Arbitration Information

https://arbitrationinformation.org
1•mtlynch•2m ago•0 comments

Free Remote Desktop Without Servers

https://github.com/Teylersf/freeremotedesk
2•pruufsocial•4m ago•1 comments

Tahr Security Skills

https://www.skills.sh/tahr-security/tahr-security-skills
2•zilbon•5m ago•0 comments

SQLite: The Advantages of Flexible Typing

https://sqlite.org/flextypegood.html
1•notRobot•5m ago•0 comments

Photo of Lionel Messi with Lamine Yamal as a Baby (2024)

https://apnews.com/article/messi-yamal-euro-photo-59f929c17bc0994134e7b63facd0ea0e
1•nither•5m ago•1 comments

Hamilton council votes down bylaw – No ban against data centre development

https://www.cbc.ca/news/canada/hamilton/data-centre-ban-voted-down-9.7271641
1•ChrisArchitect•10m ago•0 comments

The New Private Asset

https://chamath.substack.com/p/privacy-tokens
1•gmays•10m ago•0 comments

Show HN: Resultant Engineering Student Tools Site

https://resultant.tools/
2•will2092347•13m ago•0 comments

Show HN: MasterVault: Stop your LLM's context file from growing stale

https://github.com/JustMichael-80/MasterVault
1•ChronoDyneSys•15m ago•0 comments

AIcss: UI Components for AI Agents

https://www.aicss.dev
1•handfuloflight•16m ago•0 comments

Show HN: Throttle – Local Claude Cockpit for macOS, now with remote control

https://lorislab.fr/throttle/
1•lorislab•17m ago•0 comments

Asymmetric Apologies

https://sajarin.com/blog/asymmetric-apologies/
1•Sajarin•17m ago•0 comments

OpenAI is bow everything it promised not to be: closed-Source & for-profit (2023)

https://www.vice.com/en/article/openai-is-now-everything-it-promised-not-to-be-corporate-closed-s...
3•maxloh•17m ago•1 comments

Test-time training 3D reconstruction

https://github.com/Inception3D/TTT3R
1•soupspaces•18m ago•0 comments

Launching cdbx.ai with 50% off Pro Plans

https://cdbx.ai/
1•chbutler•18m ago•1 comments

I created S8sskills.com, an open source repo for serverless agent skills

https://s8sskills.com
1•jasonsmithio•20m ago•1 comments

End-to-end encrypted secret sharing with the Web Crypto API

https://notnotp.com/notes/end-to-end-encrypted-secret-sharing-with-the-web-crypto-api/
2•birdculture•20m ago•0 comments

Bridging the Gap Between Latent and Explicit Reasoning with Looped Transformers

https://arxiv.org/abs/2606.31779
1•simonpure•23m ago•0 comments

B.Y.O.A. – Bring Your Own Agent [video]

https://www.youtube.com/watch?v=4ISj9sxKDAQ
1•JohnBerryman•29m ago•0 comments

IDPFlare – Identity Provider Built for Cloudflare

https://idpflare.com/
2•jimmcslim•36m ago•0 comments

Hedge Fund Giants Have a New Profit Engine: Their Smaller Rivals

https://www.bloomberg.com/news/articles/2026-07-15/hedge-funds-turn-to-smaller-independent-firms-...
2•petethomas•37m ago•1 comments

Aval: New open-source format for interactive video on the web

https://github.com/pixel-point/aval
2•handfuloflight•37m ago•1 comments

Rusefi – GPL internal combustion engine ECU

https://github.com/rusefi/rusefi
2•bilegeek•38m ago•0 comments

Back Up

1•bhusanbh•40m ago•0 comments

UI-Skills

https://github.com/ibelick/ui-skills
2•handfuloflight•41m ago•0 comments

11,700 Free Photos from John Margolies' Archive of Americana Architecture

https://www.openculture.com/2026/07/free-photos-from-john-margolies-archive-of-americana-architec...
2•gslin•45m ago•0 comments

Linus Torvalds "Linux is not one of those anti-AI projects"

https://lore.kernel.org/linux-media/CAHk-=wi4zC+Ze8e+p3tMv8TtG_80KzsZ1syL9anBtmEh5Z40vg@mail.gmai...
10•linolevan•46m ago•2 comments

Lhv.ai – Estonian bank AI integration via MCP

https://lhv.ai/
1•loh•48m 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?