by Verdex · 3y ago · 0 comments
Yes. It looks like the paper has some useful things to say. However, that abstract + intro is like walking into a wedding and splashing red paint on the bride and then announcing a bunch of very good reasons why the wedding should not continue. Nobody is going to be listening.
Perhaps another way to say it is that nobody is misreading their intension. What they're doing is ignoring reasonable concerns said in an unreasonable way.
These discussions frequently feel “tense”, wherein criticisms based on specific technical details are tied to an attack on the language as a whole.
In that context, the authors definitely shot themselves in the foot with the opening/title.
“you have to think hard to avoid UB via rust’s FFI mechanics.”
this is contrary to rust’s aims to make such bugs impossible, rather than just hard.
Hence their proposal for a DSL _in rust_, which makes those bugs impossible.
The authors are providing a solution to a clearly identified problem, with the goal of making rust better.
Despite the poor intro, the ideas in the paper are “let’s shrink the unsafe boundary”, not “let’s stick to writing what we know(C).”