Need advice about which tool to choose?Ask the StackShare community!
R Language vs Rust: What are the differences?
What is R Language? A language and environment for statistical computing and graphics. R provides a wide variety of statistical (linear and nonlinear modelling, classical statistical tests, time-series analysis, classification, clustering, ...) and graphical techniques, and is highly extensible.
What is Rust? A safe, concurrent, practical language. Rust is a systems programming language that combines strong compile-time correctness guarantees with fast performance. It improves upon the ideas of other systems languages like C++ by providing guaranteed memory safety (no crashes, no data races) and complete control over the lifecycle of memory.
R Language and Rust can be categorized as "Languages" tools.
"Data analysis " is the top reason why over 65 developers like R Language, while over 93 developers mention "Guaranteed memory safety" as the leading cause for choosing Rust.
Rust is an open source tool with 42.4K GitHub stars and 6.47K GitHub forks. Here's a link to Rust's open source repository on GitHub.
According to the StackShare community, R Language has a broader approval, being mentioned in 357 company stacks & 804 developers stacks; compared to Rust, which is listed in 159 company stacks and 861 developer stacks.
So, I've been working with all 3 languages JavaScript, Python and Rust, I know that all of these languages are important in their own domain but, I haven't took any of it to the point where i could say I'm a pro at any of these languages. I learned JS and Python out of my own excitement, I learned rust for some IoT based projects. just confused which one i should invest my time in first... that does have Job and freelance potential in market as well...
I am an undergraduate in computer science. (3rd Year)

I would start focusing on Javascript because even working with Rust and Python, you're always going to encounter some Javascript for front-ends at least. It has: - more freelancing opportunities (starting to work short after a virus/crisis, that's gonna help) - can also do back-end if needed (I would personally avoid specializing in this since there's better languages for the back-end part) - hard to avoid. it's everywhere and not going away (well not yet)
Then, later, for back-end programming languages, Rust seems like your best bet. Its pros: - it's satisfying to work with (after the learning curve) - it's got potential to grow big in the next year (also with better paying jobs) - it's super versatile (you can do high-perf system stuff, graphics, ffi, as well as your classic api server) It comes with a few cons though: - it's harder to learn (expect to put in years) - the freelancing options are virtually non-existent (and I would expect them to stay limited, as rust is better for long-term software than prototypes)

I suggest you to go with JavaScript. From my perspective JavaScript is the language you should invest your time in. The community of javascript and lots of framework helps developer to build what they want to build in no time whether it a desktop, web, mobile based application or even you can use javascript as a backend as well. There are lot of frameworks you can start learning i suggest you to go with (react,vue) library both are easy to learn than angular which is a complete framework.
And if you want to go with python as a secondary tool then i suggest you to learn a python framework (Flask,Django).

go for javascript, brother.
I chose Golang as a language to write Tango because it's super easy to get started with. I also considered Rust, but learning curve of it is much higher than in Golang. I felt like I would need to spend an endless amount of time to even get the hello world app working in Rust. While easy to learn, Golang still shows good performance, multithreading out of the box and fun to implement.
I also could choose PHP and create a phar-based tool, but I was not sure that it would be a good choice as I want to scale to be able to process Gbs of access log data
Pros of R Language
- Data analysis81
- Graphics and data visualization61
- Free52
- Great community43
- Flexible statistical analysis toolkit37
- Access to powerful, cutting-edge analytics26
- Easy packages setup25
- Interactive18
- R Studio IDE12
- Hacky9
- Shiny apps7
- Shiny interactive plots6
- Preferred Medium5
- Automated data reports5
- Cutting-edge machine learning straight from researchers4
- Machine Learning2
- Graphical visualization1
Pros of Rust
- Guaranteed memory safety137
- Fast125
- Open source82
- Minimal runtime75
- Pattern matching69
- Type inference61
- Concurrent55
- Algebraic data types54
- Efficient C bindings45
- Practical43
- Best advances in languages in 20 years37
- Safe, fast, easy + friendly community29
- Fix for C/C++29
- Stablity23
- Closures22
- Zero-cost abstractions21
- Extensive compiler checks19
- Great community18
- No NULL type15
- Async/await14
- Completely cross platform: Windows, Linux, Android14
- No Garbage Collection13
- Great documentations12
- High-performance12
- Super fast11
- High performance11
- Generics10
- Safety no runtime crashes10
- Fearless concurrency10
- Guaranteed thread data race safety9
- Compiler can generate Webassembly9
- Helpful compiler9
- Easy Deployment8
- Prevents data races8
- Macros8
- Painless dependency management7
- RLS provides great IDE support7
- Real multithreading6
- Good package management4
- Support on Other Languages4
Sign up to add or upvote prosMake informed product decisions
Cons of R Language
- Very messy syntax5
- Tables must fit in RAM4
- Arrays indices start with 12
- No push command for vectors/lists2
- Messy syntax for string concatenation2
- Messy character encoding1
- Poor syntax for classes0
- Messy syntax for array/vector combination0
Cons of Rust
- Hard to learn25
- Ownership learning curve23
- Unfriendly, verbose syntax10
- High size of builded executable4
- Variable shadowing4
- Many type operations make it difficult to follow4
- No jobs3