Rust versus C++ is a recent trending topic for developers.
There are many similarities between Rust and C++, and many developers wonder which is better to use.
In this thread, we will be comparing Rust with C++
↓ #100daysofcode
At a high view, C++ has a larger community, wider use cases, more frameworks, and is well recognized by any coding company. Rust, on the other hand, is better for safety, speed, and preventing incorrect/unsafe code due to its statically-typed features.
Rust is great at preventing data races that can lead to undefined behavior, whereas C++ cannot do this work for you and opens up vulnerabilities.
Automatic memory management in C++ has sacrificed memory safety, which is a notable disadvantage.
Rust uses a system of ownership, which enforces and improves its memory safety, which makes it better than C++.
Both the languages have smart pointers. Smart pointers are data structures that have additional metadata and functionalities.
Full build times are about the same for C++ and Rust, depending on how many templates a C++ project is implementing (more templates will be slower).
Most people who use both Rust and C++ say that Rust is easier to use due to its well-defined semantics and its ability to prevent unwanted/undefined behavior.
If you are learning rust, follow @demonicirfan. I post regularly about rust and related topics. Don't forget to retweet -
Here is a thread explaining rust as a language, what are its uses and why is it used.
↓
Rust is a statically and strongly typed systems programming language.
- Statically means that all types are known at compile-time
- Strongly means that these types are designed to make it harder to write incorrect programs.
Some of Rust’s use cases:
• Powerful, cross-platform command-line tools.
• Distributed online services.
• Embedded devices.
• Anywhere else you would need systems programming.
Googling is really important when you are a developer and you look for errors and bugs.
The right way to look for answers will help you a lot in programming
Thread 🧵👇
Use a minus ( - ) in front of a word to exclude it
It will narrow down your search by removing keywords after minus, "flutter app crashes on startup -android" will look only for solutions other than android.
Add a tilde ( ~ ) in front of a word to find synonyms
Adding "~" to a word will give you synonyms "~issue in flutter installation" will give you other synonyms like error and problem.
I created it when I was getting started with creating projects from scratch. This was the first project I did on my own from scratch. ✨
Now I am going to create a new portfolio as I am familiar with many libraries that can help me add better animations and interactions. If you want to create a similar one you can take the code from my Github. github.com/demonicirfan/i…
If you are a developer who is learning, freelance is a great way to implement your learning skills and a chance to earn something on your own.
Thread🧵👇
The only skills required are HTML, CSS, and Javascript. Having a good knowledge of node and some Javascript libraries like react, and angular is also good.
5 Step guide on how you can start.
👇
1. Find your niche
First, you'll need to find a niche in which you are an expert. You should know a bit of everything and everything of a bit ( like you are skilled in react or express). It’s important to hone your skills and stay on top of current trends.
These are some of the tried and tested methods of getting clients on Fiverr.
I myself followed this and got clients in the first month itself
👇
1) Ranking Your Gig on the First Page on Fiverr
When someone searches for a service he usually clicks on those profiles that appear on the first page itself ( take your example too how many times do you go to the second page of Google to look for a search result )