frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Big Paychecks Can't Woo Enough Sailors for America's Commercial Fleet

https://www.wsj.com/business/logistics/big-paychecks-cant-woo-enough-sailors-for-americas-commerc...
1•andrewrn•3m ago•2 comments

Attoboy: New beginner-friendly C++ library for making small Windows exes

https://coeurnix.github.io/attoboy/
3•coeurnix•10m ago•0 comments

Japan's low-crime image cracking as car thefts, home intrusions rise

https://english.kyodonews.net/articles/-/65815
1•rawgabbit•13m ago•1 comments

India Says Mandatory Phone App Can Be Deleted After Backlash

https://www.bloomberg.com/news/articles/2025-12-03/india-says-mandatory-phone-app-can-be-deleted-...
1•SanjayMehta•14m ago•0 comments

A comprehensive criticism of C++ [video]

https://www.youtube.com/watch?v=7fGB-hjc2Gc
1•odie5533•14m ago•0 comments

What If Linus Torvalds Gets Hit by a Bus? (2000)

https://www.crummy.com/writing/segfault.org/Bus.html
2•LorenDB•16m ago•1 comments

Building an AI memorial portrait generator: architecture and lessons

https://medium.com/@fjzll.nju/building-an-ai-memorial-portrait-generator-architecture-trade-offs-...
1•fjzll•16m ago•1 comments

LandSpace could become China's first company to land a reusable rocket

https://arstechnica.com/space/2025/12/this-chinese-company-could-become-the-countrys-first-to-lan...
1•perihelions•17m ago•0 comments

Font

1•Toony•20m ago•0 comments

AI may be scoring your college essay. Welcome to the new era of admissions

https://apnews.com/article/ai-chatgpt-college-admissions-essays-87802788683ca4831bf1390078147a6f
2•rawgabbit•20m ago•0 comments

RISC OS – A New Hope

https://www.riscosopen.org/news/articles/2025/11/20/episode-iv-a-new-hope
1•andsoitis•23m ago•0 comments

Qoder Releases JetBrains Plugin

https://qoder.com/download
1•heyu0328•29m ago•1 comments

Running Linux on a RiscPC, why is it so hard?

https://www.thejpster.org.uk/blog/blog-2025-12-02/
1•todsacerdoti•30m ago•1 comments

Show HN: AmAttractive – AI Attractiveness Test and Beauty PK Arena

https://amattractive.com
1•jokera•31m ago•0 comments

Amazon Nova Playground

https://nova.amazon.com/act?tab=playground
1•brokensegue•33m ago•0 comments

This Month in Ladybird – November 2025

https://ladybird.org/newsletter/2025-11-30/
1•exploraz•34m ago•0 comments

Show HN: Hoodl.net – Find and Vet Top X Influencers in Seconds with PageRank

https://hoodl.net
3•Frannky•34m ago•0 comments

From DeFi Summer to X402 Summer: MCP, X402, and the Fragmented Web

https://medium.com/@a6b8/from-defi-summer-to-x402-summer-mcp-x402-and-the-fragmented-web-94faa1c5...
1•Andreas_3d•35m ago•0 comments

Oregon's hospital price cap cut costs without comprising care

https://sph.brown.edu/news/2025-12-02/hospital-price-caps
2•geox•35m ago•0 comments

Ask HN: About Karma

2•jsxyzb•35m ago•1 comments

The Hammer Hack

https://randsinrepose.com/archives/the-hammer-hack/
1•CharlesW•36m ago•0 comments

Ask HN: Why is everyone in tech so performative/two faced

3•bunnybomb2•41m ago•10 comments

Show HN: CodeProt – Filter static analysis false positives in CI

https://codeprot.com
1•allenz_cheung•55m ago•0 comments

(Norway) New Record: Almost 100% EV Registrations in November

https://www.electrive.com/2025/12/01/norway-sets-new-record-with-near-100-electric-vehicle-regist...
2•JojoFatsani•58m ago•0 comments

Roko's Dancing Basilisk

https://boston.conman.org/2025/12/02.1
2•todsacerdoti•59m ago•0 comments

Human art in a post-AI world should be strange

https://www.owlposting.com/p/art-in-a-post-ai-world-should-be
4•crescit_eundo•59m ago•0 comments

Young Ants Beg for Death When Sick, New Study Reveals

https://www.sciencealert.com/young-ants-beg-for-death-when-sick-new-study-reveals
1•ashishgupta2209•59m ago•0 comments

The Atari Jaguar's Last Roar

https://thedeletedscenes.substack.com/p/not-with-a-roar-but-with-a-whimper
2•adelmastro•1h ago•0 comments

"Diff-Focus: Reduce code review ramp-up time with heuristic diff summarization"

https://github.com/yksanjo/diff-focus-chrome
1•yksanjo•1h ago•0 comments

Show HN: The Forge Calculator for Roblox "The Forge"

https://theforgecalculator.org
1•takennap•1h ago•0 comments
Open in hackernews

Packed Data Support in Haskell

https://arthi-chaud.github.io/posts/packed/
77•matt_d•7mo ago

Comments

nine_k•7mo 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•7mo ago
We are always reinventing wheels. If we didn't, they'd all still be made of wood.
Zolomon•7mo ago
They mention this in the article.
spockz•7mo ago
It reminds me more of flat buffers though. Does protobuf also have zero allocation (beyond initial ingestion) and no pointer jumps?
cstrahan•7mo ago
No, one example of why being variable sized integers.

See https://protobuf.dev/programming-guides/encoding/

carterschonwald•7mo ago
One thing that sometimes gets tricky in these things is handling Sub term sharing. I wonder how they implemented it.
tlb•7mo 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•7mo 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•7mo 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•7mo ago
honestly i wish more stuff worked this way - fewer hops in memory always makes me happy
lordleft•7mo ago
This was very well written. Excellent article!
NetOpWibby•7mo ago
Is this like MessagePack for Haskell?