you are viewing a single comment's thread.

view the rest of the comments →

[–]zyxzevn 6 insightful - 4 fun6 insightful - 3 fun7 insightful - 4 fun -  (3 children)

I have been following Rust for a while, and it looks like a failure due to overcomplexity and community. The language was clearly designed by PhDs with no practical experience.

The community is anti-object-oriented so much, that it makes it very hard to make normal or complex graphs. Which is common in business software and games. This is why we have a doom and all kinds of games in Javascript, but not really in Rust. I had some discussions with Rust-community about this and was explained that the only solution was to make an array, and replace all references with indices. It does not clean up the references of course. So in practice, if you want to make it work for a long time, in Rust you have to make your own indexed database. Stuff like this is no problem in C or many other languages.

If we look at the actual problems with OO we see that they are due to C++ madness, and Java enterprise business. They invented all kinds of fixes to overcome problems of the languages and failed dramatically. But we see that in Scala or Smalltalk the problem is a lot less. Here if there are problems with OO, they are caused by mixing different strategies and bad designs.

But if you are looking for the purfect programming language,
get your hands on C@ (reddit link).

[–][deleted] 4 insightful - 4 fun4 insightful - 3 fun5 insightful - 4 fun -  (0 children)

Hell of an answer right there. That's pretty funny about having to do a bunch of work to get an array in Rust. I'm gonna check out C@. I've been stuck in scripting languages for so long that it gets old.

[–]bald-janitor[S] 3 insightful - 4 fun3 insightful - 3 fun4 insightful - 4 fun -  (1 child)

I was wondering this because I saw that firefox new engine uses rust. And it claims performance improvement with this rust thing

[–]zyxzevn 4 insightful - 4 fun4 insightful - 3 fun5 insightful - 4 fun -  (0 children)

Rust is still in development, but I think that it goes a wrong way by not supporting complex graphs directly. This will hinder it in the long run. In academic circles, where Rust has originally been developed, the complexity of the programs are very limited.

For parts it is similar to C++, as long you follow certain restricting techniques. I think that they replace parts of the C++ code in Firefox with Rust. With the amount of money and research they put into it, I am still disappointed with its performance.

A new language like Jai, specially made for games, has a better performance. Jai does not restrict how you use your variables or memory. Compile time in second or less. Rust compile time is in minutes it seems.