this post was submitted on 13 Dec 2023
70 points (98.6% liked)

Programming

17123 readers
126 users here now

Welcome to the main community in programming.dev! Feel free to post anything relating to programming here!

Cross posting is strongly encouraged in the instance. If you feel your post or another person's post makes sense in another community cross post into it.

Hope you enjoy the instance!

Rules

Rules

  • Follow the programming.dev instance rules
  • Keep content related to programming in some way
  • If you're posting long videos try to add in some form of tldr for those who don't want to watch videos

Wormhole

Follow the wormhole through a path of communities [email protected]



founded 1 year ago
MODERATORS
top 11 comments
sorted by: hot top controversial new old
[–] [email protected] 39 points 9 months ago (1 children)

C#, Go, Java, Python, Rust, and Swift

[–] [email protected] 16 points 9 months ago* (last edited 9 months ago) (2 children)

so basically anything without manual memory management. I don't really see a good point in shilling particular names aside from discussions on performance impact of GC vs VM vs ownership

[–] [email protected] 5 points 9 months ago

Not really manual memory management. I'd say C++'s memory management is automatic, just not safe.

Yes, a lot of programming languages are memory safe, maybe it would be faster to list memory unsafe popular languages.

[–] [email protected] 1 points 9 months ago

Sorry, are you saying the NSA's information sheet shouldn't have mentioned specific languages? Why not?

[–] Aurenkin 28 points 9 months ago

If you aren't getting seg faults, are you really living?

[–] [email protected] 7 points 9 months ago

Stop using C/C++

Spread the word far and wide.

[–] [email protected] 3 points 9 months ago (1 children)

The NSA said this? Looks like it's just going to be assembly for me from here on out. /s, ofc

[–] [email protected] 1 points 9 months ago

fedjacketing rust devs on the funny shaped ursine website

[–] [email protected] 3 points 9 months ago

Yes, they've been saying it for a year, at this point they're repeating themselves: https://www.malwarebytes.com/blog/news/2022/11/nsa-guidance-on-how-to-avoid-software-memory-safety-issues/amp

[–] [email protected] 2 points 9 months ago

I find it amazing that so many are clinging on to C++. It must be that sense of accomplishment when you finally succeed, having solved a bunch of problems on the way. C++ has had so many chances now. Many new standards coming out over the last decade. But the language is hardly simpler, just more to learn. See CoreCppGuidelines. This is what the 2 most prominent people of C++ want developers to learn in order to practice "safe" C++. This doesn't scale. A language needs to be built from the ground up for developers. Rust has taken a whole new concept and tried to solve memory issues directly with the compiler. Other languages are solving other kinds of issues (for differing kinds of use cases). A language should not put such a burden on the developer.

[–] [email protected] 1 points 9 months ago

Laughs in Assembler ...I wouldn't have had work using any of those languages because you can't manage the memory.