frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Meowzip: Cat Logic Puzzle

https://apps.apple.com/my/app/meowzip-cat-logic-puzzle/id6793481043
1•nekodu•2m ago•0 comments

The Death of the Author

https://psychotechnology.substack.com/p/the-death-of-the-author
1•eatitraw•7m ago•0 comments

No Apple Pay, No Sale

https://blog.oxplot.com/no-apple-pay-no-sale/
1•oxplot•13m ago•0 comments

Airbus bows to remote working demands after series of strikes

https://www.theguardian.com/business/2026/aug/21/airbus-bows-remote-working-strikes
1•vrganj•16m ago•0 comments

Show HN: Froging AI – image and video models in one workflow

https://www.froging.ai
1•hashkitly•16m ago•0 comments

Daimon – Local Privacy LLM

https://github.com/ar0per0/Daimon
2•minirope•21m ago•0 comments

Ask HN: Will AI trigger mass IP protectionism in software?

2•zaksa•22m ago•1 comments

Procedural Grid Art

https://twentythreeoeight.com/
1•minosu•23m ago•0 comments

Show HN: World Sizer – A world map where area reflects population, GDP, and more

https://douwe.com/projects/worldsizer
1•dosinga•25m ago•1 comments

Chinese Gov issue warning: Don´t talk to aliens if you see one [video]

https://www.tiktok.com/@juliettheband/video/7676891956911295758
1•trilogic•26m ago•2 comments

Show HN: Ringdl2 – A lightweight Linux downloader in Rust using io_uring

https://github.com/infomaniac777/ringdl2/blob/master/README.md
1•infomaniac777•27m ago•2 comments

The Web-Search Latency Your Agent Pays

https://telem.ai/blog/latency-research
1•mohanz•28m ago•0 comments

Japan's music cafés are striking a chord abroad

https://www.economist.com/culture/2026/08/20/japans-music-cafes-are-striking-a-chord-abroad
2•andsoitis•32m ago•0 comments

Ask HN: Guess what makes SSH multiplexing physically impossible

1•logicallee•32m ago•0 comments

Ask HN: Any opinions on Muse Code over others?

1•senor_digimon•37m ago•0 comments

A Tale of Two Flink Autoscalers

https://netflixtechblog.com/a-tale-of-two-flink-autoscalers-e9f6a1b1492b?source=rss-c3aeaf49d8a4-...
1•sbulaev•40m ago•0 comments

Malware infects Android-based automotive head unit firmware

https://securelist.com/android-head-unit-malware/121106/
43•campuscodi•41m ago•7 comments

Things a Computer Scientist Rarely Talks About, by Donald E. Knuth

https://www.christiancentury.org/reviews/2011-04/things-computer-scientist-rarely-talks-about-don...
2•senor_digimon•43m ago•3 comments

Yomif Kejelcha regains world half marathon record with 56:51 in Buenos Aires

https://worldathletics.org/competitions/world-athletics-label-road-races/news/world-half-marathon...
1•wslh•44m ago•0 comments

Go Ahead, Sean Duffy. Let Your Daughter Go to Harvard

https://www.nytimes.com/2026/08/23/opinion/harvard-education-ideology-political-polarization.html
1•berkeleyjunk•44m ago•0 comments

Show HN: Rmp, a Subsonic music player for generating playlists on the fly

https://github.com/codesoap/rmp
3•codesoap•46m ago•0 comments

AwardMath – Award Travel Planner

https://awardmath.com
1•info-cast-hub•47m ago•0 comments

Soofi S 31.6B. German Open Moe Explained

https://kie.ai/blog/what-is-soofi-s-31-6b
1•pelasaco•49m ago•0 comments

Vibedecode

https://vibe-decode.com/
1•implexlabs•50m ago•1 comments

There is now over 2,100 hours of video evidence on Archive Genocide

https://archivegenocide.com/
4•34679•50m ago•0 comments

Ask HN: Is Apple Messages plugin for ChatGPT a privacy risk?

https://twitter.com/stevemoraco/status/2091194172917338520
3•taubek•51m ago•0 comments

Ask HN: What a fullstack dev should know about security?

1•ah1508•52m ago•0 comments

All Your Heroes Were on Drugs

https://medium.com/belover/all-your-heroes-were-on-drugs-b1eafd9adf50
1•andsoitis•52m ago•0 comments

The rise and fall of rationality in language (2021)

https://www.pnas.org/doi/10.1073/pnas.2107848118
2•mpweiher•54m ago•0 comments

Show HN: Ever Wanted to Call Codex from Claude Code? My Harness Orchestrator

https://github.com/ptmrio/harness-subagent
3•SPQRK•56m 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?