{"id":8487,"date":"2020-12-16T13:45:47","date_gmt":"2020-12-16T11:45:47","guid":{"rendered":"https:\/\/atostek.com\/?p=8487"},"modified":"2022-09-05T14:48:43","modified_gmt":"2022-09-05T11:48:43","slug":"programming-with-rust","status":"publish","type":"post","link":"https:\/\/atostek.com\/en\/programming-with-rust\/","title":{"rendered":"Programming with Rust"},"content":{"rendered":"
Rust is a young programming language; not brand-new, but not old or rusty by any means.<\/strong><\/p>\n Rust was first introduced at Mozilla in the 2010s, and it proved its worth at the core of Firefox. The parts written in Rust made the browser fast. The programming language was useful in implementing parallel layout algorithms and utilizing graphics cards.<\/p>\n Using Rust also made the browser more stable and secure. In one of the Mozilla Hacks articles, Diane Hosfelt says that she went through all of the security bugs in Firefox\u2019s style component since its publication in 2002 \u2014 and found a total of 69 of them. She writes that 51 of these bugs would not have been possible if the component had been written in Rust from the start<\/a>.<\/p>\n Rust makes programmers feel confident that it is difficult, almost impossible, to make the errors typical of other languages. It is usually difficult to avoid memory management errors in programming, and C++, for example, gives far too many chances for you to make mistakes.<\/p>\nWhat does Rust offer?<\/h2>\n