In his presentation at QCon 2009 in London, Tony Hoare refers to.
Added on -2019-09-16
| 1 pages
| 191 words
| 177 views
Trusted by 2+ million users, 1000+ happy students everyday
Showing pages 1 to 1 of 1 pages
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.
Found this document preview useful?
You are reading a preview Upload your documents to download or Become a Desklib member to get accesss