frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Writing for Humans and Machines

https://hiba.fyi/essays/writing-for-humans-and-machines
1•haxzie•1m ago•0 comments

China Eliminates Tariffs on Africa to Outmaneuver U.S.

https://www.wsj.com/world/africa/china-africa-tariffs-664f62eb
1•JumpCrisscross•3m ago•0 comments

Couple of Emacs Hacks (2003)

https://web.archive.org/web/20160303225220/http://osdir.com/ml/lisp.cmucl.devel/2003-08/msg00302....
1•susam•3m ago•0 comments

Assertables v10: Rust crate for assert test macros on Codeberg/GitHub/GitLab

https://github.com/assertables/assertables-rust-crate
1•jph•3m ago•0 comments

ExtendDB: An open source DynamoDB-compatible adapter with pluggable storage

https://aws.amazon.com/blogs/database/introducing-extenddb-an-open-source-dynamodb-compatible-ada...
2•shenli3514•3m ago•0 comments

Announcement: We've Updated the Rules, and April Is Finally Over

https://old.reddit.com/r/programming/comments/1tlh5aj/announcement_weve_updated_the_rules_and_apr...
1•birdculture•4m ago•0 comments

Decision Precision

https://allenc.com/decision-precision/
1•allenc•4m ago•0 comments

Building a Search Engine from Scratch – 1

https://unconventionalthinker.vercel.app/builiding_a_search_engine_part1.html
1•unconventional•4m ago•0 comments

Reality has a surprising amount of detail (2017)

http://johnsalvatier.org/blog/2017/reality-has-a-surprising-amount-of-detail
1•downbad_•6m ago•0 comments

Poor's Man Opaque Types

https://lungarellaraffaele.dev/writings/brand-types/
1•lung42•8m ago•0 comments

C as an Intermediate Language (2012)

https://yosefk.com/blog/c-as-an-intermediate-language.html
1•downbad_•8m ago•0 comments

Childhood and Education #19: Letting Kids Be Kids #2

https://thezvi.substack.com/p/childhood-and-education-19-letting
1•paulpauper•10m ago•0 comments

Stable Code from Stable Problems

https://ieeexplore.ieee.org/document/11527162
1•gfairbanks•10m ago•1 comments

'The vibes are young male vibes': Why prediction markets attract a certain type

https://www.bbc.com/news/articles/c93xv27kpwxo
1•paulpauper•13m ago•0 comments

From Open Source Software to Open Source Strategy

https://p3institute.substack.com/p/from-open-source-software-to-open
1•momentmaker•15m ago•0 comments

Google Is Paving a New Information Superhighway

https://warnercrocker.com/2026/05/23/google-is-paving-a-new-information-superhighway/
1•cdrnsf•16m ago•0 comments

Monthly News – May 2026

https://blog.linuxmint.com/?p=5025
1•paulnpace•16m ago•0 comments

Why are Flathub downloads so slow sometimes?

https://barthalion.blog/flathub-internals-cdn-and-deltas/
1•speckx•16m ago•0 comments

Soupault: A static website management tool

https://soupault.net/
1•Tomte•17m ago•0 comments

Google is pitching an AI agent ecosystem to consumers who may not buy it

https://techcrunch.com/2026/05/21/google-is-pitching-an-ai-agent-ecosystem-to-consumers-who-may-n...
1•cdrnsf•19m ago•0 comments

HTML-XML-Utils

https://www.w3.org/Tools/HTML-XML-utils/README
1•Tomte•23m ago•0 comments

An automated A.I. WWE news channel on YouTube tries to pronounce "WWE"

https://twitter.com/LarryBundyJr/status/2058140468219707566
1•YeGoblynQueenne•24m ago•0 comments

Claude Code MIT Dashboard

https://github.com/BEKO2210/My_Dash
1•Beko2210•26m ago•1 comments

Google's AI Search Is So Broken It Can 'Disregard' What You're Looking For

https://www.theverge.com/tech/936176/google-ai-overviews-search-disregard
1•Brajeshwar•28m ago•0 comments

Picovoice Discointinues Free Tier

https://console.picovoice.ai/
1•vghaisas•29m ago•2 comments

LogiWebConnect – Working on Linux

https://github.com/shneeba/logiwebconnect-mirror
1•properbrew•29m ago•1 comments

Reverse engineering circuitry in a Spacelab computer from 1980

https://www.righto.com/2026/05/reverse-engineering-spacelab-computer.html
10•elpocko•31m ago•1 comments

Data centers could be good for your hometown

https://www.vox.com/politics/488754/data-centers-ban-electric-bill-water
2•dabinat•33m ago•3 comments

'A Total Nightmare': Voices from a Moscow Hit by Ukrainian Drones

https://www.nytimes.com/2026/05/23/world/europe/moscow-drone-attacks-ukraine.html
4•JumpCrisscross•34m ago•1 comments

What Lamarck's Giraffe Got Right

https://nautil.us/what-lamarcks-giraffe-got-right-1280790
1•bookofjoe•35m 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?