this post was submitted on 01 Jul 2024
225 points (93.8% liked)

Linux

48397 readers
1017 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
 

Exiting news for the lady bird browser. https://ladybird.org/

you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 0 points 5 months ago (1 children)

Hard disagree. Safe C++ code can be written quite easily these days. And better tools are coming out all the time.

[–] [email protected] 13 points 5 months ago (1 children)

Yes, but there's a difference between "you can write safe code" and "the compiler will come for your family the next time you make a mistake"

[–] [email protected] 4 points 5 months ago (1 children)

rust isn't a magic bullet either, it still doesn't protect against a whole host of problems, like stack overflows, out of memory/bitflips, logic errors, memory leaks, unrecoverable errors/panics etc., and many projects are full of unsafe context rust code anyways.

[–] [email protected] 8 points 5 months ago (1 children)

That cannot be true, i used #![forbid(unsafe_code)]

Jokes aside: yes, Rust (and Go) wont magically resolve SQL Injections, but if we remember that about 70% of bugs are related to memory safety, using Rust (or Go) will make your code at least somewhat safer

[–] [email protected] 2 points 5 months ago (1 children)

And C++, just checked the wiki and the 2 example of openssh's heartbleed and sudo, both in C. Not C++. As expected.

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

By that logic scratch would be the safest language out there (or can you tell me the last time a program written/built in scratch had a bug that affected millions of ppl around the world)