frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Open in hackernews

High-performance garbage collection for C++

https://v8.dev/blog/high-performance-cpp-gc
37•motownphilly•21h ago

Comments

MaxBarraclough•12h ago
It's a non-moving collector. It might be high performance by the standards of C++ garbage collectors, but I doubt its performance could be anywhere near what a decent JVM can manage, especially in the absence of finalizers/destructors.

As Ron Pressler (pron here on HN) has been emphasising recently, [0] the 'sweep' phase of a moving garbage collector is unaffected by the size or number of dead objects in the heap (at least in the typical case, where there are no finalizers). This isn't the case here though (it uses free lists), or in any C++ GC.

The policy of running all destructors on the same thread doesn't really seem like 'high performance' architecture either, even if there are good reasons for it.

Still a neat project though. I rather like this:

> Oilpan uses a Clang plugin that statically verifies, among many other things, that no heap objects are accessed during destruction of an object

I'm not sure I understand this:

> Oilpan is a garbage collector written in C++ for managing C++ memory that can be connected to V8 using cross-component tracing that treats the tangled C++/JavaScript object graph as one heap.

In what sense are they treated as one heap? How can they be, given that V8 uses a moving GC for its JavaScript heap? Does it just mean there's some mechanism for a C++ object to refer to a JavaScript object, and vice versa?

[0] https://youtu.be/xr73mR7ii9M?t=1081 Principles of Memory Management in Java, September 2026

monster_truck•14m ago
Node 26 added a bunch of profiling stuff that should make this a bit easier to pick apart. I'm being lazy and waiting for perfetto support on windows to get fixed so I haven't bothered yet
sctb•11h ago
More GC for C++ in v8, I thought? Nope: (2020)
Rhaskins•20m ago
Takes me back to trying to wrangle memory in a large C++ app. True high-perf GC would've been a godsend then.

I can't stop thinking about Papua New Guinea

https://notnottalmud.substack.com/p/why-i-cant-stop-thinking-about-papua
124•networked•3h ago•32 comments

iOS 27, iPadOS 27, and macOS 27

https://www.apple.com/newsroom/2026/09/major-updates-for-apples-software-platforms-are-now-availa...
598•throw0101d•15h ago•679 comments

OpenArm: An open-source 7DOF humanoid arm

https://github.com/enactic/OpenArm
87•Lwrless•1d ago•18 comments

Linux from Scratch

https://www.linuxfromscratch.org/
172•sippingabonedry•5h ago•58 comments

Pion, an agent designed to run any company autonomously

https://andonlabs.com/blog/why-we-built-pion
405•lukaspetersson•16h ago•502 comments

4,400-Year-Old Tomb of Egyptian Judge Found at Saqqara with Colors on Walls

https://arkeonews.net/4400-year-old-tomb-of-an-egyptian-judge-found-at-saqqara-with-colors-still-...
130•arunbahl•2d ago•40 comments

Charts built for Chat

https://dbtcharts.com/blog/charts-built-for-chat/
225•thingsilearned•12h ago•69 comments

XCancel service is suspended until further notice

https://xcancel.com/#
629•gaganyaan•23h ago•934 comments

Show HN: Redis City – Explore how Redis works in an interactive 3D model

https://poltora.dev/redis
84•poltora•2d ago•13 comments

Dropping eBPF CPU Cost by About 90% with Memoization (Not AI Gen)

https://nathannaveen.dev/posts/dropping-ebpf-cpu-cost-by-90/
109•nathannaveen•19h ago•27 comments

Lingo.dev (YC F24) is hiring a senior content engineer (Remote, worldwide)

https://lingo.dev/en/careers/ff88132a-cb79-4d35-a6a0-a6230de7a013
1•maxpr•2h ago

OpenAI bots knew about the RubyGems caching vulnerability

https://tenderlovemaking.com/2026/09/11/what-a-time-to-be-alive/
460•gregnavis•20h ago•368 comments

Distributed Systems Classics (2017)

https://nvartolomei.com/dist-sys-classics/
300•grep_it•17h ago•66 comments

A beginning for mathematics

https://www.daniellitt.com/blog/2026/9/13/a-beginning-for-mathematics/
221•robinhouston•18h ago•117 comments

Compressing a flag to 11 bits

https://read.vantezzen.io/miniflags
142•bennett_dev•2d ago•59 comments

High-performance garbage collection for C++

https://v8.dev/blog/high-performance-cpp-gc
38•motownphilly•21h ago•4 comments

Forgotten Woodlands

https://storymaps.arcgis.com/stories/9b790daf22ba4e87836f467abb1c7e49
57•NaOH•3d ago•20 comments

Show HN: Macros with a Behringer FCB1010 MIDI Pedalboard in macOS

https://github.com/JamesRyanATX/fcbnerd
69•fretlessjazz•10h ago•17 comments

Ubuntu 26.10 completes transition to Rust-based coreutils

https://www.omgubuntu.co.uk/2026/09/ubuntu-2610-rust-coreutils-complete
184•theanonymousone•19h ago•188 comments

Principles for Fast Tokio Applications

https://dial9-rs.github.io/blog/principles-for-fast-tokio-applications/
212•carllerche•18h ago•52 comments

Ask HN: What are you working on? (September 2026)

336•david927•1d ago•1023 comments

People who can't picture anything are rewriting the science of imagination

https://dailyneuron.com/aphantasia-mental-imagery-brain-network/
167•giuliomagnifico•20h ago•240 comments

Synthesizing Loop-Free Programs with Rust and Z3 (2020)

https://fitzgen.com/2020/01/13/synthesizing-loop-free-programs.html
13•karelpeeters•3d ago•0 comments

US confirms for first time it has deployed space weapons

https://www.bbc.com/news/articles/ck790xg41ygro
31•harporoeder•5h ago•3 comments

Steam Frame starts at $1059

https://store.steampowered.com/hardware/steamframe
671•bsimpson•16h ago•509 comments

Backprop Alternative: Augmented Lagrangian Predictive Coding

https://pub.sakana.ai/pc-alm/
93•guld•15h ago•30 comments

How my e-reader lost its stripes

https://www.serpentine.com/posts/2026/x3-stripes/
208•simonmic•17h ago•38 comments

Dario, Please

https://pop.rdi.sh/dario-please/
531•0x5FC3•18h ago•255 comments

Cloudflare AKE cuts origin HelloRetryRequests from 52% to 3.7%

https://blog.cloudflare.com/automatic-key-exchange-for-origins/
112•iamsyr•16h ago•31 comments

Optimizing a Spin-Lock

https://david.alvarezrosa.com/posts/optimizing-a-spin-lock/
67•signa11•2d ago•33 comments