BitShares Forum

Main => General Discussion => Topic started by: davidpbrown on July 04, 2015, 08:45:14 pm

Title: Rust
Post by: davidpbrown on July 04, 2015, 08:45:14 pm
While waiting again for the BitShares client to catchup, I'm wondering at how slow the software is running - how much it's trying to do..

Have the devs considered a switch to Rust (http://www.rust-lang.org/)? I've not seen any discussion here about it but then elsewhere there's a lot of praise for what it does for development. Rust is a systems programming language focused on three goals: safety, speed, and concurrency, and appears to be delivering. It's a painful transition initially but the payback is huge. It's probably the wrong time to ask but for example, MaidSafe is getting great results; Rust's inclination to resist any overhead and then retain speed and stability, might be worth considering. It apparently greatly reduces the codebase and the complexity.

This list of what Rust does not do, is interesting: https://graydon2.dreamwidth.org/218040.html
User forum is at https://users.rust-lang.org/c/help
Dev forum for the Rust language is at https://internals.rust-lang.org
Title: Re: Rust
Post by: vikram on July 04, 2015, 08:50:59 pm
Some previous discussion here: https://bitsharestalk.org/index.php/topic,14737.msg191125.html#msg191125
Title: Re: Rust
Post by: davidpbrown on July 04, 2015, 08:53:50 pm
Thanks.. the search through a lot of "trust" results :)

I think the difference since that old thread is that is appears to have paid off from the devs perspective.
Title: Re: Rust
Post by: arhag on July 04, 2015, 09:00:18 pm
Thanks.. the search through a lot of "trust" results :)

Let me give you a little trick on the best way to search for things on this forum:

https://www.google.com/search?q=site%3Abitsharestalk.org+rust (https://www.google.com/search?q=site%3Abitsharestalk.org+rust)
Title: Re: Rust
Post by: hadrian on July 04, 2015, 09:53:00 pm
Thanks.. the search through a lot of "trust" results :)

Let me give you a little trick on the best way to search for things on this forum:

https://www.google.com/search?q=site%3Abitsharestalk.org+rust (https://www.google.com/search?q=site%3Abitsharestalk.org+rust)
+5%
Title: Re: Rust
Post by: jakub on July 06, 2015, 11:00:01 am
Here is a nice video that explains the main features of Rust
https://www.youtube.com/watch?v=agzf6ftEsLU (https://www.youtube.com/watch?v=agzf6ftEsLU)
Title: Re: Rust
Post by: VoR0220 on July 06, 2015, 11:51:14 am
I love Rust but if you look into the actual speed tests, then C++ is still just a wee bit faster. Still. No memory leaks and a compiler that doesn't give you two pages of errors is wonderful.