frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Whats Hacker News About

1•HodiahElisabetL•1m ago•0 comments

Misure di sicurezza rafforzate NIS: stato e preparazione

https://cyberpath-hq.com/blog/misure-sicurezza-rafforzate-nis/
1•ebalo55•2m ago•0 comments

Mamdani Makes a Splash with His Bidets

https://www.nytimes.com/2026/10/23/nyregion/bidets-zohran-mamdani-gracie-mansion.html
1•osnium123•4m ago•0 comments

Sam Altman: 'I No Longer Think We're Gonna Be Able to Just Patch All the Bugs'

https://gizmodo.com/sam-altman-i-no-longer-think-were-gonna-be-able-to-just-patch-all-the-bugs-20...
2•CharlesW•4m ago•0 comments

Hardwood - modern lightweight Java reader and writer for Parquet file format

https://hardwood.dev/1.1.0.Beta3/
1•hiyer•7m ago•0 comments

The Colors of a Soap Film

https://aseemrb.me/blog/colors-of-a-soap-film/
1•gregsadetsky•9m ago•0 comments

How close can pure functional programming get to C?

https://rtfeldman.com/fp-vs-c
2•stmonty•11m ago•0 comments

Show HN: A map of outdoor gyms and pull-up bars

https://openairworkout.com/
1•hunvreus•13m ago•0 comments

Show HN: Inference Cooperative, user-governed AI

https://inference.coop/
1•ntnsndr•22m ago•0 comments

CowAgent – Open-Source Super AI Assistant

https://cowagent.ai/en/
1•ankitg12•22m ago•0 comments

The Anger Machine (Joan Kirner Social Justice Oration 2026)

https://www.andrewleigh.com/speech_the_anger_machine_rebuilding_community_in_the_age_of_outrage_2...
2•femto•27m ago•1 comments

Show HN: Web Bot Auth SDK and SSH Utilty

https://messh.io
1•malviyamukul•28m ago•0 comments

Show HN: CallFlow – VS Code REST client that also captures your terminal's HTTP

https://smallhours.works/callflow/
1•arexey•32m ago•0 comments

Ruliobiology and the Theoretical Foundations of Biological Form

https://writings.stephenwolfram.com/2026/10/endless-forms-most-beautiful-and-most-wonderful-rulio...
1•alok-g•36m ago•0 comments

Black October

https://mili.dev/writing/black-october/
3•dannygreer•38m ago•0 comments

Build your coding orchestrator from scratch part 1

https://wiilearn.substack.com/p/spurcode-build-your-coding-archestrator
1•mf_kevintruong•41m ago•0 comments

Ask HN: How do people self host email and maintain deliverability?

1•smithbob•42m ago•1 comments

EU Member States approve "digital expropriation" for AI companies

https://noyb.eu/en/ai-eu-member-states-approve-digital-expropriation-europeans-ai-companies
2•HotGarbage•45m ago•0 comments

Agent skill for creating isometric illustrations

https://github.com/wheresryan22/anatomy
1•ankitg12•50m ago•0 comments

Meta says if its AI makes a mistake, it will legally be the customer's fault

https://www.cio.com/article/4237395/metas-new-enterprise-contract-says-if-its-ai-makes-a-mistake-...
6•wyclif•54m ago•3 comments

Modular MAX 26.7 open on October 22 2026

https://explainx.ai/blog/modular-max-source-available-26-7-graph-compiler-runtime-max-license-cla...
1•noobplus•1h ago•0 comments

Tabletop Whale is an original science illustration blog

https://tabletopwhale.com
3•Levitating•1h ago•0 comments

Takeda Hideo credits Ronald Searle, not Yakuza, for his absurdist art

https://intojapanwaraku.com/culture/245517/
2•oliculipolicula•1h ago•0 comments

How Block Blast harvests its players for ad money

https://ayoships.com/breakdowns/block-blast
2•motionlessveloc•1h ago•0 comments

OpenAI disables internet access during model training

https://www.theregister.com/ai-and-ml/2026/10/23/openai-disables-internet-access-during-model-tra...
1•hologramofham•1h ago•2 comments

Apple Security Research Device

https://security.apple.com/research-device/
2•neom•1h ago•0 comments

Anthropic employee tells students their careers may not exist by graduation

https://twitter.com/cheaf25master/status/2113261574194659368
5•entryleveljobsc•1h ago•1 comments

Google changes privacy policy so Gmail, Photos could fuel targeted ads

https://www.dexerto.com/entertainment/google-quietly-changes-privacy-policy-so-your-gmail-and-pho...
2•entryleveljobsc•1h ago•1 comments

Security incident: Hostwinds client area offline

https://status.hostwinds.com/
3•debo_•1h ago•1 comments

Half‑Life: Alyx on Apple Vision Pro

https://glovebox.vision/
2•bryan0•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?