frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Spammail.org – disposable email infrastructure, aliases, custom domains and IMAP

https://spammail.org/
1•kipdev•6m ago•0 comments

Try, even if they have you cold

https://www.lesswrong.com/posts/aBhMGziEwA7FXNxhq/try-even-if-they-have-you-cold
2•mefengl•9m ago•0 comments

Ratty – A terminal emulator with inline 3D graphics

https://ratty-term.org/
1•orhunp_•12m ago•0 comments

The Inference Shift

https://stratechery.com/2026/the-inference-shift/
3•swolpers•14m ago•0 comments

Cotypist – AI Autocomplete for Mac

https://cotypist.app/
1•AndrewDucker•15m ago•0 comments

Projecting React

https://tannerlinsley.com/posts/projecting-react
2•brandrick•19m ago•0 comments

Why Was Star Fox Called Lylat Wars in Europe? [video]

https://www.youtube.com/watch?v=3VlZ7gs-Z6Q&list=PLYGwstCQBscexot2j-u22LQSmgH9vCxKr
1•brandrick•20m ago•0 comments

All Those A.I. Note Takers? They're Making Lawyers Nervous

https://www.nytimes.com/2026/05/09/business/dealbook/ai-notetakers-legal-risk.html
2•JumpCrisscross•20m ago•0 comments

When Is "Next Friday"?

https://whenisnextfriday.com/
2•wjdp•24m ago•0 comments

AI: Apologies, I was only doing as instructed. (What Hollow is and isn't)

https://ninjahawk.github.io/blog/posts/what-hollow-is.html
1•ninjahawk1•26m ago•0 comments

Our keyboards are tracking us

1•tukunjil•26m ago•1 comments

Do city delivery drones make sense?

https://www.wired.com/story/do-city-delivery-drones-make-sense-no-one-knows-but-theyre-flying-ove...
1•FinnLobsien•27m ago•0 comments

Building a Memory Allocator from Scratch in C

https://0xkiire.com/memory-allocators/
1•kiirecodes•32m ago•0 comments

Scorpi – a Docker-like VM development platform for macOS

https://fuse-t.org/scorpi/
1•concerned_ctzn•33m ago•0 comments

Life Without US Tech

https://www.ft.com/content/4c3aad70-e0cb-46a2-95d5-15d11b6bf818
5•frb•33m ago•0 comments

Facto: The daily trivia game that makes you learn one new fact every single day

https://factoquizzy.web.app
1•Mwalwala•33m ago•1 comments

Comparisons as Predictable as the Sunrise

https://pudding.cool/2026/05/similes/
1•latexr•42m ago•0 comments

Piping terminal output to the browser using systemfd

https://blog.izissise.net/posts/webdev-livecompile/
1•ingve•42m ago•0 comments

I Do Not Recommend Fastmail

https://www.vincentschmalbach.com/why-i-do-not-recommend-fastmail-for-primary-email/
3•vincent_s•43m ago•1 comments

A game based on scrolling and zooming

https://www.vaskange.world/
4•skywal_l•45m ago•1 comments

Show HN: An addictive phone game about phone addiction

https://downtime.partridge.works
2•urbandw311er•46m ago•0 comments

Recovering from Narcissistic Abuse

https://www.pasthepast.com/p/recovering-from-narcissistic-abuse
1•ElysiumAbove•46m ago•0 comments

Women at the sharp end as AI takes over administrative roles

https://www.ft.com/content/946650d6-f61f-4b98-8bb5-c0020c8a205f
1•johnbarron•49m ago•3 comments

Using AGENTS.md / Claude.md to discourage AI-generated code contributions

https://fosstodon.org/@backintime/116555237447115014
1•buhtz•53m ago•0 comments

Capsules: Compile-time lock discipline in OxCaml

https://kcsrk.info/ocaml/oxcaml/modes/blogging/2026/05/08/capsules-in-oxcaml/
1•ibobev•54m ago•0 comments

The Eurovision Song Contest and the European Union

https://chuniversiteit.nl/papers/eurovision-song-contest-and-eu
2•ibobev•54m ago•0 comments

A simple runtime invariant miner

https://rahul.gopinath.org/post/2026/05/09/simple-invariant-miner/
2•ibobev•55m ago•0 comments

Chaos erupts as cyberattack disrupts learning platform Canvas amid finals

https://arstechnica.com/security/2026/05/chaos-erupts-as-cyberattack-disrupts-learning-platform-c...
3•mblome•55m ago•0 comments

Lython: Experimental Python compiler toolchain based on LLVM

https://github.com/t3tra-dev/lython
2•kozika•1h ago•1 comments

I built my second brain for meetings. No monthly subscription

https://appmemora.app
4•kozielgpc•1h ago•1 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?