frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Genesis – Real-time atomic and subatomic physics simulator

https://genesis.gemmi-e.com
1•Chridgy•26s ago•0 comments

Tell HN: Anthropic found 36 bugs (6 CVEs) in Pion, OpenAI missed them

1•JoTurk•1m ago•0 comments

No Context Adam Curtis Intertitles [video]

https://www.youtube.com/watch?v=jAnoYLg44QI
1•cainxinth•3m ago•0 comments

What we know about the arrest of the Saudi OpenAI engineer

https://www.bbc.com/news/articles/cm04054ykqqqo
1•rmason•4m ago•1 comments

Ask HN: How did you learn a (natural) language?

1•Rendello•5m ago•0 comments

Is the Future of Engineering a Software Factory?/Patrick Debois (Coined DevOps) [video]

https://www.youtube.com/watch?v=FnCnv2tGsK0
1•altras•6m ago•0 comments

Benchmarking open-source LLMs on Verilog RTL generation across 50 tasks

https://semiengineering.com/benchmarking-open-source-llms-on-verilog-rtl-generation-across-50-tas...
1•i_like_pcbs•6m ago•0 comments

The biggest mammal of the Jurassic was a 5-pound otter

https://www.discovermagazine.com/newly-identified-165-million-year-old-otter-like-mammal-was-a-to...
1•bigwheels•8m ago•0 comments

AI Vibe-Coding Just Hit the Video Game Industry Like an Avalanche

https://kotaku.com/ai-vibe-coding-just-hit-the-video-game-industry-like-an-avalanche-2000746366
3•bryan0•11m ago•0 comments

Publish Unreal games to the web with a single prompt

https://app.simplystream.com/
6•astlouis44•13m ago•2 comments

GPU-Accelerated PostGIS

https://github.com/landstats-us/postgis-cuda
2•mapsperson•14m ago•0 comments

Show HN: I benchmarked 6 MCP proxies in Claude Code, then built my own

https://rabin-a.github.io/mcp-router/#benchmark
1•rbnacharya•14m ago•0 comments

Ryzen 9 9950X3D2 sold by Amazon was an Intel CPU under an AMD heat spreader

https://www.reddit.com/r/watercooling/comments/1x724mr/two_different_versions_of_amd_9950x3d2_dual/
2•bigwheels•15m ago•0 comments

Show HN: Pogi – AWS, Google Cloud and Azure on your machine, in one binary

https://github.com/nrndev/pogi
1•narendev•15m ago•0 comments

I found some bugs in Create mod and checked them in Minecraft

https://pvs-studio.com/en/blog/posts/java/1417/
2•ejboy•17m ago•0 comments

Exposé-style overview of all your windows for sway, with live thumbnails

https://github.com/pebeto/woverview
1•pebeto•18m ago•0 comments

I never authorized an integration that scans my secrets

https://github.com/home-assistant/home-assistant.io/issues/49314
51•trvrprkr•26m ago•9 comments

Gnome OS Preview

https://lwn.net/Articles/1101057/
3•mtbkvc•29m ago•1 comments

Meta: Ever Got Stuck?

https://blog.coredump.cx/p/meta-ever-got-stuck
1•surprisetalk•30m ago•0 comments

Nothing Is Boring in America

https://www.commonreader.co.uk/p/nothing-is-boring-in-america
4•paulpauper•30m ago•0 comments

How to effectively debug when you no longer understand the code

https://copyconstruct.medium.com/how-to-effectively-debug-when-you-no-longer-understand-the-code-...
1•ot•30m ago•0 comments

Robert Hall, Optimal Money, and the Nobel Prize

https://www.economicforces.xyz/p/robert-hall-optimal-money-and-the
1•paulpauper•30m ago•0 comments

Analytics engine based on LSM Tree

https://github.com/ZoneTree/ZoneTree.Analytics
1•koculu•31m ago•0 comments

Brazil's electoral court rules against Meta for pro-Bolsonaro algorithm bias

https://www.nbcnews.com/world/south-america/brazil-lula-wins-electoral-court-challenge-meta-alleg...
3•neves•31m ago•2 comments

Ross Douthat: How to Survive the Robot Apocalypse

https://www.thefp.com/p/ross-douthat-how-to-survive-the-robot-apocalypse-ai-tech-doom
1•paulpauper•32m ago•0 comments

Steve Jobs Faked His Way Through Unveiling the iPhone (2017)

https://nymag.com/intelligencer/2017/01/how-steve-jobs-faked-his-way-through-unveiling-the-iphone...
2•andsoitis•34m ago•1 comments

From Redis pressure to a healthier service

https://devblogs.microsoft.com/powerplatform/azure-managed-redis-migration/
1•bucket2015•34m ago•0 comments

Musk suggested Trump restrict Ukraine's Starlink service, Telegraph reports

https://kyivindependent.com/musk-asked-trump-to-restrict-ukraines-starlink-service-telegraph-repo...
6•hn_acker•36m ago•2 comments

Mo' Turns, Mo' Problems

https://ianbarber.blog/2026/10/15/mo-turns-mo-problems/
1•gmays•39m ago•0 comments

Pseudo-Polynomial-Time Load Balancing

https://github.com/martinmusatov28/triplet-partition
2•martinmusatov28•39m 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?