I’m a rust fan, but may I remind you that the Linux kernel is mostly C?
Comment on Snac: A simple, minimalistic ActivityPub instance
atzanteol@sh.itjust.works 2 weeks ago
Bonkers that anyone would start a social media app in C in 2025. “No JavaScript” but you’re just one buffer overflow from arbitrary code execution.
eutampieri@feddit.it 2 weeks ago
56_@lemmy.ml 2 weeks ago
I feel like snac is social media made specifically for people who like C though. I’m sure most users of it are well aware of the implications.
z3r0_Geek@lemmy.zip 2 weeks ago
How is that?
atzanteol@sh.itjust.works 2 weeks ago
C is a “memory unsafe” language. There are whole categories of security vulnerabilities that simply aren’t possible in memory-safe languages that C allows. There is no good reason to continue using C anymore for new projects if you care at all about security.
sugoidogo@discuss.online 2 weeks ago
C is also faster than JavaScript, uses less memory, and memory safety isn’t impossible in C either. I wouldn’t consider a scripting language to even be a choice for writing a backend server if I can use a compiled language instead.
atzanteol@sh.itjust.works 2 weeks ago
In practice it is.
Neat.
jewbies@lemmynsfw.com 2 weeks ago
Id just like to point out that there is no such thing as “compiled” languages. The compiler or interpretor is the implementation of the spec. Did you know that there are interpreted versions of c?