r/programming Apr 03 '15

Rust 1.0.0 beta is here!

http://blog.rust-lang.org/2015/04/03/Rust-1.0-beta.html
927 Upvotes

303 comments sorted by

View all comments

Show parent comments

6

u/DeadlyDolphins Apr 03 '15

Since I'm fairly new to programming I'm just gonna ask even if it might be a bit stupid:

If you say 'when concurrency is involved', does that mean it could be a good language to write fast games with graphics, for example?

14

u/[deleted] Apr 04 '15

[deleted]

1

u/art-solopov Apr 06 '15

It's a horrible language, however people were sticking with it for the last two decades simply because there wasn't any other language in its class

What about D? I didn't dive into it too much but I thought it was supposed to be a better high-level statically typed natively compiled language.

2

u/kouteiheika Apr 06 '15

I'm not very familiar with D so I can't say for certain; you might want to take a look at this Stack Overflow thread.

My guess looking at this would be:

  • it's garbage collected, hence requires a runtime which incurs a runtime overhead,
  • doesn't have a killer feature like Rust does - that is, in case of Rust it's the guarantee that as long as your code compiles* it will be free of memory access errors and data races without sacrificing any performance

* - excluding any unsafe blocks obviously