frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Missing women on Indian streets [pdf]

https://gsood.com/research/papers/missing_women.pdf
1•like_any_other•1m ago•1 comments

ABC Australia will trial using AI for journalism

https://theconversation.com/abc-will-trial-using-ai-for-journalism-what-are-the-risks-and-benefit...
1•Alien1Being•1m ago•0 comments

Ask HN: Is Email Marketing Dead?

1•akashwadhwani35•2m ago•1 comments

The first American autonomous ground vehicles are fighting in Ukraine

https://techcrunch.com/2026/07/07/the-first-american-autonomous-ground-vehicles-are-fighting-in-u...
1•arnejenssen•3m ago•0 comments

Prevail – open-source AI "life OS" (not for your job)

https://prevail.sh/
1•mrlou•5m ago•0 comments

Shell Has a Forth-Like Quality

https://www.oilshell.org/blog/2017/01/13.html
1•ingve•9m ago•0 comments

Show HN: Brianni – AI chat on GPT/Claude/Gemini that we can't read (provable)

https://brianni.co/blog/prove-were-not-lying
1•iosazee•12m ago•0 comments

Ask HN: What are your favorite games?

2•freedomben•14m ago•1 comments

Never ask a model to do something a deterministic system can do reliably

https://cacm.acm.org/blogcacm/what-platform-security-taught-me-about-trusting-llm-agents/
1•visha1v•15m ago•1 comments

The EU Wants Its Own Tech Supply Chain

https://spectrum.ieee.org/europe-tech-sovereignty-package
1•sscaryterry•15m ago•0 comments

Show HN: iOS-style "select text on any image" OCR for de-googled Android

https://github.com/notune/TextGrab
1•leumon•16m ago•0 comments

Show HN: Formo – Analytics and attribution for onchain apps

https://formo.so/
1•leventhan•16m ago•0 comments

Is Recursive Self-Improvement Here?

https://cacm.acm.org/news/is-recursive-self-improvement-really-here/
1•visha1v•16m ago•1 comments

I made a TUI web browser with its own layout engine

1•keepamovin•18m ago•0 comments

OmniConvert – The File Workbench

https://10convert.pages.dev/
2•rrrpro123•20m ago•7 comments

Samsung profits jump 1,800% as AI chip sales soar

https://www.bbc.com/news/articles/c1kyy8yrpxdo
5•nnurmanov•25m ago•2 comments

SB mini II: a homebrew Apple II clone

https://unimplementedtrap.com/sb-mini-ii-apple-ii-clone/
2•freediver•25m ago•0 comments

Building a High-Performance C++ Backtesting Framework with Order Simulator

https://medium.com/@DolphinDB_Inc/building-a-high-performance-c-backtesting-framework-with-an-ord...
1•yiweileng•26m ago•0 comments

Voice Is My New Keyboard

https://sanju.sh/wisprflow/
2•freediver•27m ago•1 comments

Thoughts on AI

https://rkoziel.com/thoughts/2026-06-29--19-02-29/
1•freediver•30m ago•0 comments

Google's exponential path to climate-wrecking digital bloat

https://ketanjoshi.co/2026/07/01/googles-exponential-path-to-climate-wrecking-digital-bloat/
3•mapleoin•30m ago•0 comments

ReactOS "Open-Source Windows" Project Now Capable of Running Half-Life 2

https://www.phoronix.com/news/Half-Life-2-ReactOS
3•birdculture•30m ago•0 comments

Would you use a tool that finds repeated pain points before you build?

https://foundrly-early.netlify.app
1•GagnoGabin•31m ago•0 comments

Show HN: A Haskell programmable-CAD environment, in the browser with WASM

https://doscienceto.it/waterpark/
3•hungryjoewarren•33m ago•0 comments

Show HN: Deceptive.design – dark pattern types, laws and cases (rebuilt)

https://deceptive.design/
1•harrybr•35m ago•0 comments

Latent Programming Horizons in Coding Agents

https://arxiv.org/abs/2607.05188
3•andre15silva•35m ago•0 comments

Hard time deciding? Let nuclear 8 ball help you

https://radmon.thealch3m1st.com/?view=ball&ext=spec
1•thealch3m1st•36m ago•1 comments

Wanna Hear Particles?

https://radmon.thealch3m1st.com/?view=wf&zoom=300000&audio=count
1•thealch3m1st•38m ago•1 comments

GL.iNet Flint 4 Announced

https://www.gl-inet.com/en-gb/products/gl-be14000
1•prima-facie•38m ago•1 comments

Elon Musk's SpaceX is about to trigger a $4.3B buying frenzy

https://www.independent.co.uk/us/money/spacex-nasdaq-elon-musk-b3010301.html
1•enlightpixel•41m 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?