News for hackers. Stuff that matters.
Re:Memory Safe Languages in Android 13 by kaba0 on Friday December 02, 2022 @02:08AM (#33827758)
Google’s C++ coding guide is (was?) not really up-to-date, so there is that.

Modern C++ is indeed a huge upgrade on what came before and with a good amount of static and dynamic analysis the state of low-level programming is much better now, but there really is no reason for new programs to be written with these. Besides the bottom of the stack, managed languages are more than fast enough for nigh everything.

Re:Memory Safe Languages in Android 13 by rob74 on Friday December 02, 2022 @02:47AM (#33827948)
> Besides the bottom of the stack, managed languages are more than fast enough for nigh everything

And yet, there is a lot of enthusiasm (at least here on HN) for web development in Rust...

Re:Memory Safe Languages in Android 13 by UncleMeat on Friday December 02, 2022 @08:22AM (#33830101)
There are plenty of people who want to write in Rust for the fun of it. But I'm not aware of too many people saying that you should avoid writing a web application in java/python/js in favor of rust. Pretty much the only people being told to stop doing what they are doing are the people starting new projects that process untrusted data in C and C++.
Re:Memory Safe Languages in Android 13 by steveklabnik on Friday December 02, 2022 @09:36AM (#33830917)
You and your parent are saying slightly different things with regards to web dev; they said there's enthusiasm for doing it, not that you shouldn't write web applications in those languages.

Someone can think it's fine to write a web application in java/python/js and Rust.

Re:Memory Safe Languages in Android 13 by bitexploder on Friday December 02, 2022 @07:53AM (#33829842)
Never mind you don’t give up any performance to use Rust anyway. They focused heavily on only incorporating features with zero cost abstractions.