frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Tracking Capabilities for Safer Agents

https://arxiv.org/abs/2603.00991
1•matt_d•2m ago•0 comments

The Elements of Power (AI Supply Chain)

https://z-library.im/book/xkRN77V9kg/the-elements-of-power-a-story-of-war-technology-and-the-dirt...
1•mmirshekar•3m ago•0 comments

JAM: DSP audio engine programmable via AI chat

https://jeffsaudiomachines.com/my-story
1•jcward•6m ago•0 comments

Ask HN: Mac users – has Mac-to-Android texting broke for you, since macOS 26.5?

https://discussions.apple.com/verify-human/verify.html?next=/thread/256300699
1•akulbe•6m ago•1 comments

Marketing Help

https://itcrowd.io
1•chrisrichardson•6m ago•0 comments

Anti-Meme Explosion

https://www.jernesto.com/articles/anti_meme_explosion
3•slopranker•9m ago•1 comments

Search engines and me. Is the classic internet dying? [off-topic]

1•nullpwr•11m ago•1 comments

SpaceX files for IPO that could make Elon Musk a trillionaire

https://www.bbc.com/news/articles/cg4pe2953q1o
1•colinprince•12m ago•0 comments

Kickstarter apologises for its criticised adult content rules

https://www.eurogamer.net/kickstarter-adult-content-rules-censorship-apology
1•healsdata•12m ago•0 comments

Primer Pay – micropayments for WordPress on Base requiring Chrome extension

https://wordpress.org/plugins/primer-pay/
1•adrianwaj•15m ago•0 comments

Deep – CLI/REPL for generating and iterating on codebases using DeepSeek

https://github.com/cynchro/deepseekCLI
2•cynchro980•16m ago•0 comments

Show HN: udoc. Dependency-free document extraction in Rust

https://newelh.github.io/udoc/
2•newelh•18m ago•1 comments

Understanding Bitcoin Inscriptions

https://www.learnbitcoin.com/glossary/inscriptions
3•granya•20m ago•1 comments

New Bitcoin Fee Pressure Signal

https://chainquery.com/reports/fee-pressure
2•granya•22m ago•0 comments

Global Biolab Map

https://global-biolab-atlas.netlify.app/
1•sebg•23m ago•0 comments

Staged Publishing for NPM Packages

https://docs.npmjs.com/staged-publishing/
1•jonchurch_•24m ago•1 comments

Moe inference optimizations: 15% lower expert load by request reordering

https://blog.doubleword.ai/moe-expert-coactivations
1•mezark•27m ago•0 comments

Show HN: A fast, free AI rewriter

https://revise.io/ai-rewriter
2•artursapek•30m ago•0 comments

Model Thinking – Percolation Models (2020) [video]

https://www.youtube.com/watch?v=Bs0QuGYrPAI
1•throwaw12•30m ago•0 comments

Shareable text box

https://txt.box
2•shikhar•30m ago•0 comments

Boundaries – A Talk by Gary Bernhardt

https://www.destroyallsoftware.com/talks/boundaries
2•throwaw12•31m ago•0 comments

DOS Zone

https://dos.zone/
15•rglover•39m ago•3 comments

Everything Is Computer

https://turbulence.substack.com/p/everything-is-computer
2•ivm•40m ago•0 comments

Step by step guide: How to install Microsoft Office in any Linux distribution

https://gist.github.com/eylenburg/38e5da371b7fedc0662198efc66be57b
1•nogajun•40m ago•0 comments

China Wants A.I. To Flourish, but Not at the Expense of Jobs

https://www.nytimes.com/2026/05/19/business/china-ai-unemployment.html
5•tom2026hn•41m ago•2 comments

Node.js TypeScript: The future of –experimental-transform-types

https://github.com/nodejs/typescript/issues/51
3•lioeters•46m ago•0 comments

Can one run AI on source code with the prompt "Find below-avg swear rate files"?

1•pcwir•46m ago•0 comments

TheLounge v4.5.0 released – a modern, self-hosted web IRC client

https://github.com/thelounge/thelounge/releases/tag/v4.5.0
1•MaxLeiter•50m ago•0 comments

Franklin Pierce by David W. Blight

https://inpursuit.substack.com/p/franklin-pierce-by-david-w-blight
1•samclemens•52m ago•0 comments

Alan's ASI Checklist

https://lifearchitect.ai/asi/
1•k2xl•52m 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?