News for hackers. Stuff that matters.
Re:Stranger Strings: An exploitable flaw in SQLite by 0x000xca0xfe on Tuesday October 25, 2022 @04:24PM (#33335660)
How would you embed SQLite into other programs if it were written in Rust? Isn't the lack of basically all dependencies the main advantage?

(I'm actually curious, how does dynamic linking work with Rust? Can you build a .so/.dll/.h pair and ship it everywhere like with C?)

Re:Stranger Strings: An exploitable flaw in SQLite by steveklabnik on Tuesday October 25, 2022 @05:43PM (#33336559)
You can create a dynamic library, to be linked to just like any C library, from Rust. Doing so was actually some of the first production uses of Rust ever.

everywhere depends on what you mean; rustc does have support for fewer platforms than gcc. But it's still quite a few.