Seems odd to compare Rust and Python. They're different levels of abstraction and I think are both great languages that serve different use cases. I'm always going to be more productive in Python. And Python has an awesome ecosystem for web apps. Rust gives you native compiled binaries, concurrency, and speed in general. Why you'd consider these two languages for the same app is beyond me.
One Year with Rust: I wrote a full featured application in rust, and so can you
21–30 of 39 posts
Re: One Year with Rust: I wrote a full featured application in rust, and so can you
#22Seems odd to compare Rust and Python. They're different levels of abstraction and I think are both great languages that serve different use cases. I'm always going to be more productive in Python. And Python has an awesome ecosystem for web apps. Rust gives you native compiled binaries, concurrency, and speed in general. Why you'd consider these two languages for the same app is beyond me.
Any bigger than that and rust is the right hammer for my nails. Probably just personal preference, but I strongly prefer the type safety and performance guarantees of rust.
Re: One Year with Rust: I wrote a full featured application in rust, and so can you
#23How do I make a GUI application in rust? Does it have support for Qt, MFC, or maybe WPF?
Re: One Year with Rust: I wrote a full featured application in rust, and so can you
#24What I would like to see is story from someone that is C/C++ expert and transitioned to Rust with their performance sensitive software, not side/hobbyist project, but real product working in production. I am interested in challenges that this person/team had, in which situations using unsafe was a must, what kind of performance problems they had with Rust abstractions (not all are cost-free) etc. And I emphasize on p…
This doesn't answer your question, but rust is looking really good in the benchmarks game lately: http://benchmarksgame.alioth.debian.org/u64q/rust.html
Re: One Year with Rust: I wrote a full featured application in rust, and so can you
#25I've been doing a lot of rust lately and I have to say it blows c/c++ out of the water. Sure, c/c++ has more libs, but almost every other feature in rust is fantastic, and wrapping a clib via ffi is really easy in rust. My only (minor) complaint with rust is that they aren't pushing no_std enough IMHO, but I'm biased since all my code is no_std :) so obviously I'd like to see a lot less work in the stdlib and more on…
Re: One Year with Rust: I wrote a full featured application in rust, and so can you
#26I've been doing a lot of rust lately and I have to say it blows c/c++ out of the water. Sure, c/c++ has more libs, but almost every other feature in rust is fantastic, and wrapping a clib via ffi is really easy in rust. My only (minor) complaint with rust is that they aren't pushing no_std enough IMHO, but I'm biased since all my code is no_std :) so obviously I'd like to see a lot less work in the stdlib and more on…
By that way, in referring to C++, are you referring to modern C++ or C with classes? Whenever is see people criticizing C/C++, I suspect they are doing C with classes style programming and (rightfully) hating that.
Rightfully? People resort(ed) to "C with classes" to make C++ tolerable and/or reliable.
If anything, it's the opposite: when most people complain about C++ it's about C++ itself, the full language, and its whole baggage of features and their obscure interactions and intricacies. Not about using C++ as C with classes.
Re: One Year with Rust: I wrote a full featured application in rust, and so can you
#27What I would like to see is story from someone that is C/C++ expert and transitioned to Rust with their performance sensitive software, not side/hobbyist project, but real product working in production. I am interested in challenges that this person/team had, in which situations using unsafe was a must, what kind of performance problems they had with Rust abstractions (not all are cost-free) etc. And I emphasize on p…
On vacation so no links, but check out posts from Andrew Gallant (ripgrep, regex), any of the Servo/WebRender/Stylo experience reports from the Firefox team, and I there're some reddit comments out there about Rust's use in production at Dropbox.
Re: One Year with Rust: I wrote a full featured application in rust, and so can you
#28Seems odd to compare Rust and Python. They're different levels of abstraction and I think are both great languages that serve different use cases. I'm always going to be more productive in Python. And Python has an awesome ecosystem for web apps. Rust gives you native compiled binaries, concurrency, and speed in general. Why you'd consider these two languages for the same app is beyond me.
I really wish python had a good concurrency story, it would last far longer as a language if it did. The GIL is why it's reducing in popularity.
Unlikely. Python, Ruby, PHP, Javascript all do not have in-process parallelism.
In contrast, C/C++, Java/Scala/Clojure, Go, and Rust all have in-process parallelism.
This just furthers seabrookmx's point that Python and Rust belong to two different classes of useful languages.
---
P.S. Python's multiprocessing module is an order of magnitude better/easier than anything in the other scripting languages I listed.
Re: One Year with Rust: I wrote a full featured application in rust, and so can you
#29How do I make a GUI application in rust? Does it have support for Qt, MFC, or maybe WPF?
Just personal opinion here, but I think GUI's should/are being phased out. I much prefer writing a front-end web app and package it inside the application. That's what artifact does.
I need the ability to share GPU data between front and back ends, along with accurate timings for the control of various hardware devices. This is possible with Java (think the design of MATLAB or Mathematica) but the additional glue to enable cross language communication doubles the code size. That is why I'm sticking to C++ and Qt.
Re: One Year with Rust: I wrote a full featured application in rust, and so can you
#30How do I make a GUI application in rust? Does it have support for Qt, MFC, or maybe WPF?
Just personal opinion here, but I think GUI's should/are being phased out. I much prefer writing a front-end web app and package it inside the application. That's what artifact does.