286

From BeepingComputer.

you are viewing a single comment's thread
view the rest of the comments
[-] Molecular0079@lemmy.world 124 points 1 year ago

It’s always memory management

No wonder everyone's crazy about Rust.

[-] greybeard@lemmy.one 62 points 1 year ago

It's certainly why it is being used to build browsers and OSs now. Those are places were memory management problems are a huge problem. It probably doesn't make sense for every match 3 game to be made in Rust, but when errors cause massive breaches or death, it's a lot safer than C++, taking human faulability into account.

[-] agressivelyPassive@feddit.de 21 points 1 year ago

Question would be rather: why is something like C++ needed for such simple apps?

C++ seems to be in that weird in-between place of offering high level features to be reasonable productive, but still doesn't enforce/guarantee anything to make these features safe. I'd argue, very few programs need that. Either you're writing business stuff, then you want safety (Java, C#, rust), or you're writing embedded/low level stuff, then you want control (C, ASM).

The room for "productive, but not interested in safety" is basically just AAA games, I guess.

[-] intelati@programming.dev 10 points 1 year ago

C is almost the old "steady" standard now it feels like. It's so flexible and the frameworks are already built..

[-] entropicdrift@lemmy.sdf.org 15 points 1 year ago

...except that we also end up with cracks in our foundations like this exploit constantly being exposed as a result of all that C

load more comments (1 replies)
load more comments (6 replies)
load more comments (10 replies)
this post was submitted on 04 Oct 2023
286 points (99.0% liked)

Linux

47782 readers
919 users here now

From Wikipedia, the free encyclopedia

Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).

Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.

Rules

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

founded 5 years ago
MODERATORS