And consistent syntax... and enforced move... and strong typing... and pattern matching that isn't bolted on... and a sane(r) build system... and macros that don't make me want to sudoku myself... etc
There are three levels on which you can view this, and it's only complex on two of them.
- The language as it's used. C has so few features that you have to do a lot of mental bookkeeping and can't create certain abstractions, so using it becomes more complicated.
- The language as it's specified. Provenance, sequence points, and other fun stuff that compiler authors can use to make your life hell.
- The language as it's learned. This is what you read in the K&R book, and it can deliver many insights about how software works on a basic level. It's not how compilers see it, it's not even really how C programmers see it, but you can still learn a lot.
>(You) make create three threads at any one time >There are three rust threads at all times
you guys realize this is one troony spamming this shit eternally, right?
My first real world impression of it was a homosexual who kept arguing with the professor in my Java class. He would pose the questions like this: "why can't you just do X like this? In Rust you can do X like this..."
It got so bad that the professor would just ignore him until he lost steam
currently going through the Rust Programming Language book and its a really great book. I've been programming for 4 years and its actually clarified a lot of concepts ive been confused about such as heap and stack, memory issues and shit. Really great read even if you don't care for rust. I also probably lack all this knowledge cause ive never taken official CS courses im all self taught so. but some shit seems extra verbose but its not bad. but yeah, ngl i kinda like it too
You could get much of that knowledge by learning C without burdening yourself with the tonnes of extra Rust features. C is also more useful in the wild if you don't plan on writing it, I regularly read through C source code of software I use.
Reasoning through Rust's rules did make some more things click, and the type system and zero cost abstractions caused a shift in how I think about programming.
NOOOOOOOOOOOOOOOOOOOOO YOU CAN'T JUST.... LIKE RUST REEEEE troony troony troony REEEEEEEEEEE
came here to post this
threads over, everyone go home
>samegayging projecting rustroon makes xer nightmare (dream) words a self fullfilling prophecy
ur the reason i am sperging about languages i dont like on a hokkien dumpling filling board
i heard it's basically a proper version of C
i think i will try learning it
It's C++ with a borrow checker
I'm too hooked on overloads and implicit conversions to jump ship.
um sweetie, overloads and implicit anything is le bad mkay
And consistent syntax... and enforced move... and strong typing... and pattern matching that isn't bolted on... and a sane(r) build system... and macros that don't make me want to sudoku myself... etc
C is deliberately simple, Rust is really complicated (for good reason)
You can use it for many of the same things as C though
C is so simple it became complex because it's too vague to properly express concepts it's used for.
There are three levels on which you can view this, and it's only complex on two of them.
- The language as it's used. C has so few features that you have to do a lot of mental bookkeeping and can't create certain abstractions, so using it becomes more complicated.
- The language as it's specified. Provenance, sequence points, and other fun stuff that compiler authors can use to make your life hell.
- The language as it's learned. This is what you read in the K&R book, and it can deliver many insights about how software works on a basic level. It's not how compilers see it, it's not even really how C programmers see it, but you can still learn a lot.
ur a homosexual
stop using words you dont know the meaning of
Yeah, it's pretty comfy.
It's too complicated for my 11 year old wife
Really? Mine got it
>(You) make create three threads at any one time
>There are three rust threads at all times
you guys realize this is one troony spamming this shit eternally, right?
> I kinda like it
probably because its kinda good
/thread
My first real world impression of it was a homosexual who kept arguing with the professor in my Java class. He would pose the questions like this: "why can't you just do X like this? In Rust you can do X like this..."
It got so bad that the professor would just ignore him until he lost steam
Why do you like it?
its just a feeling you cant explain
The standard library is really good, I'll give it that.
Rust is the language of the white man
you mean you kinda_like_it().unwrap()
I think I int result = kindapreferC(); if (!result) { perror("error calling kindapreferC"); exit(1) }
no cap
that's what your mum said about my dick in her pusseh last night
I tried it earlier, to write some shitty parser, took me an hour to read data from a fricking file. What was wrong with fopen and fread again?
Filtered.
Imagine getting filtered by
let file = File::open("foo.txt")?;
let reader = BufReader::new(file);
for line in reader.lines() {
println!("{}", line?);
}
lmao
>the average cnile brain damage specimen
currently going through the Rust Programming Language book and its a really great book. I've been programming for 4 years and its actually clarified a lot of concepts ive been confused about such as heap and stack, memory issues and shit. Really great read even if you don't care for rust. I also probably lack all this knowledge cause ive never taken official CS courses im all self taught so. but some shit seems extra verbose but its not bad. but yeah, ngl i kinda like it too
You could get much of that knowledge by learning C without burdening yourself with the tonnes of extra Rust features. C is also more useful in the wild if you don't plan on writing it, I regularly read through C source code of software I use.
Reasoning through Rust's rules did make some more things click, and the type system and zero cost abstractions caused a shift in how I think about programming.
me too, I've been enjoying it a lot. my boobies are also starting to grow, so yaaaiii
Take your pills alice