The reason I started learning Dart in the first place was probably because I wanted to get into Flutter.
Initially, I thought Dart was only used, because it was owned by Google (also the Guys behind Flutter), but it actually looked pretty dark for dart before Google stepped in.
The project was founded by Lars Bak and Kasper Lund to kind of 'revolutionize' JavaScript and the way to make Websites interactive.
However, since JavaScript is probably more popular than Santa Claus, the idea of including the Dart Virtual Machine in Google Chrome was replaced by the goal of 'dart2js', which is YetAnotherJavaScriptPreprocessorâ„¢ like TypeScript.
But then 'dart2native' was started to gain shape and mass and eventually it became YetAnotherProgrammingLanguageâ„¢.
However, that doesn't mean it's just a copy-cat of NodeJS. It's even faster than NodeJS in some categories.
But back to my story...
After I started 50 Flutter Projects and failed 51 of them, I actually tried to wonder what to make with Dart, other than Flutter Apps.
In fact, it looks like Dart was initially made for Web-Servers AND Websites.
But honestly, the Syntax is so great, I would code anything with it.
And since it's faster than NodeJS, this may be a big chance for Dart.
Just look at this beautiful Syntax:
It kinda looks like Java and JavaScript had a Baby, doesn't it?
In my honest oppinions, this Syntax is the MOST BEAUTIFUL I've ever seen. I mean... it is strong and weak typed (optional type hints), it is based on JS (yay...?) and it's super easy to learn/remember syntax.
So Dart is beautiful, but so are many languages.
But Dart is also performant, has a built in package manager, is maintained by a large coorperation (Google), can be compiled to JS and native code, can be run inside its own Virtual Machine and the big boy Flutter uses it for fast and maintainable UI code.
So why isn't Dart being used everywhere and slowly replacing NodeJS? Well, I don't know... maybe because people are just too comfy in their 20 JavaScript Frameworks running on BunJS.
However, for me... it looks like Dart is great! It's basically NodeJS but TypeScript but BunJS but every other feature NodeJS lacks.
I would love to see some new Projects pop up using Dart (other than Flutter pls) and I am probably going to develop stuff in Dart, because I really love it.