frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

RAM crisis provokes enthusiast to try Windows 11 on DDR1-era hardware

https://www.tomshardware.com/software/windows/ram-crisis-provokes-enthusiast-to-try-windows-11-on...
1•bushwart•2m ago•0 comments

What data access pattern is as slow as possible?

https://blog.weineng.me/posts/slowest_add
1•fanf2•2m ago•0 comments

Vertical Slices in Practice

https://event-driven.io/en/vertical_slices_in_practice/
1•theanonymousone•6m ago•0 comments

Unfathomable bugs #10: The Broken Windows Build

https://algassert.com/post/2603
1•giovannibajo1•7m ago•0 comments

Text Files as a User Interface

https://ratfactor.com/cards/text-files-as-ui
1•mpweiher•8m ago•0 comments

When will the decimals in A/B repeat?

https://www.johndcook.com/blog/2026/06/27/decimal-period/
1•ibobev•10m ago•0 comments

Omarchy is the best thing I've stopped thinking about. 1 year review blog

https://codebynight.dev/posts/one-year-omarchy-learning-os-not-just-linux-setup/
2•shivc•10m ago•1 comments

Height of Harmonic Numbers

https://www.johndcook.com/blog/2026/06/27/height-of-harmonic-numbers/
1•ibobev•10m ago•0 comments

The Internet Doesn't Need More Content, It Needs More You

https://arunrocks.com/the-internet-needs-more-you/
1•arocks•10m ago•0 comments

Spritework on the ZX Spectrum: Preparing Our Graphics

https://bumbershootsoft.wordpress.com/2026/06/27/spritework-on-the-zx-spectrum-preparing-our-grap...
1•ibobev•11m ago•0 comments

Life lessons and hot takes from my 30s

https://shreyasprakash.com/life-lessons-30s/
1•mondo_daemon•14m ago•0 comments

Ask HN: Hiii

1•hari_vardhan•15m ago•0 comments

Google rejects claims of AI in Search hurting web traffic

https://indianexpress.com/article/technology/artificial-intelligence/google-denies-ai-search-hurt...
1•vednig•17m ago•0 comments

Ask HN: Sdfs

1•hari_vardhan•20m ago•0 comments

Ask HN: Are there any developers prefer writing code manually?

1•trowa159•24m ago•0 comments

Roundup of July 2026 Bootstrapper Events

https://bootstrappersbreakfast.com/2026/06/23/roundup-of-july-2026-bootstrapper-events/
1•skmurphy•25m ago•1 comments

Fake Windows: highly realistic LED screens that simulates sunlight into a room

https://twitter.com/iPaulCanada/status/2070560999300559283
4•aurenvale•28m ago•0 comments

The Real Cost of Using AI in 2026

https://adlrocha.substack.com/p/adlrocha-the-real-cost-of-using-ai
1•adlrocha•30m ago•0 comments

Hungary holds first post-Orban Budapest Pride march

https://www.dw.com/en/hungary-holds-first-post-orban-budapest-pride-march/a-77736596
2•bushwart•31m ago•0 comments

I-Regexp: An Interoperable Regular Expression Format

https://datatracker.ietf.org/doc/html/rfc9485
1•tonyg•32m ago•0 comments

Can we create a shield to protect Earth from solar storms?

https://physicsworld.com/a/can-we-create-a-shield-to-protect-earth-from-solar-storms/
1•visha1v•33m ago•0 comments

[Humor] You have violated the rules of our community

https://www.mangialardi.it/you-have-violated-the-rules-of-our-community/
1•rm30•37m ago•1 comments

Itcss: Scalable and Maintainable CSS Architecture (2021)

https://www.xfive.co/blog/itcss-scalable-maintainable-css-architecture
1•toilet•39m ago•0 comments

The US Lock of the Web

https://ache.one/notes/the-us-lock-of-the-web
1•enz•39m ago•0 comments

Flick – Self-hostable file sharing with human-friendly codes (Go/Next.js)

https://github.com/Flick-Corp/flick
1•dellixou•40m ago•0 comments

Show HN: CCA-F Gotchas – exam pitfalls turned into an earworm playlist

https://suno.com/playlist/8ee4368a-294e-4369-8896-c9eba40768ce
1•dvaughan•40m ago•0 comments

Chinese tech hub's shift into robotaxis leaves drivers by the wayside

https://www.ft.com/content/b1445598-e5e3-4530-9e82-e0155c44106b
1•bazzmt•40m ago•1 comments

A Transformer Becomes an LLM

https://bharad.dev/blog/from-transformer-to-llm
1•bharadwajp•40m ago•0 comments

6 Facts About Europe and Air Conditioning

https://heatmap.news/daily/europe-air-conditioning
1•salonium_•43m ago•0 comments

Policymakers can prep for a potential AI job apocalypse

https://www.wordsinsearchlight.org/p/how-policymakers-can-prep-for-a-potential
1•m-hodges•44m 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?