frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Life Is Short (2016)

https://paulgraham.com/vb.html
1•chistev•41s ago•0 comments

Grimm Brothers' Children's and Household Tales (Grimms' Fairy Tales)

https://sites.pitt.edu/~dash/grimmtales.html
1•Anthony-G•1m ago•0 comments

Hello, Ordinary Blog

https://ordinary.blog/posts/hello-ordinary-blog/
1•seanwatters•2m ago•0 comments

Phloto for My Photo Flow

https://cceckman.com/writing/phloto/
1•evakhoury•8m ago•0 comments

MiniMax teased M3 Sparse Attention: 9.7x prefilling, 15.6x decoding at 1M

https://twitter.com/SkylerMiao7/status/2059285750458544561
1•rebekkamikkoa•10m ago•0 comments

My First Web App for Monetization

https://engine.redsystem.dev
1•crlapples•11m ago•0 comments

Iran president ends Internet blackout, orders access to be restored

https://thehill.com/policy/international/5896061-internet-access-restored-iran/
1•Animats•11m ago•2 comments

A Dose of Hope for the Future

https://productnow.ai/blogs/a-dose-of-hope-for-the-future
1•kadhirvelm•13m ago•0 comments

Ask HN: Has AI affected negatively the job market for devs?

1•adinhitlore•18m ago•1 comments

Google I/O 2026: Sundar Pichai's opening keynote

https://blog.google/innovation-and-ai/sundar-pichai-io-2026/
1•gmays•18m ago•0 comments

Ask HN: Sudden spike in web traffic 19-21 May?

1•haemdahl•20m ago•0 comments

Pieces

https://bitcointalk.org/index.php?topic=5584120.0
1•johndebord•20m ago•0 comments

Scientists Found a New Type of Crystal Formed by the First Nuclear Explosion

https://www.popularmechanics.com/science/a71305388/crystal-formed-by-nuclear-explosion/
1•danielmorozoff•20m ago•0 comments

Huawei touts chip design breakthrough in bid to defy U.S. sanctions

https://www.nbcnews.com/world/asia/chinas-huawei-touts-chip-design-breakthrough-bid-defy-us-sanct...
6•billybuckwheat•21m ago•0 comments

An old interview of Dijkstra (1985)

https://www.cs.utexas.edu/~EWD/misc/vanVlissingenInterview.html
1•rajveerb•22m ago•1 comments

Workspace Intelligence

https://workspace.google.com/blog/product-announcements/introducing-workspace-intelligence
1•kamphey•22m ago•1 comments

Family tree and org chart react lib

https://www.tree.memoir.ag/
1•henryoman•23m ago•0 comments

Private 5G, Agentic BSS and Starter Kit Demos

https://www.cloud-net.ai/news/cloudnet.ai-cloudran.ai-are-heading-to-copenhagen-🇩🇰-private-5g-a...
1•y2so•23m ago•0 comments

Accounting tools are built for accountants, not the rest of us

https://billpal.io/why
1•romanleeb•23m ago•0 comments

Drones crash into Sydney harbour after light show glitch

https://www.bbc.co.uk/news/articles/c9d330wqq2zo
1•ColinEberhardt•25m ago•0 comments

EarnOS – brands reward users for real attention, not bot traffic

https://earnos.com/
1•danilpan•26m ago•2 comments

Duolingo is experiencing increased errors

https://status.duolingo.com
1•mychele•33m ago•0 comments

NASA unveils next steps to build permanent Moon base

https://www.bbc.com/news/articles/c39228nxyr4o
2•frasermarlow•34m ago•0 comments

Show HN: I built a tool to auto-accept AI slop and bigtech devs loves it

https://github.com/Alcray/SlopeAutoAcceptor
2•alcray•34m ago•0 comments

The Social Contract of Writing

https://jola.dev/posts/the-social-contract-of-writing
1•droidjj•34m ago•0 comments

OpenAI admits AI hallucinations are mathematically inevitable (Sept. 2025)

https://www.computerworld.com/article/4059383/openai-admits-ai-hallucinations-are-mathematically-...
4•hansmayer•35m ago•1 comments

BadHost: One Char Bypasses Host-Based Security Across the Python AI Stack

https://www.secwest.net/starlette
1•arunbahl•35m ago•0 comments

Disclosing the Badhost Vulnerability in Starlette

https://ostif.org/disclosing-the-badhost-vulnerability-in-starlette/
1•arunbahl•36m ago•0 comments

Micron hits $1T market cap for the first time

https://www.cnbc.com/2026/05/26/micron-stock-trillion-market-cap.html
1•mfiguiere•37m ago•0 comments

From AFSK to Goertzel: demodulating packet radio

https://uart.cz/2959/from-afsk-to-goertzel/
1•fanf2•38m 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?