frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

I Talked to a Squirrel Today

https://www.guidavid.com/writing/i-talked-to-a-squirrel-today
1•gdss•7s ago•0 comments

Over half of parents of 18-25 year-olds track adult children w smartphone apps

https://www.npr.org/2026/06/15/nx-s1-5854613/tracking-smartphone-kids-parents-adults
1•bookofjoe•28s ago•0 comments

To study how chips work, MIT researchers built their own operating system

https://news.mit.edu/2026/to-study-how-chips-really-work-mit-researchers-built-their-own-operatin...
1•speckx•3m ago•0 comments

Can Ukraine Isolate Crimea?

https://phillipspobrien.substack.com/p/weekend-update-189-can-ukraine-isolate
1•JumpCrisscross•3m ago•0 comments

Tell HN: The bloatification of SpaceX stock has started

1•mandeepj•3m ago•1 comments

Show HN: We polled 2,122 Americans on AI and regulation, and built a visualizer

https://futurerealities.org/poll/2026/
1•appleslicemusic•3m ago•0 comments

"They screwed us": Personality clashes sent Anthropic's models offline

https://simonwillison.net/2026/Jun/15/axios-clashes-anthropics/
1•lumpa•4m ago•0 comments

Chebyshev Polynomials and Their Derivatives in C

https://leetarxiv.substack.com/p/chebyshev-polynomials-are-ferraris
1•theanonymousone•4m ago•0 comments

Boot Naked Linux

https://nick.zoic.org/art/boot-naked-linux/
2•abnercoimbre•5m ago•0 comments

HTTPS: //webhook.site live testing of web hooks

https://webhook.site
2•janandonly•6m ago•0 comments

AI Slop Has Taken over LinkedIn

https://keegan.codes/blog/a-slop-has-taken-over-linkedin
2•mooreds•7m ago•0 comments

Show HN: machine0 – Persistent NixOS VMs You Control from the CLI

https://machine0.io
2•bwm•7m ago•0 comments

GPT-5 Nano Vulnerability test results you should know before deploying

https://lateos.ai/llm-research/gpt5-nano/
2•lateos-ai•7m ago•0 comments

Show HN: An interactive Snake circuit you can take apart, no CPU

https://simten.dev/blog/snake-in-hardware
2•charlesfrisbee•8m ago•0 comments

Why Dragon Quest Has Always Been More Popular in Japan (2023)

https://www.denofgeek.com/games/dragon-quest-popularity-japan-explained/
2•mooreds•8m ago•0 comments

Verifiable Execution: Proving How Work Happened in Workflows and Agents

https://www.cncf.io/blog/2026/06/11/introducing-verifiable-execution-in-dapr-1-18/
2•yaronsc•8m ago•0 comments

Ficus Elastica

https://en.wikipedia.org/wiki/Ficus_elastica
2•mooreds•8m ago•0 comments

"I reverse engineered Verizon's VoWiFi and called from a laptop modem"

https://twitter.com/AliceInDisarray/status/2066417720292163960
2•ent101•9m ago•0 comments

Linux 7.0 Adds Support for BPF Filtering to IO_uring

https://www.phoronix.com/news/Linux-7.0-IO-uring-BPF-Filter
2•teleforce•10m ago•0 comments

Code a Database in 45 Steps

https://trialofcode.org/database/
2•firephox•13m ago•0 comments

AI GPUs probably live longer than three years

https://www.seangoedecke.com/ai-gpus-live-longer-than-three-years/
1•Brajeshwar•14m ago•0 comments

UK unveils social media ban for users under 16

https://techcrunch.com/2026/06/15/uk-unveils-sweeping-social-media-ban-for-users-under-16/
1•SilverElfin•16m ago•1 comments

Show HN: We put voice agent on our website, learned retrieval isn't bottleneck

https://www.moss.dev/blog/founding-agent
4•srimalireddi•16m ago•0 comments

Large Text Compression Benchmark

https://www.mattmahoney.net/dc/text.html
1•nathan-barry•17m ago•0 comments

Locus Founder from Locus (YC F25)

https://locusfounder.com/
2•wezabis•17m ago•0 comments

Britain Announces Social Media Ban for Children

https://www.nytimes.com/2026/06/15/world/europe/uk-social-media-children.html
1•1vuio0pswjnm7•18m ago•0 comments

AI Won't Fix a Company That Can't Ship

https://agileproductdevelopment.substack.com/p/ai-wont-fix-a-company-that-cant-ship
1•speckx•18m ago•0 comments

The Bright Side of ADHD: Dr. Ned Hallowell on Embracing and Succeeding with Add

https://additudemag.libsyn.com/the-bright-side-of-adhd-dr-ned-hallowell-on-embracing-and-succeedi...
1•yablak•19m ago•0 comments

Show HN: Continuous Nvidia CUDA PC Sampling Profiler

https://www.polarsignals.com/blog/posts/2026/06/10/nvidia-cuda-pc-sampling
2•gnurizen•19m ago•1 comments

SHOW HN: I created a Show HN social app where you can show your projects

https://kritive.com
1•sambhav10•20m 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?