frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Not-a-Linux distro review: SerenityOS is a Unix-y love letter to the '90s (2021)

https://arstechnica.com/gadgets/2021/08/not-a-linux-distro-review-serenityos-is-a-unix-y-love-let...
1•doener•1m ago•0 comments

NATO Scrambles Eurofighters, F-16s After Drone Enters Latvian Airspace

https://www.newsweek.com/nato-scrambles-eurofighters-f-16s-after-drone-enters-latvian-airspace-12...
2•Bluestein•1m ago•0 comments

Quantum Annealing, Or, Do Weird Stuff (2013)

https://robertheaton.com/2013/02/11/quantum-annealing/
1•tosh•4m ago•0 comments

The New Berlin Wall

https://planetocracy.org/p/the-new-berlin-wall
1•pr337h4m•5m ago•0 comments

StoryScope: Investigating Idiosyncrasies in AI Fiction

https://arxiv.org/abs/2604.03136
1•dgellow•6m ago•0 comments

Quantum Annealing

https://en.wikipedia.org/wiki/Quantum_annealing
1•tosh•6m ago•0 comments

Evaluating Your Agentic Harnesses

https://data4sci.substack.com/p/evaluating-your-agentic-harnesses
2•Anon84•6m ago•0 comments

Show HN: Rank and Run – No free version of this card game existed, so I made one

https://www.rankandrun.app/
1•xthreadmaker•6m ago•0 comments

StarCraft: Brood War now runs natively on a 68k Amiga – first alpha release

https://www.reddit.com/r/amiga/comments/1vnr1vv/starcraft_brood_war_now_runs_natively_on_a_68k/
1•doener•7m ago•0 comments

Beyond the Userspace Call Stack: Subsystem Context for Detection Engineering

https://fibratus.io/blog/kernel-call-stack-subsystem-context-detection-engineering
1•archrabbit•10m ago•0 comments

Unfit to Boot: Breaking U-Boot's Fit Signature Verification

https://www.binarly.io/blog/unfit-to-boot-breaking-u-boots-fit-signature-verification
1•ankitg12•13m ago•0 comments

Fish are facing a summer of death in UK's poisoned rivers

https://inews.co.uk/news/feargal-sharkey-fish-facing-summer-death-uks-rivers-4700217
1•robtherobber•14m ago•0 comments

Show HN: Take a break, play some puzzles

https://gridmino.com/
1•marko-projects•14m ago•0 comments

Why does Opus 5 feel worse to work with?

https://mun-logadan.github.io/why-does-opus-5-feel-worse/
16•numeri•15m ago•4 comments

Firetiger Joins Cursor

https://cursor.com/blog/firetiger
1•ms7892•17m ago•0 comments

Major oil slick washes up on Iran coast after Hormuz ship strike

https://www.bbc.com/news/articles/cr7kpdkg13zo
2•binyu•17m ago•0 comments

Source download: Browse, inspect and download every asset as a ZIP

https://github.com/turanburakyesilyurt/source-download
1•2rundev•20m ago•0 comments

Ask HN: Why was my Show HN flagged?

2•gits997•20m ago•0 comments

A Probe Direction Is a Property of Its Prompt

https://arxiv.org/abs/2608.13329
1•sbulaev•20m ago•0 comments

I want extern "fil-C"

https://www.domenkozar.com/2026/08/13/i-want-extern-fil-c/
2•ingve•21m ago•0 comments

WordPress Plugin Generator with AI

https://steem.dev
1•startuphubai•24m ago•1 comments

BuyMeACoffee dropped support for many countries, and nobody cares (2024)

https://zverok.space/blog/2024-08-08-bmac-snafu.html
1•downbad_•24m ago•0 comments

Deep-Imager|One-Stop AI Image Generation Platform

1•chgxue•25m ago•0 comments

Give Up on Your Creative Dreams

https://russellwalter.substack.com/p/you-should-give-up-on-your-creative
2•barry-cotter•28m ago•0 comments

Building a software factory for AI SDK

https://vercel.com/blog/building-a-software-factory-for-ai-sdk
1•lgrammel•29m ago•0 comments

Open knowledge compiler: a compiler for the open knowledge format

https://towardsdev.com/announcing-open-knowledge-compiler-a-compiler-for-the-open-knowledge-forma...
1•deepmem•31m ago•0 comments

Chatbots are doing the work of Congress with little oversight

https://www.washingtonpost.com/politics/2026/08/13/chatbots-are-doing-work-congress-with-little-o...
2•thm•31m ago•0 comments

DeepSeek peak/off-peak pricing update

https://api-docs.deepseek.com/news/news260813/
14•fagnerbrack•32m ago•2 comments

Gemini 3.7 Flash: On the Intelligence vs. Time per Task Pareto frontier

https://artificialanalysis.ai/articles/gemini-3-7-time-frontier
1•frozenseven•32m ago•0 comments

I burned $157,143 in tokens last month. I paid $400

https://www.orcdev.com/blog/ai-subscriptions
1•theHocineSaad•36m 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?