frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Slop is code you can't work with

https://dwyer.co.za/static/slop-is-code-you-cant-work-with.html
1•sixhobbits•1m ago•0 comments

Did the Linux memory management maintainer "just quit"?

1•hliyan•1m ago•0 comments

New Wix Headless Skills Released

https://www.wix-headless.dev/
1•yoavcwix•3m ago•1 comments

Ruby vs. Java vs. TypeScript: my experience on building a Cowork DOCX plugin

https://tanin.nanakorn.com/ruby-java-typescrip-claude-docx-plugin/
1•theanonymousone•3m ago•0 comments

Advancing mathematics research with AI-driven formal proof search

https://arxiv.org/abs/2605.22763
2•azhenley•8m ago•0 comments

Google warns lawful-access bill could create major cybersecurity risks

https://www.theglobeandmail.com/politics/article-google-lawful-access-bill-c-22-cybersecurity-risks/
2•ethanplant•8m ago•1 comments

Open-Weight Models Don't Need to Win

https://twitter.com/googrish/status/2058981136370651610
4•kumama•12m ago•2 comments

Show HN: CloudPostOffice – Send messages between apps and agents in 4 lines

https://cloudpostoffice.com/
2•tealpod•14m ago•1 comments

China battery stores electricity and hydrogen

https://www.autonocion.com/us/china-stores-electricity-hydrogen/
3•stevenalowe•15m ago•1 comments

The bootstrapper's EU stack for under €10 per month

https://eualternative.eu/guides/bootstrapper-free-tier-eu-stack/
4•sparkling•15m ago•0 comments

One of the first games made in the Build Engine is about to be delisted

https://www.pcgamer.com/games/fps/one-of-the-first-games-made-in-the-build-engine-is-about-to-be-...
2•Brajeshwar•16m ago•0 comments

What is pending for SpaceX Starship to be a Moonship for NASA astronauts?

https://jatan.space/moon-monday-issue-276/
2•JPLeRouzic•16m ago•0 comments

Exposing fake Canadians pushing to join the US [video]

https://www.youtube.com/watch?v=NXafC7tlqt0
1•cloche•18m ago•0 comments

EU plans to fine Google high triple-digit million euro sum, Handelsblatt reports

https://www.reuters.com/world/europe/eu-plans-fine-google-high-triple-digit-million-euro-sum-hand...
1•thm•22m ago•0 comments

Alaska's oil revival sparks a new energy rush Into the Arctic

https://fortune.com/2026/05/24/alaska-oil-revival-energy-investment-arctic-drilling-national-petr...
6•Brajeshwar•32m ago•4 comments

California moves to exempt Linux from its age-verification law after backlash

https://www.tomshardware.com/software/linux/california-moves-to-exempt-linux-from-its-upcoming-ag...
62•rbanffy•32m ago•26 comments

The effect of sleep on blood biomarkers

https://www.empirical.health/blog/effect-of-sleep-on-blood-biomarkers/
3•brandonb•33m ago•0 comments

Inverted Bacteria That Might Kill Everyone

https://benthams.substack.com/p/the-inverted-bacteria-that-experts
2•oj2828•33m ago•0 comments

Show HN: UUTA – A Quiet Practice Journal for iPhone and iPad

https://uuta.app/
1•sravanipuuta•34m ago•0 comments

Show HN: API cost calculator – compare 28 models across 7 providers, no signup

https://quickfix.tools/ai-pricing-calculator/
1•mlongo•35m ago•0 comments

Life is not a Simulation but a Thought Experiment

https://chfritz.github.io/writing/life-is-a-thought-experiment/
3•chfritz•36m ago•0 comments

1986: Email – The Perfect Tech for the Jet Set? – BBC Archive [video]

https://www.youtube.com/watch?v=JqJ159pngY8
1•MasterYoda•36m ago•0 comments

Geo Carncross: How to program computers (2014) [video]

https://www.youtube.com/watch?v=kTrOg19gzP4
1•tosh•37m ago•0 comments

Color palette gives away AI slop

2•endangeredhuman•37m ago•2 comments

ns scale ultra-low-latency fabric over shm and MMAP for IPC

https://crates.io/crates/disruptor-mp
1•venkat_2811•38m ago•0 comments

Trump admin policy shutting US disease researchers of WHO virus response talks

https://www.cnn.com/2026/05/25/politics/global-virus-response-trump-administration
5•vinnyglennon•40m ago•0 comments

Iran President orders restoration of internet access after 87-day blackout

https://www.indiatoday.in/world/story/irans-president-orders-restoration-of-international-interne...
3•guerby•40m ago•0 comments

Maia-3: free and open source

https://lichess.org/@/ashtonanderson/blog/introducing-maia-3-free-and-open-source/vCPPRtX3
3•pncnmnp•40m ago•0 comments

How I made my Zig gameplay code hot reloadable

https://www.madrigalgames.com/blog/how-i-made-my-zig-gameplay-code-hot-reloadable/
2•birdculture•41m ago•0 comments

Why do anxious people lean left?"

https://www.psypost.org/people-with-anxious-tendencies-are-more-likely-to-support-left-wing-econo...
4•bilsbie•45m ago•2 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?