19 karma · joined Aug 19, 2016 (10y ago) · 17 submissions
comment 1y ago · link · parent
Duplicating this wrapper in every driver would just make painful the usage of DMA for Rust drivers for not benefit.
comment 2y ago · link · parent
The safety in a programming language is mostly protecting the programmer against itself. The probability for a programmer to write this kind of code by mistake is close to zero, as opposed to UB in C or C++ that are pretty common. To make a vulnerable program with this kind of issue, the programmer would have to make them on purpose, what is unlikely unless for this kind of joke repository.
comment 4y ago · link · parent
But nowadays WASM is much more suitable for the job. JavaScript was designed as a scripting language, not a low level intermediary language.
comment 5y ago · link · parent
Of course you have to care about the problem domain first, but it's absolutely wrong that nobody commit their budget to fix C++ safety problems. There is a massive amount of static and dynamic tooling to mitigate its problems and a substantial part of the C++ evolution these last years was to improve safety. Rust was able to go further than C++ in this area since it is not yet constrained by decades of history.
comment 5y ago · link · parent
- Jetbrains IDE with the Rust plugin (maintained by Jetbrains itself). The free IntelliJ IDE Community works really well. CLion or IntelliJ Ultimate are necessary for debugging support
- The Rust-analyser tool. A language server that can be used, in theory, on any IDE supporting the LSP protocol. Code is the most used IDE with this tool since it is the reference IDE of the project.
comment 9y ago · link · parent
Everything was perfecty smooth, but according to pcwalton the bottleneck was CSS handling.