frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Microsoft Build CLI

https://github.com/microsoft/Build-CLI
1•wirelesslife•2m ago•0 comments

Building a Retro Linux Gaming Computer (2021)

https://icculus.org/~hamish/retro/index.html
1•ensocode•2m ago•0 comments

The Shadcn-Ification of the Internet

https://scribe.rawbit.ninja/@disco_lu/the-shadcn-ification-of-the-internet-d3788c055c63
1•speckx•2m ago•0 comments

Quantum stocks soar as U.S. plans $2B award, taking equity stakes

https://www.cnbc.com/2026/05/21/quantum-stocks--us-taking-equity-stakes.html
1•atlasunshrugged•2m ago•1 comments

Colossal Biosciences is growing chickens in a 3D-printed artificial eggshell

https://www.technologyreview.com/2026/05/19/1137471/colossal-biosciences-is-growing-chickens-in-a...
1•gmays•3m ago•0 comments

Show HN: I Made a Claude Skill for SDD

1•NTRIXLM•4m ago•0 comments

Kubernetes in Anger

https://samof76.space/kubernetes-in-anger.html
1•gertburger•6m ago•0 comments

Ask HN: Does anyone believe role-play AI is effective for training?

1•socratizeio•6m ago•0 comments

Building a Real-Time Chord Recognizer

https://whatchord.earthmanmuons.com/articles/under-the-hood
1•elasticdog•7m ago•0 comments

Bees May Be Killing the Plants They Feed From

https://nautil.us/why-these-bees-may-be-killing-the-plants-they-feed-from-1281014
1•sohkamyung•9m ago•0 comments

Lovable's AI built a 100% accessible site – or did it?

https://axesslab.com/lovable/
1•speckx•10m ago•0 comments

Send Money Anywhere – UMA

https://www.uma.money/
1•janandonly•11m ago•0 comments

Tailwind: Suffering from Success

https://blog.sebin-nyshkim.net/posts/tailwind-suffering-from-success/
1•cyco130•13m ago•0 comments

Wearable robot boosts strength of children with spinal muscular atrophy

https://www.nature.com/articles/d41586-026-01573-x
2•sohkamyung•14m ago•0 comments

You get a worktree, everyone gets a worktree

https://slicervm.com/blog/everyone-gets-a-worktree/
1•alexellisuk•14m ago•0 comments

Google API will keys keep working after you delete them

https://www.aikido.dev/blog/google-api-keys-deletion
1•berlianta•14m ago•0 comments

OpenProse: Author Outcomes

https://github.com/openprose/prose
1•TimTheTinker•18m ago•0 comments

Ask HN: If entry-level jobs are gone, does career change become impossible?

1•seanhly•19m ago•0 comments

The Maintainers Dilemma

https://spf13.com/p/the-maintainers-dilemma/
5•spf13•20m ago•0 comments

Designing a AI Access Layer for Systems of Record

https://mev.com/blog/designing-a-ai-access-layer-for-systems-of-record-a-case-study-in-team-capac...
3•AleX_MEV•20m ago•0 comments

Valgrind-3.27.1 Is Available

2•paulf38•20m ago•0 comments

Swiss smart cities promise efficiency – at the price of your data

https://www.swissinfo.ch/eng/swiss-ai/swiss-smart-cities-promise-efficiency-at-the-price-of-your-...
1•giuliomagnifico•20m ago•0 comments

Air France and Airbus found guilty of manslaughter over 2009 plane crash

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

Show HN: Twixt – transform one word into another in four moves

https://twixt.games/
1•jakenicolaides•24m ago•0 comments

Computing Reading List

https://timrodenbroeker.de/pages/reading-list/
1•marvinborner•25m ago•0 comments

Claude Orchestra – an org layer for your Claude Code skills/agents

https://github.com/Momo2323-ui/claude-orchestra
1•mokshmittra•26m ago•0 comments

Tesla Cybertruck driver arrested after driving into lake to use 'wade mode'

https://www.bbc.co.uk/news/articles/c072x1kml44o
2•LaSombra•28m ago•0 comments

Apalache: Symbolic model checker for TLA+ and Quint

https://github.com/apalache-mc/apalache/
1•stevefan1999•28m ago•0 comments

PhD student finds lost city in Mexico jungle by accident (2024)

https://www.bbc.com/news/articles/crmznzkly3go
1•thunderbong•29m ago•0 comments

European Parliament plenary debate on 'Stop Destroying Videogames' [video]

https://www.europarl.europa.eu/plenary/en/vod.html?mode=chapter&vodLanguage=EN&internalEPId=20170...
1•michalhosna•30m 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?