logo

Rust: Addressing Complexity and Security

   

Added on  2019-09-16

1 Pages191 Words177 Views
 | 
 | 
 | 
1.In his presentation at QCon 2009 in London, Tony Hoare refers to his invention of the null reference as his ``billion-dollar mistake'' because he ``couldn't resist the temptation to put in a null reference, simply because it was so easy to implement''.Using specific code snippets in C or C++ (no handwaving please), explain how null references can indeed cause complexities and code insecurities. 2.How does the programming language Rust address the issue in the context of guaranteed memory safety? Contrast Rust with your C/C++ examples.3.Rust also provides threads without data races, trait-based generics, and type inference. For each feature,discuss how it helps to improve secure coding. Compare these concepts with those used in C or C++, using class discissions and/or the Seacord textbook.Be specific!4. Suppose you are working for a large company, and the boss gives you a choice between using Rust or C++ to build a software applciation. From an ethical perspective, discuss which language you would choose. Explain your reasons clearly.
Rust: Addressing Complexity and Security_1

End of preview

Want to access all the pages? Upload your documents or become a member.

Related Documents