Earlier quoted context omitted.
I always say that if the strongest complaint people have about your language is syntax; you've already succeeded.
You have an extra semicolon in your comment.
:o)
51–60 of 606 posts
Why no Go?
Earlier quoted context omitted.
Actually now is the time to learn C++. Amount of leverage and money C++ developers will be able to utilize is enormous, given how much critical code is written in it.
I'm learning modern c++ these days, but I don't follow your 'money' logic here...
Why no Go?
It would require rearchitecting everything to work with separate processes and IPC, and that’s got some overhead(s).
It also has memory safety issues around concurrency, and its limited allowance for abstractions makes papering over those complicated.
Earlier quoted context omitted.
Actually now is the time to learn C++. Amount of leverage and money C++ developers will be able to utilize is enormous, given how much critical code is written in it.
I don't think it's worth the pain to learn C++ today. Of course, expert or just senior C++ developers have a bright future ahead (even though their domain will slowly becomes more niche every year), but for someone starting their career now, I doubt they'll reach the expert level before it has lost most of its relevance.
Earlier quoted context omitted.
Rust (despite the common understanding) is not a memory-safe language in its entirety. It is a language designed to have a strict division of safe/unsafe which makes it easier for developers to compartmentalize code to achieve memory-safety.
No language in use meets your definition of memory safe.
I'll be downvoted for pointing out that comparing C++ with Rust without further context can be made into a false dichotomy. Some people are posting the article around the Internet as evidence that Rust solved security. Instead, there are many other memory safe languages around and there has been thousands in the past. Additionally, many security issues are not due to memory safety. Please keep that in mind when makin…
Earlier quoted context omitted.
Not only that, they are also comparing new code with pretty old code.
They're also explicitly tracking new code by language, and talking about memory safety vulnerabilities per year, and they also link to [1] which talks about how most memory safety bugs they get are in new code. Most of the graphs here are about new code. [1]: https://security.googleblog.com/2021/04/rust-in-android-plat...
edit2: wow mods hard at work, already removed one dissenting post.
I'll be downvoted for pointing out that comparing C++ with Rust without further context can be made into a false dichotomy. Some people are posting the article around the Internet as evidence that Rust solved security. Instead, there are many other memory safe languages around and there has been thousands in the past. Additionally, many security issues are not due to memory safety. Please keep that in mind when makin…