Post Au6JcXwLX1Ihs7Pspc by BrodieOnLinux@mstdn.social
 (DIR) More posts by BrodieOnLinux@mstdn.social
 (DIR) Post #Au6JcXwLX1Ihs7Pspc by BrodieOnLinux@mstdn.social
       2025-05-15T00:08:32Z
       
       1 likes, 0 repeats
       
       If there's 1 stupid idea I can eliminate this year I want people to stop thinking that Rust is the special chosen memory safe language, instead of the reality which is memory safety is the standard, languages like C are the exception. The only reason why memory safety is a discussion is because C is such a popular and ingrained language.The methods by which memory safety happens are special but we can't even talk about that if we focus on the stupid shit.
       
 (DIR) Post #Au6JgDOBshS9IDBpFQ by 10leej@fosstodon.org
       2025-05-15T00:09:09Z
       
       0 likes, 0 repeats
       
       @BrodieOnLinux memory leaks are memory safe
       
 (DIR) Post #Au6JiSVQeGpmkue4KO by AkIN5RMKVSkgqIBLWa.jeff@mk.magicka.org
       2025-05-15T00:09:38.076Z
       
       0 likes, 0 repeats
       
       @10leej@fosstodon.org @BrodieOnLinux@mstdn.social a GC is memory safe too.
       
 (DIR) Post #Au6JjFAXiiF5gKFa4m by BrodieOnLinux@mstdn.social
       2025-05-15T00:09:45Z
       
       0 likes, 0 repeats
       
       @10leej Depends on the leak, most leaks are allocation issues which cannot be stopped unless you don't let people allocate memory
       
 (DIR) Post #Au6Jp8jEZvrvRcHwK8 by techokami@woof.tech
       2025-05-15T00:10:45Z
       
       0 likes, 0 repeats
       
       @BrodieOnLinux I predict I am going to be violently roasted for saying this, but people hate Ada for the same reasons they love Rust
       
 (DIR) Post #Au6JrBm8DoeDTNcXyK by BrodieOnLinux@mstdn.social
       2025-05-15T00:11:11Z
       
       0 likes, 0 repeats
       
       @techokami TLDR on Ada, not really looked into it
       
 (DIR) Post #Au6KHA3rDXSbgaIR7o by techokami@woof.tech
       2025-05-15T00:15:50Z
       
       0 likes, 0 repeats
       
       @BrodieOnLinux it's a programming language from the 80s that can roughly and crudely be summed up as "Rust but with Pascal syntax"People hated it because all the memory safety features created overhead which made things slower and bloated compared to languages like C, and blamed the US Air Force for it because they were the main force driving its adoption (despite being made by the French!)The language is very FOSS nowadays, the official specs are freely available and the official compiler is part of GCC, so it mirrors Rust even moreso nowadays.
       
 (DIR) Post #Au6s8lw2QlVUz7oItc by sgued@pouet.chapril.org
       2025-05-15T06:35:10Z
       
       0 likes, 0 repeats
       
       @BrodieOnLinux Rust is not popular because of memory safety. It's popular because it's pretty much the only language to be new-ish and to have actively learned from most past languages, including niche functional ones, making it a very very enjoyable language to use.The memory safety bit is only relevant for low level system stuff where almost all other memory safe languages need a garbage collector and a huge runtime that is either slow or memory hungry.
       
 (DIR) Post #Au6sGqMDs9Xl17uH7w by BrodieOnLinux@mstdn.social
       2025-05-15T06:36:47Z
       
       0 likes, 0 repeats
       
       @sgued The memory safety thing is a red herring that people only talk about because other people talk about.
       
 (DIR) Post #Au6u6dIFmzKHVpJDv6 by sgued@pouet.chapril.org
       2025-05-15T06:57:03Z
       
       0 likes, 0 repeats
       
       @BrodieOnLinux that's because you mostly hear about Linux in the context of the kernel or low level stuff where Rist **is** the only suitable memory safe language. People using Rust in the context of GUI or Web stuff where memory safe languages are the default mostly talk about the better dev tooling, correctness and performance.
       
 (DIR) Post #Au7KSYKNWuUnI4Pq76 by ssmid@mas.to
       2025-05-15T11:52:35Z
       
       0 likes, 0 repeats
       
       @BrodieOnLinux C having lots of issues with memory safety doesn't mean every language is bad that is memory-unsafe. Just stop using stupid pointers for arrays and use slices instead. Use a memory sanitizer by default. Congrats, your famous 70% of memory bugs has dropped to maybe 5-10% and everyone stops talking about it.This is exactly what zig does. Zig is by no means perfect but memory bugs are the least of my problems. Plus, no move-semantics, borrow checker, infective lifetimes; just code.