Re:Rust Is Surprisingly Good as a Server Language
by tekknik on Tuesday July 14, 2020 @08:53AM
(#23831282)
This isn’t true, in all languages with one you can ignore the garbage collector and still get work done. It may not be the most efficient but you still get work done. Let’s get a fresh out of code bootcamp grad in here and throw two languages in front of them if you want to test this.
[ Parent
| on HN ]
Re:Rust Is Surprisingly Good as a Server Language
by wtetzner on Wednesday July 15, 2020 @03:35PM
(#23850503)
You may be able to get work done, but I've seen actual bugs because people didn't understand how memory was managed. For example, not realizing that passing an object to a function was passing a reference, and not a copy. These are things that are explicit in Rust.
Re:Rust Is Surprisingly Good as a Server Language
by tekknik on Sunday July 19, 2020 @11:34AM
(#23890022)
This won't result in any security related bug, you'd be updating the referenced version instead of a copied version. Both testing and use of the written code will show this "bug" if it's in fact a bug for this specific codebase. So now the question is, does rusts difficult learning curve warrant removing this "maybe" bug? There are other things to consider as well, memory fragmentation, performance etc. Have you measured the performance of code that both copies and updates?