233
submitted 4 months ago by mnmalst@lemmy.zip to c/linux@lemmy.ml

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

you are viewing a single comment's thread
view the rest of the comments
[-] twei@discuss.tchncs.de 15 points 4 months ago

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"

[-] refalo@programming.dev 9 points 4 months ago

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.

[-] twei@discuss.tchncs.de 9 points 4 months ago

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

[-] Kajika@lemmy.ml 2 points 4 months ago

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

[-] twei@discuss.tchncs.de 2 points 4 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)

this post was submitted on 01 Jul 2024
233 points (100.0% liked)

Linux

48332 readers
550 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