Rust lang thread.
meme or a dream?
>>54674628
Both
>>54674900
That feel
>>54674628
how about no?
>>54674628
All that I know about Rust is that it's far more controversial than any programming language should ever be.
Can someone provide context for all the shitposting?
it a lang for SJWs
>>54675147
It's the first project of mankind to enforce a CoC(Code of Conduct) into our collective throats by the SJWs.
>>54675214
But is anything wrong with the language itself? For example, could I create a video player with it named "Fuck Women" or would the compiler itself reject my misogynistic code?
>>54675214
CoC is not so bad per see, see Lambdaconf.
Klabnik is no more on moderation teams so there's hope.
>>54675276
They prorbably would delete it from crates repo once they notice, otherwise there's no problem, it's free software.
>>54675163while !white || !male || !cis {
println!("I'm offended!");
println!("Stop oppressing me!");
println!("STFU you scum!");
}
I'm tired of waiting for the one modern language to rule them all. C++ was that for 2-3 decades but it is showing its age now. For now I think rust holds the spot.
>>54674628
Literal dream.
>>54675147
It has a cuck-approved CoC and people have a hard time seeing the difference between a language and the community built around that language by the main developers.
Basically, it's downright dangerous to try to help the development of rust itself e.g. by reporting bugs, but on the other hand, it's such a good language, and I only know of one rust library (diesel) which also has a coc, that it's such a waste to pass on it.
Fun fact: Rust's CoC once had "political opinions" or something in the list of things on which you shouldn't discriminate. It's gone now.
>>54675430
I honestly think rust is significantly better than C++ in every respect. It doesn't need a runtime, it's memory-safe, it has no GC by default, it's small as fuck (and can be made even smaller by using libcore instead of libstd), yet expressive as fuck, encourages functional programming, takes a fuckload from ML-style languages (matching, type inference and structural typing in particular), it takes dylan's macro system (basically scheme macros for typed c-style languages), has support for compiler extensions (basically preprocessing compiler passes, e.g. C-style macros on steroid), its type system is pretty great despite not being perfect, etc.
In my opinion, it has truly succeeded in bringing the power of high-level languages in a viable low-level language, to the point I'd consider using rust throughout the entire spectrum. The only thing I'd use something else for is plain scripting.
>>54675312
De Morgan's laws... learn them, follow them.
https://en.wikipedia.org/wiki/De_Morgan%27s_laws
>>54677784
lel