Would you prefer: (a) run C untrusted input parser in a tight, audited sandbox, or (b) run Rust untrusted input parser in a sensitive unsandboxed process?
-
-
-
Depends on the quality of the unsafe code in the Rust parser. I like sandboxes, but I don’t have unlimited confidence in them given the attack surface of the interface to the TCB (kernel, trusted broker process, etc.)
End of conversation
New conversation -
-
-
There's a valid argument though that Rust is a good replacement for C++ and big code bases written by big teams, but not for C and small teams. Compile-time memory safety is a great thing to have, but so is a minimal language "surface area" (all IMHO of course).
-
I'm a small team and its a VAST improvement over C (or C++). My code is much more stable.
- 21 more replies
New conversation -
-
-
I like "this project is better because it was progressively rewritten in Rust", c.f. librsvg.
Thanks. Twitter will use this to make your timeline better. UndoUndo
-
-
-
Agreed. I usually dismiss interesting software almost immediately if it's written in a low-quality language. Everyone starting new projects in C/C++ better have some very good explanation.
Thanks. Twitter will use this to make your timeline better. UndoUndo
-
-
-
How about just stop rewriting and start writing new cool stuff! I love c++, rust, nim, lisp, etc. Each of them have uses and each of them is the right tool for certain jobs... seriously stop treating languages like football teams in terms of adoration! Don't be possessed!
Thanks. Twitter will use this to make your timeline better. UndoUndo
-
-
-
I wouldn’t want to rewrite all of my C++ tools in Rust. I really like inheritance and see it as a flaw that Rust doesn’t have it. Others will disagree and assert that composition is better, but I don’t believe it is. I’ll continue to write some tools in C++ and some in Rust.
-
Is there a reason you consider composition to be flawed?
- 1 more reply
New conversation -
-
-
Zero difference between good and bad things and all that
Thanks. Twitter will use this to make your timeline better. UndoUndo
-
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.