DEV Community

Cover image for A brief introduction to Dart
Denyse
Denyse

Posted on β€’ Edited on

50 12

A brief introduction to Dart

Hey folks πŸ‘‹ I am Denyse, this series is first chapter I want to write about flutter in the future i'll write more and more cool things about Dart and Flutter we'll spend a little time to take a look into Dart programming languages.
I wanted to jump straight to flutter ... but wait πŸ€” I couldn't talk about flutter without talking about dart first

So what is Dart?

Dart is a programming language designed for client development, such as for web and mobile apps. It is designed by a huge and powerful company ✨ company called Google and also can be used to build server and desktop applications. It is a class-based, garbage-collected language with C-style syntax.
Dart is a client-optimized language for developing fast apps on any platform. Dart was created by Google and first time it appeared was October 10, 2011.

Fun fact about it πŸ˜‚, first stable version of Dart wasn't 1.0.0, it was 0.8.10-rev.3.29803.

In Dart SDK Tools contain these tools that necessary for development applications:

  1. DartVM - Dart Virtual Machine.
  2. dart2js- Dart to javascript (web use only) for deployable Javascript.
  3. dartdevc - Dart to javascript(web use only) for testing purpose.
  4. dartfmt - Tools formatter dart code
  5. dartanalyzer - Tools help analyze warning and error code that are specified in dart language. DartPad and IDEs such as Android Studio or VS Code are use the same analysis engine that dartanalyzer provide
  6. DartDoc - The API documentation generator (using for write package mostly)
  7. pub - Dart package manager (it's like npm or yarn or pnpm). We can use pub tools for manage Dart packages.

What do we mean by Dart fast apps , here we mean Dart's speed to mean Dart can compile at both Run time(JIT) and Ahead of Time (AOT)

GIF

What is AOT or JIT ?

JIT and AOT description

  • The JIT means or development mode Flutter provide cools features which are hot-reload and hot-restart 😊 that help you see UI changes when you change on code. With that is lots of tools that help you debug.
  • The AOT or release mode your code is compiled to native code for better performance, minimum app size and remove other stuff that useful in dev mode.

Wanna know more about dart? head to Dart documentation and stay tuned to get more updates about flutter and dart ...

Hostinger image

Get n8n VPS hosting 3x cheaper than a cloud solution

Get fast, easy, secure n8n VPS hosting from $4.99/mo at Hostinger. Automate any workflow using a pre-installed n8n application and no-code customization.

Start now

Top comments (18)

Collapse
 
andrewbaisden profile image
Andrew Baisden β€’

Great article Dart is a really nice language wish more people used it.

Collapse
 
dmutoni profile image
Denyse β€’

yeah, it's very astonishing

Collapse
 
cyebukayire profile image
Peace β€’

I'm very lucky to have came across this article,πŸ€— It's absolutely worth my time
Thank you Denyse:) We need more of thisπŸ₯³

Collapse
 
dmutoni profile image
Denyse β€’

thank you Peacee

Collapse
 
cyebukayire profile image
Peace β€’

Anytime:) keep it upπŸš€πŸš€πŸ₯³

Collapse
 
oreste profile image
Oreste Abizera β€’

This is worth reading. Thanks for this article, looking forward to next part...

Collapse
 
gisakaze profile image
Fredson Gisa Kaze β€’

This is wanna make me start new thing, waiting for the next article!

Collapse
 
dmutoni profile image
Denyse β€’

sure 😊😊

Collapse
 
ushieru profile image
Ushieru Kokoran β€’ β€’ Edited

Excellent language ❀️

Collapse
 
dmutoni profile image
Denyse β€’

sure πŸ˜‰

Collapse
 
felixdusengimana profile image
Felix DUSENGIMANA β€’

Great article, made me wanna learn flutter.πŸ‘πŸ‘

Collapse
 
dmutoni profile image
Denyse β€’

sure, it's worth learning for sure

Collapse
 
johnniyontwali profile image
John Niyontwali β€’

This is so great Denyse! Keep it up!

Collapse
 
dmutoni profile image
Denyse β€’

thank you John

Collapse
 
bestverie profile image
Best Verie Iradukunda β€’

just can't wait for the next article

Collapse
 
dmutoni profile image
Denyse β€’

ver soon just sty tuned πŸ˜‚

Collapse
 
dinerdas profile image
Diner Das β€’

Thanks for posting

Collapse
 
masonharper profile image
Mason Marper β€’

Thanks!

Sentry image

See why 4M developers consider Sentry, β€œnot bad.”

Fixing code doesn’t have to be the worst part of your day. Learn how Sentry can help.

Learn more

πŸ‘‹ Kindness is contagious

Please leave a ❀️ or a friendly comment on this post if you found it helpful!

Okay