Dart framework12/9/2023 ![]() Don't feel discouraged by your teachers: everybody teaches what they are familiar with, and they may not be that familiar with Dart yet.A performant, expressjs like web server / rest api framework thats easy to use and has all the bits in one place. There is very little risk learning it, as it takes only a few days for the basics, and most concepts, syntax and structures will be similar in Kotlin, Java, C#, and even TypeScript. Since then a lot of Dart changed (and improved), but such sentiments fade very slowly.ĭart is a nice, no-surprise language. On the other hand, a vocal JS developer group opposes it, because when it was announced like 10 years or so ago, it was positioned as a direct replacement for JS. And also popularity can go up and the go down in a short time, you can observe that with JS frontend frameworks changing every 1-2 years.ĭart has a steady growth, and so far everybody who started using it ended up using it more and more. rust was very popular from day 1 even with the lack of real-world project using it. Popularity (as measured in internet polls) is usually a small segment of the actual projects, and has a strong sampling bias. It is usually new projects that allow us the luxury of using a new language, a new technology. It makes more sense to keep the old codebase as-is, than trying to rewrite for some benefit, unless that benefit really-really outweighs the rewrite costs by a magnitude. If you have a Java-based project, it just makes sense that every new feature and addition is implemented in Java. I have used it in a huge project that needed lots of processing and the dart tools were great at isolating a memory leak and troubleshooting some inefficient code and what was crashing a multi core CPU with 4gb of ram, I optimised to use 100mb of ram and never went above 5% CPU.Īll in all I will never go back to JS, it's too loose and too prone to breaking when things start to get tough / large. I thought I might have a problem with missing libs but it does everything i need to do but sometimes you won't have a really stellar library for a third party service, stripe for example (even though stripe is actually ok) But in this case just follow the docs and do something up that needs raw commands. This tutorial walks you through the basics Code up what I need to do, compile it to either a stand alone binary and push it to either a VPS or chuck it in a container and push it up to google cloud run if I will need scalability. I use Alfred for my server lib because it's just like express. You may see it in the browser with web assembly in the next 6-12 months or you may see another language/toolset take that mindshare. You probably won’t see that on the server any time soon. For Dart to take some of that mindshare away from those languages it will need to have awesome tooling around it that provides low friction to getting something done. There are other great languages out there that people are already using and have little need to make a switch from. That’s changing see the roadmap for details. Today Python is crowding out other more suitable languages in the data processing and machine learning space but it has easier to use tools.ĭart is a good language but was never a groundbreaking one. Then php came along which was worse than both but had a lower friction level for getting a web site deployed. In the 90s Perl and Python were competing for mindshare. One thing you’ll find is that many bad programming languages have excelled and forced good languages into minority status.
0 Comments
Leave a Reply.AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |