News for hackers. Stuff that matters.
Re:Brave overhauled its Rust adblock engine with FlatBuffers... by nasso_dev on Monday January 05, 2026 @07:53PM (#46507391)
Aren't procedural macros amd build.rs arbitrary code being executed at build time?
Re:Brave overhauled its Rust adblock engine with FlatBuffers... by tuetuopay on Tuesday January 06, 2026 @04:56AM (#46510525)
Pretty much, yes. And they don’t have much as far as isolation goes. It’s a bit frightening honestly.

It does unlock some interesting things to be sure, like sqlx’ macros that check the query at compile time by connecting to the database and checking the query against it. If this sounds like the compiler connecting to a database, well, it’s because it is.