What isn't to like about this language?
>Expressive type system with built in variants
>Obvious and straightforward error handling
>Most polymorphic techniques from other languages are covered elegantly with just traits and generics
>Efficient, no GC
>Same opportunity for low level optimizations as C or C++ with unsafe blocks
I don't get what the hate is for. The community is wank, but the concepts are solid and so are the implementations.
What isn't to like about this language?
Convince me and post some neat examples of how the language looks like..
>wants to be a system programming language
>doesnt have support for linux native polling functions and IPC, need external libraries that do it and those dont even do it completely
its a meme language
>autistic language made for the most autistic freaks
>look at this dumbass, pointless pet project I wrote in Rust!
It's why you Rustfags will never be taken seriously.
>expressive type system
That's why when working with Iterators, your types soon look like
core::iter::Zip>>
nearly completly replaceable by Python with statistics and numeric libs...
tho all the pain of learning it is wasted then.. ;(
>what is type inference
this shit language has even worse syntax than c++, which is already barely decipherable.
the only thing that puts slightly above c++ overall is that it's safer. That's it.
In every other regard it is worse, even in compile times with many crates.
> What isn't to like about this language?
The syntax is absolute arse. But that's just a personal opinion, and the main reason why I personally won't ever touch rust.
> I don't get what the hate is for.
Because it was made popular not for it's credentials and abilities, not for its many appearances in scientific papers, and not for its wide adoption by enterprises and scientific institutions, but rather, because a metric fuckton of gays, feminists and SJW's would not shut the fuck up about it, and how progressive it is.
Hell, just look at the places using it. It's not NASA or CERN or Nasdaq or any kind of large commercial entity that uses it regularily.
The only companies actively using and promoting it are fucking diversity hire places like Mozilla, and the only reason -they're- using it is because their internal army of blue haired trannies and homo boytoys in chastity cages won't shut the fuck up about how fucking progressive it is.
>the python fag completely misses the point
It's all good.
Learn some C basics and then come back.
Maybe you'll understand why "Python with statistics and numeric libs" has nothing to do with the problems Rust tackles.
Thanks, made me smile.
go away Sup Forums
Rust is an amazing language. It's also the future, as evidenced by it's objectively superior design, its rapidly growing community, and the fact that it was voted "most loved" on the StackOverflow survey two years in a row. You can join us on Rust, or you can get left behind.
Difficult to use
Chicken and egg problem. No companies are hiring for Rust. Developers likely not interested in re-writing for marginal improvement in performance
>The SJW-argument
really?
also
>blue haired trannies and homo boytoys in chastity cages
Stop it, you are giving me a Boner.
Other than that: I am indeed highly suspicious of this language.
It is, at this point, so self hosted,
that it is impossible to truely and effectively audit the compiler.
And even if you self-compile, you will practically need to use a second binary-blob beyond CC to compile it.
Also for embedded: It is basically everything, that the embedded Dev never asked for.
Getting it to work, initially (bc. runtime and arse) , is awful, and it doesn't cover the whole spectrum of embedded (i.e. sub Cortex-M3) for the reason of not having a Point there.
Tests fail on FreeBSD and OpenBSD
>Same opportunity for low level optimizations as C or C++ with unsafe blocks
Defeat the whole purpose of using Rust then.
Anyway, C or C++ are literally invincible.
.unwrap().unwrap().unwrap()
>core::iter::Zip>>
so this is the power language even worse than sepples
>100% of the code is possibly unsafe
>small parts tagged "unsafe" are possibly unsafe
Which is better? Which do you think is easier to debug when there are errors?
Better than exceptions.
Fuck you, C++. Where is my modules system?
Just wait for C++20 :3
Why, the fuck, do you, write, like, a fucking, retard.
this, reddit, typing
this site, this user^, thinks reddit is always bad
Why would you want Linux shit build into your language? The language already favours Unix based stuff heavily and Windows is just an afterthought for them.
No clear standard of what does what and what means what. The module system is a fucking mess because no one really knows what a module is or what it is supposed to be a module.
>Rust being more Unix than C
kek
Maybe Rust fans should start making a point by posting programs they've made instead of shilling the language on Sup Forums.
Speaking of which, I'm looking for programs written in Rust. Not libraries, actual useful programs.
So far I have ripgrep, exa, a clone of parallel
Honestly even more retarded than having a BC, enforcing it every single time you want to build your project is beyond fucking retarded. You simply can't prototype in such a language and that's half the work when programming. Only unexperienced programmers would think you are always going to write code you want to be as bug-free and clean as possible first try.
>inb4 "just unsafe {} everything lmao"
except TheyArent as e:
print e
Alacritty looks promising
That's from 2014 before 1.0. Still valid though.
However i don't see the difference between that and JavaScript programmers bitching about dealing with pointers in C desu.
Still i think jblow's own language might also be a decent entry itself. Modern C++ replacement without Rust's safety.
>Modern C++ replacement without Rust's safety
You mean without the guarantee of rejecting valid programs? Sure beats Rust by an infinite margin, no matter how bad it ends up being.
>hidden return values
>hidden execution paths
Exceptions are orthogonal to robust code.
He seems like a pretty smart guy. I learned a lot from him and his friend Casey about programming - particularly related to how shitty abstractions can be. Hopefully Jai ends up being what he needs it to be.
>particularly related to how shitty abstractions can be
They're as unreasonable about fighting abstraction as Idris programmers are about embracing them.
> A GPU accelerated terminal
How about an useful project?
They're not AGAINST abstractions as a concept, but merely point out that abstractions are not zero-cost, and often (in OOP especially since you're kind of forced to) programmers will imagine how something needs to be abstracted before they write the code, leading to abstractions that aren't really suitable for the problem. If you dedicate yourself to a particular abstraction before the problem is fully solved then you're just tying your hands.
>mfw it's real
>"Every language should make undefined behavior easy as C"
Retard
One downside is it's slow as fuck to compile.
> polling
why the fuck do you need polling? I've never used polling even for embedded systems
As slow as sepples?
I'm so glad anti-SJW Sup Forumsturds will be too triggered to use this. If behaving like a SJW is enough to get Sup Forums spastic bottom feeders to stop using your software then what else can we SJW-ify? We need to remove Sup Forums. They have never contributed anything of value to tech, they literally have mentally ill/unknown people like Terry to represent them while we have MOTHERFUCKING Silicon Valley. All of GitHub contribution is by SJW people for a reason.
Goodnight altshite.
>What isn't to like about this language?
it's developed by anti freespeech SJWs and literal faggots
t. a NEET or JS faggot who never coded a single c/c++ in his entire miserable life
This has nothing to do with UB, moron.
incremental builds are ready to ship in the next compiler version
>A GPU accelerated terminal
>not useful
Clearly you never compiled before.
(don't ever try gentoo)
Redox OS has come along nicely.
I'd expect it to be more secure than Mac considering there's no market for existing malware to target it.
I'm impressed that Redox is so close to being self hosted
Woah... so this is the power... of rustlets...
Not sure if that's irony but I'd think so.
en.wikipedia.org
>"Magic Pocket – Dropbox's file system that powers their Diskotech petabyte storage machines"
>rust filesystem that handles petabytes
>petabytes
BTRFS BTFO
What valid safe program does rust reject that isn't trivial to solve with small ownership related changes?
>Actually, full disclosure, we really just rewrote a couple of components in Rust. Most of Magic Pocket (the distributed storage system) is still written in golang.
Xorlist
The most amazing thing about Rust are the terrible abstractions they come up with. And when you think it can't get worse, they replace it with even crappier abstractions.
Their whole asynchronous IO shit is a prime example, makes JavaScript look sane.
Async is not even a part of rust itself
I legitimately don't trust Mozilla to maintain a project anymore. I'm sending this from their dying browser project known as Firefox.
why would you fragmentate your code like this?
if people keeps rewriting code for every meme language that the market pumps out the whole thing eventually will collapse.
Just stay with the well established languages and document your fucking projects like a woman would do or just hire one to do that.
Is that legit or just another Daft Punk song?