<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>Forem: Harshu Incorporation</title>
    <description>The latest articles on Forem by Harshu Incorporation (@harshuincofficial).</description>
    <link>https://forem.com/harshuincofficial</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F747570%2F1199e1ea-5669-4ead-9ce5-3705484c43fa.png</url>
      <title>Forem: Harshu Incorporation</title>
      <link>https://forem.com/harshuincofficial</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://forem.com/feed/harshuincofficial"/>
    <language>en</language>
    <item>
      <title>Flutter: Google’s Most Ambitious Framework</title>
      <dc:creator>Harshu Incorporation</dc:creator>
      <pubDate>Fri, 19 Nov 2021 15:17:27 +0000</pubDate>
      <link>https://forem.com/harshuinc/flutter-googles-most-ambitious-framework-4fe0</link>
      <guid>https://forem.com/harshuinc/flutter-googles-most-ambitious-framework-4fe0</guid>
      <description>&lt;p&gt;19th Century was about the Industrial Revolution. The 20th Century was about Science and Engineering. And the 21st Century is all about Technology. The era in which we are living right now is called the Digital Age.&lt;/p&gt;

&lt;p&gt;Today Technology is everywhere. From the Smartphone that is in your pocket to the Smartwatch that is on your wrist right now. Today Televisions are Smart, Refrigerators are smart, Air Conditioners are smart, even the car you are driving is also smart.&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;Since our every devices are smart and connected with each other, we need ONE PLATFORM FOR ALL DEVICES. Whether its our Smartphone, Smartwatch, Smart TV, Smart AC, Smart Car, Smart Home Products, One Platform for all of Them....&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;This idea is really similar to the terminology &lt;strong&gt;&lt;em&gt;Write Once Run Everywhere&lt;/em&gt;&lt;/strong&gt;, which is introduced in the late 70s. The first languages based on this terminology were Java and Python.&lt;/p&gt;

&lt;p&gt;Since then every major company tried to release their platforms based on this terminology whether it is Ionic, React Native, Xamarin, PhoneGap or any other framework. On May 2017, Tech Giant Google Introduced one framework named Flutter which is capable of delivering native Android and iOS apps from a single code base. This was an alpha release of Flutter.&lt;/p&gt;

&lt;p&gt;So you might have some Questions that commonly arise when anyone thinks to switch from React Native to flutter.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;p&gt;If React Native is pretty dominating in the market right now then why you should give a chance to flutter ??&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;If every major company including Facebook, Instagram, Bloomberg, Uber, Skype, and Wix uses React Native then why you should give a chance to Flutter ??&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;On Big Job Portals including Nokri.com, Indeed.com, Careerbuilder.com, Dice.com, and Monster.com, there are hundreds of jobs available for React Native developers but still, very less amount of jobs are available for flutter developers then why you should give a chance to flutter ??&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;React Native is based on the most popular tech stack JavaScript, So tutorials and community support are amazing for JavaScript, and there are lots of JavaScript developers already available in the market then why you should invest your time in learning a pretty unknown language Dart for developing apps on flutter ??&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;React Native is here from quite some time. So the support for react native is amazing on community sites like Stack Overflow, Quora and over the internet.&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;So if everything is fine with React Native why you should give a chance to flutter ?? So now Let me give the answer to your &lt;strong&gt;WHY ?&lt;/strong&gt;&lt;/p&gt;

&lt;h3&gt;
  
  
  1. Just like others, Flutter is not just for Android and iOS
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;&lt;p&gt;After the 1.0 release, flutter is evolving really fast. On the 1.0 release, it was only used for targeting Android and iOS just like others.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;But with the release of Flutter 1.5, flutter team amazed everyone. They officially announced that from now, flutter will not only available for Android and iOS, but it will also available for Web, Desktop, and Embedded devices. Yaa they are in Preview right now, that means they are gonna launch it really soon.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;So if you learn flutter you will become One Man Army, because from just one framework you will able to target every major platform. You just need to master one framework. Just imagine the power that flutter gives you. 🔥&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;If you wanna develop for Web flutter is here to help you.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;If you wanna develop Native Android and iOS apps flutter is here to help you.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;If you wanna develop apps for Windows, macOS, or Linux flutter is available for you.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;And at the end, if you wanna develop apps for embedded devices such as smartwatches and smart home products, here also flutter is available for you.&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;
  
  
  2. Fuchsia OS: The Most Powerful beast in the Game.
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;&lt;p&gt;The second and the most amazing reason to learn flutter is that in future &lt;strong&gt;&lt;em&gt;Entire App development in Fuchsia will be done in a flutter.&lt;/em&gt;&lt;/strong&gt;&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;We all know that Google is working on a really secret Operating System named Fuchsia.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Only the Core Google team knows the real power of Fuchsia OS. But there are really strong rumors that Fuchsia will be the cross-platform OS. That means whether it will mobile, desktop, or embedded devices, ONE OS EVERYWHERE.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;And for developing apps for Fuchsia, &lt;strong&gt;&lt;em&gt;Flutter is the way for you.&lt;/em&gt;&lt;/strong&gt; And as of rumors, if fuchsia is the successor of Android then you can only imagine the wider market and high demand for flutter developers that will be coming in the next couple of years. So that’s why learning flutter really worth of your time.&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;
  
  
  3. Faster App Development
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;&lt;p&gt;Another important reason for learning flutter is the development speed that it provides to you.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;While designing the flutter framework, Google developers have a one really big advantage and challenge. They have almost 10 years of experience in App Development. So they know every pain and problem that comes in the traditional native app development.&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;blockquote&gt;
&lt;p&gt;Having experience and knowledge of the market problems is their advantage. But how to overcome those problems and create a framework that makes app development faster was a big challenge.&lt;/p&gt;
&lt;/blockquote&gt;

&lt;ul&gt;
&lt;li&gt;Today You Just ask any developer who codes one or two apps in a flutter that how fast it is to create apps in a flutter. He/she will tell you only one thing that &lt;strong&gt;&lt;em&gt;no one can beat flutter in faster app development.&lt;/em&gt;&lt;/strong&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;
  
  
  4. The Partnership of Dart and Flutter team
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;&lt;p&gt;Dart is a language created by Google. And also Flutter is created by Google. In Google, both teams work together to optimize dart for flutter and Fuchsia.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;With the recent versions of the dart, you can understand how dart team is working hard to optimize the language for Flutter. This is a really big advantage for Flutter that dart team is always there to help them in making flutter more powerful and feature-rich. None of the frameworks have this kind of advantage. That makes flutter more Powerful and Unique from others.&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;
  
  
  5. Features of Flutter
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;And Finally, let’s discuss the features of flutter. Flutter has four main features.&lt;/li&gt;
&lt;/ul&gt;

&lt;ol&gt;
&lt;li&gt;Stateful Hot Reload&lt;/li&gt;
&lt;li&gt;Beautiful Apps&lt;/li&gt;
&lt;li&gt;Productive&lt;/li&gt;
&lt;li&gt;High Performance&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;let’s discuss each topic in detail.&lt;/p&gt;

&lt;h4&gt;
  
  
  Stateful Hot Reload
&lt;/h4&gt;

&lt;ul&gt;
&lt;li&gt;Flutter provides you stateful hot reload. If you have experience with the native app development then you must know how much time-consuming it is to compile the whole app.&lt;/li&gt;
&lt;li&gt;But flutter provides you the facility of stateful hot reload. So in just fraction of seconds, you can view your changes. Just like in web development you refresh the webpage to see your changes, the same concept goes here.&lt;/li&gt;
&lt;li&gt;For providing stateful hot reload flutter uses Dart Virtual Machine in debug mode builds to quickly inject new code.&lt;/li&gt;
&lt;/ul&gt;

&lt;h4&gt;
  
  
  Beautiful Apps
&lt;/h4&gt;

&lt;ul&gt;
&lt;li&gt;You can give any look you want from a design language of your choice. Flutter supports both Material Design and Cupertino Based Widgets. So apps build with flutter are naturally beautiful, you will not need much of the hard work to make them beautiful.&lt;/li&gt;
&lt;/ul&gt;

&lt;h4&gt;
  
  
  Productive
&lt;/h4&gt;

&lt;ul&gt;
&lt;li&gt;Flutter has rich-set of in-built function that will make your development faster and sweeter.&lt;/li&gt;
&lt;li&gt;It has a rich set of widgets that will make your life easier and your development faster. Just try it once, you’ll love the crazy power that flutter gives you right in the box.&lt;/li&gt;
&lt;/ul&gt;

&lt;h4&gt;
  
  
  High Performance
&lt;/h4&gt;

&lt;ul&gt;
&lt;li&gt;&lt;p&gt;For rendering widgets, Flutter uses its own high-performance 2D rendering engine named Skia.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;With the help of Skia, flutter is able to provide performance over 60fps. So your animations look smoother, and your UI behaves naturally faster.&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;blockquote&gt;
&lt;p&gt;So I hope you get the answer to your WHY FLUTTER?? But still If you have any questions please feel free to ask me. And If I misses something please tell me that, I’ll love to learn from you. And believe me learning flutter will be one of the best choices you ever make.&lt;/p&gt;
&lt;/blockquote&gt;

</description>
      <category>flutter</category>
      <category>beginners</category>
      <category>tutorial</category>
      <category>programming</category>
    </item>
    <item>
      <title>1. Introduction to Flutter</title>
      <dc:creator>Harshu Incorporation</dc:creator>
      <pubDate>Thu, 11 Nov 2021 15:52:51 +0000</pubDate>
      <link>https://forem.com/harshuinc/1-introduction-to-flutter-2nmi</link>
      <guid>https://forem.com/harshuinc/1-introduction-to-flutter-2nmi</guid>
      <description>&lt;p&gt;Here I will not waste your time by writing here and their things. I just want to give you the basic introduction of the flutter framework in a very short and simple manner. I will try to make this article Short, Simple, and Very Specific. So that you can quickly get started with the framework.&lt;/p&gt;

&lt;h2&gt;
  
  
  What is Flutter ?
&lt;/h2&gt;

&lt;p&gt;Flutter is an Application development framework created by Google and the community.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Type&lt;/strong&gt; — Application Development Framework&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Developers&lt;/strong&gt; — Google and Community&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Official Release&lt;/strong&gt; — 04 December 2018&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Stable Release&lt;/strong&gt; — Flutter 2.5.3, As of Nov 11, 2021&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Written In&lt;/strong&gt; — Dart, C, C++, and Skia as Graphic Engine&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Targeted Platform&lt;/strong&gt; — Android, iOS, Fuchsia OS, Desktop, Web and Embedded Devices&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Flutter Features
&lt;/h2&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--pXGlQJEi--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://miro.medium.com/max/1200/1%2AnCw4ugCnxcbdoxfybvX2Cg.jpeg" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--pXGlQJEi--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://miro.medium.com/max/1200/1%2AnCw4ugCnxcbdoxfybvX2Cg.jpeg" alt="Flutter" width="600" height="400"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;What makes flutter so unique and powerful is its features. Flutter has four main features.&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Stateful Hot Reload&lt;/li&gt;
&lt;li&gt;Native Performance&lt;/li&gt;
&lt;li&gt;High Productivity&lt;/li&gt;
&lt;li&gt;Beautiful Apps&lt;/li&gt;
&lt;/ol&gt;

&lt;h2&gt;
  
  
  What makes flutter unique ?
&lt;/h2&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--n0lZX7c---/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://miro.medium.com/max/1400/1%2AAMb5JzTXKsR8_PKdEtDfLQ.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--n0lZX7c---/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://miro.medium.com/max/1400/1%2AAMb5JzTXKsR8_PKdEtDfLQ.png" alt="Flutter" width="880" height="465"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Flutter’s Technology and its working make it unique from others.&lt;/p&gt;

&lt;p&gt;Everything in the flutter is Widget. And For drawing those widgets on the screen, flutter uses neither WebView nor the OEM widgets that shipped with the device. Instead, flutter uses its own high-performance 2D rendering engine named Skia to draw widgets on the screen. Which makes it unique and provides high performance over 60fps.&lt;/p&gt;

&lt;p&gt;Complete Flutter framework is made with three languages: C, C++, and Dart.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;p&gt;The Graphics framework and virtual machine are implemented in C and C++.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;For the framework and widgets flutter uses dart. Flutter implements most of its system like gestures, animations, widgets, framework, etc in a dart.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;By using dart, developers can easily read, change, replace, or remove the code. This gives developers tremendous control over the system.&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Flutter Drawbacks
&lt;/h2&gt;

&lt;p&gt;As every technology has its own pros and cons, flutter has its own too. But here we also need to consider that flutter is still new in the market. So many amazing features, support, and solution are about to come in the nearby future. So please be optimistic and give it some time to grow.&lt;/p&gt;

&lt;p&gt;Here I just represent some current problems that flutter faces.&lt;/p&gt;

&lt;h3&gt;
  
  
  1. Lack of third-party services and plugins
&lt;/h3&gt;

&lt;p&gt;As flutter is very new in the market it has fewer third-party plugins and services. If you are just a student and want to learn the flutter or if your app doesn’t need much more third-party plugins then it’s okay to get your hands dirty with flutter.&lt;/p&gt;

&lt;p&gt;But the organization never chooses any platform based on likability, they always choose a platform based on their needs. Every commercial application needs third-party plugins to fulfill its tasks, and if the platform doesn’t support that third-party service then they have to drop that platform and move to another one.&lt;/p&gt;

&lt;p&gt;For example, Your app uses payment services, one of the most amazing services is from Strip, and for your payments need you regularly use Stripe’s services. But as flutter is still very new, Stripe doesn’t have support for flutter till now. So, in that case, you have to drop the flutter and move on to another. This is the reality and This is how industries work.&lt;/p&gt;

&lt;p&gt;But As I say flutter is new, so just give it some time. It is too early to judge the platform’s potential. I’m sure with future updates every big third-party service will support flutter. And For now, you have exclusive support of many Google Services like maps and payments. So for now just give some time, the future will be flutter…&lt;/p&gt;

&lt;h3&gt;
  
  
  2. Limited Support from Stack Overflow
&lt;/h3&gt;

&lt;p&gt;As flutter is new stack overflow has limited support for it. As the adoption rate of flutter goes higher support will be increased. And For now, the Flutter community is really active over the internet to help you in every situation.&lt;/p&gt;

&lt;p&gt;So that’s it for the introduction part guys.&lt;/p&gt;

&lt;h3&gt;
  
  
  For Quick Summary
&lt;/h3&gt;

&lt;p&gt;In this article, we get a basic understanding of flutter.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;p&gt;First, we understand what is a flutter. we see its release date, targeted platform, etc.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Then we quickly see flutter features.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Then we understand what makes flutter unique, we also see its architecture.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Then finally we also take a look at its current drawbacks.&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;As I mentioned I try to keep this article short, simple, and very precise. So you can quickly understand the basics.&lt;/p&gt;

&lt;p&gt;I denote the number on the article so that beginners can get help about where to start and what should be the next step to learn the framework. In upcoming articles, we see more detailed stuff about flutter. For that please visit the flutter section on our publication.&lt;/p&gt;

&lt;p&gt;Feel free to let me know if I miss something. I’ll love to learn from you. 😉&lt;/p&gt;

&lt;p&gt;Till then Keep Loving your work, and keep working lovely. I’ll surely catch you up in the next article. 😊&lt;/p&gt;

</description>
      <category>flutter</category>
      <category>beginners</category>
      <category>programming</category>
      <category>tutorial</category>
    </item>
    <item>
      <title>Dart: The Language behind Flutter and Fuchsia OS.</title>
      <dc:creator>Harshu Incorporation</dc:creator>
      <pubDate>Mon, 08 Nov 2021 11:35:13 +0000</pubDate>
      <link>https://forem.com/harshuinc/dart-the-language-behind-flutter-and-fuchsia-os-4pi2</link>
      <guid>https://forem.com/harshuinc/dart-the-language-behind-flutter-and-fuchsia-os-4pi2</guid>
      <description>&lt;p&gt;Flutter 1.0 is officially announced on Dec 04, 2018. After that, the demand of dart programmers is gaining popularity now. Because entire flutter app development is completely based on a dart.&lt;/p&gt;

&lt;p&gt;It seems that tech-giant Google has some big plans with the language. That’s why dart is implemented on two big projects including flutter and fuchsia OS.&lt;/p&gt;

&lt;p&gt;Here is a quick intro of dart’s features, use-cases and its humongous power Which will give you answer why Google choose it for flutter and fuchsia OS.&lt;/p&gt;

&lt;p&gt;Dart was first unveiled at the GOTO conference in Denmark on October 10, 2011. Dart 1.0 was released in November 2013 and Dart 2.0 was released in August 2018 with a sound type system.&lt;br&gt;
Dart is a General Purpose Language originally developed by Google.&lt;/p&gt;

&lt;p&gt;Dart is a very powerful language that you can use to write from simple scripts to full-featured native apps using flutter. It is mainly used in four platforms including Native Mobile App, Web App, Desktop App, and Server-Side App.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Designed By — Lars Bak and Kasper Lund&lt;/li&gt;
&lt;li&gt;First appeared — October 10, 2011&lt;/li&gt;
&lt;li&gt;Typing discipline — 1.x: Optional, 2.x: Static&lt;/li&gt;
&lt;li&gt;License — BSD&lt;/li&gt;
&lt;li&gt;File Extensions — .dart&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;
  
  
  Dart supports mainly five types of paradigms:
&lt;/h3&gt;

&lt;ol&gt;
&lt;li&gt;Scripting&lt;/li&gt;
&lt;li&gt;Object Oriented&lt;/li&gt;
&lt;li&gt;Imperative&lt;/li&gt;
&lt;li&gt;Reflective&lt;/li&gt;
&lt;li&gt;functional&lt;/li&gt;
&lt;/ol&gt;

&lt;h3&gt;
  
  
  Dart is influenced by five languages:
&lt;/h3&gt;

&lt;p&gt;Dart is a member of the ALGOL language family, alongside C, C++, Java, C#, JavaScript, and others.&lt;/p&gt;

&lt;p&gt;So if you are from C, Swift, or Java’s background you’ll feel just like hometown in a dart. Its syntax is closer to C.&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;C#&lt;/li&gt;
&lt;li&gt;JavaScript&lt;/li&gt;
&lt;li&gt;Erlang&lt;/li&gt;
&lt;li&gt;Smalltalk&lt;/li&gt;
&lt;li&gt;Strongtalk&lt;/li&gt;
&lt;/ol&gt;

&lt;h3&gt;
  
  
  It has four major implementations:
&lt;/h3&gt;

&lt;ol&gt;
&lt;li&gt;Dart VM&lt;/li&gt;
&lt;li&gt;dart2js compiler&lt;/li&gt;
&lt;li&gt;Flutter&lt;/li&gt;
&lt;li&gt;Fuchsia OS&lt;/li&gt;
&lt;/ol&gt;

&lt;h2&gt;
  
  
  Ways to Run the Dart Code
&lt;/h2&gt;

&lt;p&gt;Dart is implemented on a wide range of platforms. So it needs multiple ways to run the dart code depending on the platform. Below are three main ways to run the dart code:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Through Transcompile to JavaScript&lt;/li&gt;
&lt;li&gt;Through DartVM&lt;/li&gt;
&lt;li&gt;Through the AOT compilation process&lt;/li&gt;
&lt;/ol&gt;

&lt;h3&gt;
  
  
  Through Transcompile to JavaScript
&lt;/h3&gt;

&lt;p&gt;Dart code can be compiled to JavaScript so that it can run on browsers. For that Dart uses a source-to-source compiler (dart2js) to convert its code to JavaScript.&lt;/p&gt;

&lt;p&gt;So when you want to deploy your Dart code on browsers, first you need to convert that code via the dart2js compiler. dart2js will convert your code into JavaScript. So it can run on all modern browsers.&lt;/p&gt;

&lt;p&gt;Here amazing thing is, dart2js will not only produce JavaScript code, instead it will produce optimized JavaScript code. That means compared to hand-written JavaScript code, your converted dart code will run faster on browsers.&lt;/p&gt;

&lt;h3&gt;
  
  
  Through DartVM
&lt;/h3&gt;

&lt;p&gt;Just like Java has JVM, Dart has its own virtual machine for running dart code-named DartVM.&lt;/p&gt;

&lt;p&gt;If you want to create console apps or server apps you can use DartVM to run Dart code. DartVM is a highly optimized, powerful and fast virtual machine that can run your Dart code in a fraction of seconds.&lt;/p&gt;

&lt;p&gt;DartVM is directly coming with Dart SDK. You just need to setup SDK’s path in your environment variables and you are ready to go. Your imagination is the only limit now…&lt;/p&gt;

&lt;h3&gt;
  
  
  Through the AOT compilation process
&lt;/h3&gt;

&lt;p&gt;AOT means Ahead-Of-Time compilation is the process of compilation in which we covert a higher-level code such as C, C++, or an intermediate code such as Java Byte Code or .NET Framework’s CIL code (Common Intermediate Language), into a native machine code which is system dependent code. And that code can be run on a particular machine that understands it.&lt;/p&gt;

&lt;p&gt;AOT produces machine-optimized code, just like a standard native compiler.&lt;/p&gt;

&lt;p&gt;Apps build with Flutter uses the same AOT compilation process to generate native Android and iOS apps from a single code base.&lt;/p&gt;

&lt;h2&gt;
  
  
  SnapShots: For faster code execution
&lt;/h2&gt;

&lt;blockquote&gt;
&lt;p&gt;According to Wikipedia: SnapShot is the state of a system at a particular point in time.&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;The same concept applies here, SnapShots are files which stores object and other runtime data.&lt;/p&gt;

&lt;p&gt;So in the next startup whole program does not need to be compiled, the compiler will take saved data from snapshot files and compile only newly added data. Which results in faster startups and code execution.&lt;/p&gt;

&lt;p&gt;Snapshots are a core part of DartVM.&lt;/p&gt;

&lt;h3&gt;
  
  
  There are two types of SnapShot files in dart:
&lt;/h3&gt;

&lt;ol&gt;
&lt;li&gt;Script snapshots&lt;/li&gt;
&lt;li&gt;Full snapshots&lt;/li&gt;
&lt;/ol&gt;

&lt;h3&gt;
  
  
  Script SnapShots
&lt;/h3&gt;

&lt;p&gt;Dart programs can be compiled into SnapShots files. These files contain the program code and dependencies pre-parsed and ready to execute. This allows fast start-ups.&lt;/p&gt;

&lt;h3&gt;
  
  
  Full SnapShots
&lt;/h3&gt;

&lt;p&gt;The dart core libraries can be compiled into a snapshot file which allows fast loading of the libraries.&lt;/p&gt;

&lt;p&gt;Dart VM have a prebuild snapshot for the core libraries which is loaded at runtime. That’s how DartVM provides faster code execution.&lt;/p&gt;

&lt;p&gt;So, guys, these are the features and use-cases of a dart. It’s a very powerful language itself. If you’re planning to go into app-development domain then you should definitely start to learn dart and flutter. I’ll try to share as much as I can on dart and flutter. Feel free to let me know if I missed something. I’ll definitely like to learn that.&lt;/p&gt;

&lt;p&gt;Till then Keep Coding, Keep Coding.&lt;/p&gt;

</description>
      <category>flutter</category>
      <category>programming</category>
      <category>beginners</category>
      <category>tutorial</category>
    </item>
  </channel>
</rss>
