I believe that sooner or later they will be economically pressured to switch. Rust is clearly a better tool for the job than C(++) for most things. The cost of developing secure fast software is lower if one uses Rust instead of C.
-
-
Replying to @kixunil @kcalvinalvinn and
I wouldn't be so sure about the latter claim. There's more documentation about C/C++ and that reduces costs in some ways. And more entries on stack overflow! :p
1 reply 0 retweets 0 likes -
Replying to @timoncc @kcalvinalvinn and
If I didn't spend a year mostly solving memory problems, I might be doubtful...
2 replies 0 retweets 2 likes -
it's so much fun to see entire bug classes, just evaporate
1 reply 0 retweets 3 likes -
Again, what is rust soing for this? Reference counting? Garvage collection? Whatever it is, you can do it in C too.
3 replies 0 retweets 1 like -
(Rust does not have GC)
1 reply 0 retweets 2 likes -
If I understood
@kixunil correctly, it has something that makes memory management much less error prune than C. Correct? If so, what is it? I was just speculating on what could it be.3 replies 0 retweets 0 likes -
Static analysis: the compiler verifies that the code is free of memory bugs. This is only possible because Rust code also contains special annotations where needed. As Wladimir already explained adding them to C would be equivalent to making a new language.
1 reply 0 retweets 3 likes -
Well, I disagree than adding those annotations to C or C++ would be like creating another labguage, but yeah, it will take work abd time. C++11, for example, includes features that had been around for ling in newer languages.
2 replies 0 retweets 0 likes -
Note that a lot of Rust community docs describe Rust as being *two* languages bolted together: safe and unsafe Rust. The latter lets you do things like dereference raw pointers; the former uses "lifetimes" to track the validity of references.
2 replies 0 retweets 1 like
Unsafe rust is a superset of safe rust, incidentally
-
-
...which is an interesting point: taking away features can make a language sufficiently different to be arguably a new language. You could probably find a Forth variant that Bitcoin script is essentially a subset of.
1 reply 0 retweets 1 like -
Replying to @peterktodd @rustlang and
Any proposed extension is a superset of bitcoin script. For example, script with op_cltv is a superset of script without it.
0 replies 0 retweets 0 likes
End of conversation
New conversation -
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.