Register for your free Red Hat account Counting characters Even the common microservice architecture, combined with defense-in-depth principles, must be able to unpack untrusted data quickly. In the modern world, browsers are no longer the only things on which there is pressure to be safe and fast. Rust originated from the Mozilla Foundation as a way to improve the Firefox browser. If this sounds like what a web browser does, it is no coincidence. The data to be parsed often comes from untrusted sources and may need to be parsed in a performant way. The quintessential use case for Rust is low-level parsing of protocols. This concern is increasingly important in a networked world. Rust was designed as a language to achieve a combination of high-performance code that is memory safe. Why did people create Rust? What problem was not addressed by existing languages? With the (rare) exception of needing to write unsafe code yourself, memory violations result from the underlying infrastructure. This does not make the statement vacuous though. Rust standard library code has quite a bit of code that is marked unsafe, though less than what many assume.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |