this post was submitted on 04 Oct 2023
266 points (98.9% liked)

Linux

48072 readers
1 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 6 years ago
MODERATORS
 

From BeepingComputer.

you are viewing a single comment's thread
view the rest of the comments
[–] Molecular0079@lemmy.world 118 points 2 years ago (14 children)

It’s always memory management

No wonder everyone's crazy about Rust.

[–] greybeard@lemmy.one 61 points 2 years ago (9 children)

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 19 points 2 years ago (3 children)

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 9 points 2 years ago (1 children)

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 13 points 2 years 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)