3 ms·
I’ve written a few compiler-related libraries in the past few years for a DSL (e.g. a few LLVM optimization passes and a type checker). I love two things about
by Q6T46nT668w6i3m 9y ago
I’ve written a few compiler-related libraries in the past few years for a DSL (e.g. a few LLVM optimization passes and a type checker). I love two things about Rust: it’s easy to integrate into existing C and C++ projects and it’s super easy to build and compile (including dependencies). I dislike a lot of stuff about Rust like the noisy (Perl-like) syntax and strange (and enforced) style rules (Arm not ARM), but they are mostly the type of annoyances you’d encounter with anything you really like.
- Q6T46nT668w6i3m 9y agoI forgot to mention another amazing feature: documentation. Rust has speculatcular documentation for beginning, intermediate, and advanced users. Likewise, Rust manages their community so you always know where to look for help (like the managed forums).
- fasquoika 9y ago> like the noisy (Perl-like) syntax I agree that Rust can be pretty noisy in some cases, but I've never really thought of it as Perl-like. Perl's syntax has so much noise so that the language can be enormous whereas Rust is at its core a pretty simple language. Rust code tends to be noisy because it includes a lot of information that you might not care about at the moment
- tmzt 9y agoMight you be referencing the sigils (@ and ~), because thry've been gone for a few years now. The syntax is light and clean, eschewing redundencies like parens around if conditions. More lifetime inference and non-lexical lifetimes help to clean it up even more.