Thread 105725578 - /g/ [Archived: 673 hours ago]

Anonymous
6/27/2025, 8:59:07 PM No.105725578
1748451940085825
1748451940085825
md5: 66d629fe4ab5dd2a03964b19b5e55507🔍
why did we create Rust when superior Ada and SPARK already exists?

>looks like C
but it isn't. it's more FP-like and closer to OCaml
Replies: >>105726365 >>105726379 >>105726980 >>105727931 >>105728134
Anonymous
6/27/2025, 9:37:33 PM No.105725998
lal-highlight
lal-highlight
md5: dfb8bdc4865eb4a900ad8db6ed00f1e1🔍
Because no one wants to write code like this.
>it's more FP-like and closer to OCaml
If you use it that way. It also has genuine objects. You can do OOP with rust, but not class inheritance.
Replies: >>105726165 >>105726649
Anonymous
6/27/2025, 9:53:16 PM No.105726165
>>105725998
Vtables were always the most important part of OOP, and rust arguably does that better that most languages with fat pointers (and there's a package to do thin pointers)
Anonymous
6/27/2025, 10:10:13 PM No.105726365
>>105725578 (OP)
Because it's le heckin' memory safe.
What do you mean the language I wrote my program in doesn't count as a feature?
Anonymous
6/27/2025, 10:11:26 PM No.105726379
>>105725578 (OP)
>looks like c
it's more verbose than java
let it go pajeet
Anonymous
6/27/2025, 10:40:38 PM No.105726649
>>105725998
>Because no one wants to write code like this.
so what the point is theres no reason rust to exits
Replies: >>105726970
Anonymous
6/27/2025, 11:16:08 PM No.105726970
>>105726649
Based unintelligibleposter
Anonymous
6/27/2025, 11:17:23 PM No.105726980
>>105725578 (OP)
>why did we create something modern and actually using modern features instead of a language that's stuck with an ISO committee that refuses to modernize the language without going through 10 years of documents
Anonymous
6/27/2025, 11:31:54 PM No.105727104
SPARK does not deal with dynamic memory allocation
Replies: >>105728218
Anonymous
6/28/2025, 1:09:49 AM No.105727931
>>105725578 (OP)
yeah but Prolog Forth Scheme Joy Limbo Roc FLENG blah blah blah there are a lot of cool as shit programming languages nobody uses. I think key point of being able to truly evaluate the merits and downsides of a programming language are:
A. have a good foundational knowledge of programming language design, understanding how compilers work, key features in language implementations and why are designed the way they are
B. Take the time to really dive into these languages, writing non-trivial software, gaining a comprehensive understanding of the design of the language instead of just mindlessly fellating it because you're a retard who thinks niche languages with 2 unique features are suddenly holy. I think being able to as an individual develop a functional implementation of your chosen language proves it is both simple enough to be understood in its entirety by a single developer (this is almost entirely overlooked in mainstream programming) and that you understand the language itself from a true bottom-up perspective and are able to judge it from its pure form (in formal language, not a finished usable system)
Anonymous
6/28/2025, 1:32:47 AM No.105728134
>>105725578 (OP)
because you're stupid retard that never used either
Anonymous
6/28/2025, 1:43:21 AM No.105728218
>>105727104
that makes it safer thrna rust
Anonymous
6/28/2025, 3:20:46 AM No.105729008
>why did we create Rust
>we
Anonymous
6/28/2025, 3:24:01 AM No.105729029
Because Ada is pure fucking torture to use for anything, even trivial programs. Rust is smart enough to hide how fucked up it is until you have to deal with advanced lifetimes.
Replies: >>105730031
Anonymous
6/28/2025, 5:32:02 AM No.105730031
>>105729029
yoiu need a phd for borrow checjer