Replies: 3 comments 2 replies
-
Here are some potential combinations: A CLI tool: Rust vs Python |
Beta Was this translation helpful? Give feedback.
-
Comparing the implementation of a CLI tool in Rust and Python would be an interesting comparison, as both languages are commonly used for command line interfaces and offer different advantages in terms of performance and ease of use. |
Beta Was this translation helpful? Give feedback.
-
Perhaps you could cover one of the most common things that many programmers do: processing strings. I know, in the context of Rust, this might sound like a slightly ambiguous suggestion. What strings am I talking about? std::str? std::string::String? std::ffi::CString? std::ffi::OsString? std::os::unix::ffi::OsStringExt? std::os::windows::ffi::OsStringExt? Any of their borrowed representation e.g: OsStr, CStr? Or are we talking about many related but fully incompatible representations like the various representations of vectors of bytes and other characters of various widths and encodings? I'll let you choose and make the case that "Rust is not hard" when it comes to string processing (including various aspects of IOs, usage across multiple libraries, iteration over non latin character sets, etc.) |
Beta Was this translation helpful? Give feedback.
-
I want to compare the difficulty of implementing different types of software projects in Rust and other popular languages. My first post, as an example, is about implementing a reusable GitHub action in both Rust and TypeScript (one of the most popular methods).
Here are some other project types and languages I'm comfortable with as ideas. Please comment with a combo (even if the components are not listed!) that you would like to see compared with Rust.
Potential projects
Intentionally not on this list are things I anticipate being significantly harder in Rust: mobile apps and browser UIs. Even GUIs I'm unsure about.
Languages I'm comfortable with
Languages outside of this list are not out of the question, but they'd probably give Rust an unfair advantage.
An example
Please comment your ideas below!
Beta Was this translation helpful? Give feedback.
All reactions