News for hackers. Stuff that matters.
Re:Brave overhauled its Rust adblock engine with FlatBuffers... by vlovich123 on Tuesday January 06, 2026 @01:45AM (#46509427)
Then by that argument Rust also supports dynamic linking. Actually it’s even better because that approach sacrifices less performance (if done well) than cgo inherently implies.
Re:Brave overhauled its Rust adblock engine with FlatBuffers... by josephg on Tuesday January 06, 2026 @02:23AM (#46509621)
Well, Rust does support dynamic linking. It just doesn’t (yet) offer a stable ABI. So you need to either use C FFI over the dynamic linking bridge, or make sure all linked libraries are compiled with the same version of the rust compiler.
Re:Brave overhauled its Rust adblock engine with FlatBuffers... by Groxx on Tuesday January 06, 2026 @01:46AM (#46509434)
It was built to do that, yes