frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Open in hackernews

RRB-Trees: Efficient Immutable Vectors (2012) [pdf]

https://infoscience.epfl.ch/server/api/core/bitstreams/e5d662ea-1e8d-4dda-b917-8cbb8bb40bf9/content
28•azhenley•1d ago

Comments

wasting_time•1d ago
A refreshing break from Molt News. Now I want to check how vectors are implemented in my favorite languages.
inhumantsar•1d ago
the `im` rust crate provides immutable data structures, one of them being an RRB-based Vec. don't remember what the stdlib Vec uses.
oniony•1d ago
I believe Vec is a straight array underneath, which is reallocated at a larger size when full. And Vector in the `im` crate you mentioned looks very interesting indeed.
erichocean•21h ago
If you like this kind of thing, Bifurcan [0] is a Java library with implementations of RBB-trees and related (fast) immutable data structures.

[0] https://github.com/lacuna/bifurcan

ashton314•1h ago
This is Rhombus’ native data type! Such a nice data structure.
azhenley•1h ago
There was some interesting discussion which data structure to use for Rhombus: https://github.com/racket/rhombus/discussions/221
xeubie•8m ago
I used this data structure in my immutable database (see profile) but eventually switched to a B-tree because I believe RRB trees are inherently flawed. If you do a large number of slices and concats, it is possible for the tree to contain so many gaps it that the tree grows so deep it can't be modified anymore. At first I thought it was a bug in my own implementation but I eventually found the same bug in rrb-vector, the clojure implementation (see CRRBV-14). In fact, the maintainer of that library reached the same conclusion I did and switched to B-trees: https://github.com/jafingerhut/core.btree-vector

Still, I have huge respect for Phil Bagwell and I make heavy use of his hash array mapped trie. But this issue with RRB trees makes it impossible for me to use them, especially for an on-disk data structure whose long lifespan makes it way more likely that the problem will eventually happen.

The 'papers, please' era of the internet will decimate your privacy

https://expression.fire.org/p/the-papers-please-era-of-the-internet
173•bilsbie•1h ago•56 comments

An entire Herculaneum scroll has been read for the first time

https://scrollprize.org/firstscroll
834•verditelabs•7h ago•192 comments

Un-0: Generating Images with Coupled Oscillators

https://unconv.ai/blog/introducing-un-0-generating-images-with-coupled-oscillators/
73•babelfish•2h ago•9 comments

Oxide computer 3D rack guided tour

https://explorer.oxide.computer/
259•darthcloud•3d ago•109 comments

An oral history of Bank Python (2021)

https://calpaterson.com/bank-python.html
43•tosh•3h ago•9 comments

IBM debuts sub-1 nanometer chip technology

https://newsroom.ibm.com/2026-06-25-ibm-debuts-worlds-first-sub-1-nanometer-chip-technology
239•porridgeraisin•7h ago•141 comments

Show HN: OpenKnowledge – open source AI-first alternative to Obsidian/Notion

https://github.com/inkeep/open-knowledge
158•engomez•7h ago•76 comments

A game where you're an OS and have to manage processes, memory and I/O events

https://github.com/plbrault/youre-the-os
38•exploraz•2d ago•7 comments

Om Malik has died

https://om.co/2026/06/24/1966-2026/
239•minimaxir•2h ago•22 comments

Parallel Parentheses Matching

https://williamdue.github.io/blog/parallel-parentheses-matching
34•Athas•3h ago•6 comments

Migrating from Proxmox to NixOS and Incus

https://www.nijho.lt/post/proxmox-to-nixos/
22•wasting_time•1h ago•4 comments

Show HN: Chess-Inspired Roguelike

https://princechazz.com
183•cowboy_henk•4d ago•66 comments

Zig's new bitCast semantics and LLVM back end improvements

https://ziglang.org/devlog/2026/#2026-06-25
202•kouosi•8h ago•78 comments

OS9Map

https://yllan.org/software/OS9Map/
161•LaSombra•8h ago•22 comments

Apple raises prices of MacBooks, iPads

https://www.reuters.com/world/asia-pacific/apple-raises-prices-macbooks-ipads-memory-costs-skyroc...
578•virgildotcodes•10h ago•831 comments

The annotated PyTorch training loop

https://idlemachines.co.uk/essays/pytorch-training-loop
47•smaddrellmander•2d ago•9 comments

GloriousEggroll's Proton has been rebased on Proton 11

https://github.com/GloriousEggroll/proton-ge-custom/releases/tag/GE-Proton11-1
44•d3Xt3r•1d ago•10 comments

You can't unit test for taste

https://dev.karltryggvason.com/you-cant-unit-test-for-taste/
231•kalli•1d ago•113 comments

Besimple AI (YC P25) Is Hiring

https://www.ycombinator.com/companies/besimple-ai/jobs/yWfhhOR-strategic-projects-lead-audio-data
1•yzhong94•6h ago

OpenAI Leans Toward Waiting Until Next Year for IPO

https://www.nytimes.com/2026/06/25/technology/openai-ipo-artificial-intelligence.html
72•mfiguiere•2h ago•42 comments

RRB-Trees: Efficient Immutable Vectors (2012) [pdf]

https://infoscience.epfl.ch/server/api/core/bitstreams/e5d662ea-1e8d-4dda-b917-8cbb8bb40bf9/content
28•azhenley•1d ago•7 comments

Advanced Nintendo Entertainment System (ANES) – NES Modded to Use 2 PPUs

https://github.com/decrazyo/anes
88•zdw•1d ago•28 comments

Show HN: I made Google Trends for Hacker News by indexing 18 years of comments

https://hackernewstrends.com
620•ytkimirti•9h ago•143 comments

Political bias in AI: Where the AI models stand

https://trakkr.ai/bias
99•mektrik•10h ago•198 comments

The disappearance of Japan's animators

https://economist.com/interactive/1843/2026/06/19/the-strange-disappearance-of-japans-animators
127•andsoitis•4d ago•102 comments

Tw-fade: pure CSS scroll-driven edge masking

https://pete.design/tw-fade
79•petekp•3d ago•30 comments

I built a GPU back end for Emacs

https://en.andros.dev/blog/4b707a03/how-i-built-a-gpu-backend-for-emacs/
166•andros•2d ago•83 comments

CAD vs. CAD Tournament

https://www.tootalltoby.com/Tournaments/
4•dgellow•4d ago•0 comments

Military branches restore flu shot requirement after virus swept through base

https://arstechnica.com/health/2026/06/military-branches-restore-flu-shot-requirement-after-virus...
21•tzs•1h ago•3 comments

How physicists track and trap the elusive neutrino

https://www.quantamagazine.org/how-physicists-track-and-trap-the-elusive-neutrino-20260624/
48•ibobev•8h ago•25 comments