frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Rethinking Databases for Humans and AI Agents

https://marcobambini.substack.com/p/rethinking-databases-for-humans-and
1•marcobambini•3m ago•0 comments

Writing GPU shaders in plain Rust [video]

https://www.youtube.com/watch?v=MK_dHFsBQsc
1•ibobev•10m ago•0 comments

Computing Camera Rays

https://momentsingraphics.de/CameraRays.html
2•ibobev•10m ago•0 comments

New AMD Radeon Developer Tool Suite update brings shader source code

https://gpuopen.com/learn/radeon-developer-tool-suite-shader-source-code/
1•ibobev•11m ago•0 comments

The early Research Unix exec(2) argv size limit

https://utcc.utoronto.ca/~cks/space/blog/unix/EarlyUnixExecArgvSizeLimit
2•ingve•13m ago•0 comments

AI Reviewing AI

https://twitter.com/GergelyOrosz/status/2077479764604883339
2•TheAnkurTyagi•16m ago•0 comments

Show HN: KindScan – product safety checker for your whole family

https://kindscan.com/
1•trulayer•18m ago•0 comments

Building a Financial Exchange from first principles

https://harshiyer.in/blog/farzi-exchange
2•proximuz•20m ago•2 comments

Browser Fingerprint Test–20 Signals your Browser Reveals Each Website You Visit

https://mysysinfo.com
1•hackstar•20m ago•0 comments

Republic of letters (2024) a first social network?

https://bigthink.com/strange-maps/republic-of-letters/
1•czw2•26m ago•1 comments

The Refusal Residue: When Probes Catch Alignment Faking and When They Don't

https://arxiv.org/abs/2607.13346
1•sbulaev•29m ago•0 comments

Ask HN: Has anyone used Online casino?

https://geekyants.com/case-studies/secure-casino-web-platform-kyc-payments-geo-compliance
2•aneesharasannan•29m ago•0 comments

Show HN: I made ts-node alternative, ttsc/ttsx, a TypeScript-go toolchain

https://github.com/samchon/ttsc
2•autobe•30m ago•0 comments

Can we trust open weight models?

https://twitter.com/insiderphd/status/2077037121869664410
1•mef•31m ago•1 comments

GPT-Red: an LLM super-hacker OpenAI built to make its models safer

https://www.technologyreview.com/2026/07/15/1140514/meet-gpt-red-an-llm-super-hacker-openai-built...
1•joozio•35m ago•0 comments

A bunch of stuff I used to not know about K&R C

https://sebsite.pw/w/20260712-kandr.html
2•birdculture•36m ago•0 comments

The Looting of Science Fiction

https://aeon.co/essays/silicon-valley-has-a-science-fiction-problem
4•gajju3588•37m ago•0 comments

Uber moves to acquire Delivery Hero for €12.5B

https://www.reuters.com/business/finance/uber-nears-125bn-deal-acquire-delivery-hero-ft-reports-2...
2•ProjectBarks•38m ago•0 comments

Is There a Reliable Way to Generate Figma Designs from Code?

https://geekyants.com/blog/how-we-built-the-missing-bridge-from-code-to-figma
2•varda_62892•41m ago•0 comments

Building This Blog: Jekyll on GitHub Pages from Zero to 130 Posts

https://mcgarrah.org/setting-up-jekyll-blog-github-pages/
1•ankitg12•45m ago•0 comments

What is the real point of Codex Micro? [video]

https://www.youtube.com/watch?v=m8uUUUsMD3Y
1•hsuduebc2•54m ago•1 comments

Notes on Structured Programming [pdf]

https://www.cs.utexas.edu/~EWD/ewd02xx/EWD249.PDF
2•andsoitis•1h ago•0 comments

20-20-20 Rule: Are These Numbers Justified?

https://pubmed.ncbi.nlm.nih.gov/36473088/
1•ankitg12•1h ago•0 comments

From Microservice to Subprocess

https://kerkour.com/from-microservice-to-subprocess
1•enz•1h ago•0 comments

Notes on structured concurrency, or: Go statement considered harmful

https://vorpus.org/blog/notes-on-structured-concurrency-or-go-statement-considered-harmful/
5•Redoubts•1h ago•0 comments

What Psychology Says About HITL

https://aviatrix.ai/
2•karthik-a2z•1h ago•0 comments

Linus Torvalds tells AI haters to fork off

https://www.theregister.com/ai-and-ml/2026/07/15/linus-torvalds-tells-ai-haters-to-fork-off/5271894
8•galaxyLogic•1h ago•2 comments

Are U.S. Consumers Ready to Use Pay-by-Bank at the Point of Sale?

https://www.kansascityfed.org/research/payments-system-research-briefings/are-us-consumers-ready-...
1•toomuchtodo•1h ago•0 comments

Prominent Haskell defector pilloried by anti-AI purists

https://www.theregister.com/devops/2026/07/15/prominent-haskell-defector-pilloried-by-anti-ai-pur...
2•galaxyLogic•1h ago•2 comments

Celebrity influencers paid up to £1M to advertise deodorant on Instagram

https://www.bbc.co.uk/news/articles/cvgegqrp656o
2•mmarian•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?