Dart Omar Ansari, Kenneth Jones, Isaac Wilder. 1. Overview l Object Oriented Language l Developed By Google l Primarily used for building websites, servers,

Slides:



Advertisements
Similar presentations
An Introduction to Java Programming and Object- Oriented Application Development Chapter 8 Exceptions and Assertions.
Advertisements

UNIVERSITY OF SOUTH CAROLINA Department of Computer Science and Engineering CSCE 330 Programming Language Structures Ch.2: Syntax and Semantics Fall 2005.
ISBN Chapter 6 Data Types Character Strings Pattern Matching.
Programming Languages Structure
Chapter 1 Introduction.
Asst.Prof.Dr.Ahmet Ünveren SPRING Computer Engineering Department Asst.Prof.Dr.Ahmet Ünveren SPRING Computer Engineering Department.
Copyright © 2009 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Java Software Solutions Foundations of Program Design Sixth Edition by Lewis.
+ Java vs. Javascript Jessi Style. + Java Compiled Can stand on its own Written once, run anywhere Two-stage debugging Java is an Object Oriented Programming.
C++ Object Oriented 1. Class and Object The main purpose of C++ programming is to add object orientation to the C programming language and classes are.
11 Getting Started with C# Chapter Objectives You will be able to: 1. Say in general terms how C# differs from C. 2. Create, compile, and run a.
Chapter 1: Creating Java Programs
OOPs Object oriented programming. Based on ADT principles  Representation of type and operations in a single unit  Available for other units to create.
CIS 199 Test 01 Review. Computer Hardware  Central Processing Unit (CPU)  Brains  Operations performed here  Main Memory (RAM)  Scratchpad  Work.
Java Virtual Machine Java Virtual Machine A Java Virtual Machine (JVM) is a set of computer software programs and data structures that use.
Java Language and SW Dev’t
© 2006 Pearson Education 1 Obj: cont 1.3 and 1.4, to become familiar with identifiers and to understand how programming languages work HW: p.51 #1.8 –
CSCE 121: Introduction to Program Design and Concepts, Honors Dr. J. Michael Moore Spring 2015 Set 3: Objects, Types, and Values 1 Based on slides.
Chapter 1: Introducing JAVA. 2 Introduction Why JAVA Applets and Server Side Programming Very rich GUI libraries Portability (machine independence) A.
The Java Programming Language
JAVA JAVA is an object-oriented programming (OOP) language introduced by Sun Microsystems in In the Java programming language: A program is made.
Lecture 2 Object Oriented Programming Basics of Java Language MBY.
Introduction and Features of Java. What is java? Developed by Sun Microsystems (James Gosling) A general-purpose object-oriented language Based on C/C++
Lecture :2 1.  DEFENTION : Java is a programming language expressly designed for use in the distributed environment of the Internet. It was designed.
Java Programming, Second Edition Chapter One Creating Your First Java Program.
1 COMP 3438 – Part II-Lecture 1: Overview of Compiler Design Dr. Zili Shao Department of Computing The Hong Kong Polytechnic Univ.
JAVA BASICS Prepared by The Smartpath Information Systems
Chapter 1: Introduction Java Programming Language How the Java Virtual Machine Works (compiling, etc…) Update by: Dan Fleck Coming up: The Java Programming.
Chapter 12 Support for Object oriented Programming.
We will talking about story of JAVA language. By Kristsada Songpartom.
Lecture 2 Software Concepts Instructors: Fu-Chiung Cheng ( 鄭福炯 ) Associate Professor Computer Science & Engineering Tatung Institute of Technology.
1. 2 Preface In the time since the 1986 edition of this book, the world of compiler design has changed significantly 3.
OOPs Object oriented programming. Abstract data types  Representationof type and operations in a single unit  Available for other units to create variables.
Liang, Introduction to Java Programming, Sixth Edition, (c) 2007 Pearson Education, Inc. All rights reserved Chapter 9 Inheritance and.
3C-1 Purity Typing Language semantics Inheritance model  Single vs. Multiple inheritance  Common root Modular mechanisms Generics Object Oriented Languages.
Bindings. Typical stages of program execution First, the program is compiled Then everything is loaded into memory Then it is linked to any library routines.
 In the java programming language, a keyword is one of 50 reserved words which have a predefined meaning in the language; because of this,
1 Compiler & its Phases Krishan Kumar Asstt. Prof. (CSE) BPRCE, Gohana.
Lecture 02. Java Virtual Machine(JVM) –set of computer software programs and data structures that use a virtual machine model for the execution of other.
How to execute Program structure Variables name, keywords, binding, scope, lifetime Data types – type system – primitives, strings, arrays, hashes – pointers/references.
INTRODUCTION CHAPTER #1 Visual Basic.NET. VB.Net General features It is an object oriented language  In the past VB had objects but focus was not placed.
PHP Reusing Code and Writing Functions 1. Function = a self-contained module of code that: Declares a calling interface – prototype! Performs some task.
Terms and Rules II Professor Evan Korth New York University (All rights reserved)
C# Fundamentals An Introduction. Before we begin How to get started writing C# – Quick tour of the dev. Environment – The current C# version is 5.0 –
© 2011 Pearson Education, publishing as Addison-Wesley Chapter 1: Computer Systems Presentation slides for Java Software Solutions for AP* Computer Science.
Programming Languages Concepts Chapter 1: Programming Languages Concepts Lecture # 4.
Introduction to Java Programming by Laurie Murphy Revised 09/08/2016.
1 Problem Solving  The purpose of writing a program is to solve a problem  The general steps in problem solving are: Understand the problem Dissect the.
Object Oriented Programming in
JAVA MULTIPLE CHOICE QUESTION.
Working with Java.
Before You Begin Nahla Abuel-ola /WIT.
Scope and Code Generation
GC101 Introduction to computer and program
Compiler Construction (CS-636)
Types of Programming Languages
CS240: Advanced Programming Concepts
Parallel Programming in Contemporary Programming Languages (Part 2)
Statements, Comments & Simple Arithmetic
Chapter 9 Inheritance and Polymorphism
Typescript Programming Languages
CS-0401 INTERMEDIATE PROGRAMMING USING JAVA
Chapter 1: Computer Systems
Object Oriented Programming
Units with – James tedder
Units with – James tedder
Spark and Scala.
HYPERTEXT PREPROCESSOR BY : UMA KAKKAR
Focus of the Course Object-Oriented Software Development
CMPE419 Mobile Application Development
C++ Object Oriented 1.
Presentation transcript:

Dart Omar Ansari, Kenneth Jones, Isaac Wilder

1. Overview l Object Oriented Language l Developed By Google l Primarily used for building websites, servers, and mobile apps l Provides librariries, an editor, a virtual machine (VM) and a compiler to javaScript l Created to improve the developers experience based on performance and productivity

2. History l Unveiled at the GOTO conference in Denmark on October 10, 2011 l Founded by Lars Bak and Kasper Lund l Bak is a Danish computer programer who previously developed the V8 JavaScript Interpreter for Chrome l V8 is mostly responsible for Chromes success l Google then moved most of the V8 engineers to the Dart project

2. History l ECMA (European Computer Manufacturers Association) formed a technical committee TC52 to work on Dart Language Standards l TC52 goals: 1) Develop Dart standards and standards for libraries that extend the capabilities of dart 2) After completing 1, investigate the future direction of Dart standards, and to evaluate and consider proposals for additional technology 3) Develop test suites that will be used to verify the correct implementation of these standards. 4) Establish/Maintain liaison with other TCs and with other SDOs (Standards Development Organizations) as appropriate to facilitate/promulgate the work of the groups

3. Concepts Everything you can place in a variable is an object, and every object is an instance of a class. All objects inherit from the Object class. Specifying static types clarifies your intent and enables static checking by tools, but it’s optional. Dart doesn’t have the keywords public, protected, and private. If an identifier starts with an underscore “_”, it is private to its library. Identifiers can start with a letter or “_”, followed by any combination of those characters plus digits.

3. Concepts Dart parses all your code before running it. You can provide tips to Dart, for example, by using types or compile-time constants, to catch errors or help your code run faster. Dart supports top-level functions. You can also create functions within functions (nested or local functions). Dart supports top-level variables, as well as variables tied to a class or object (static and instance variables).

3. Concepts Dart tools can report two kinds of problems: warnings and errors. Dart has two runtime modes: production and checked. Production mode is the default runtime mode of a Dart program, optimized for speed. Production mode ignores assert statements and static types. Checked mode is a developer-friendly mode that helps you catch some type errors during runtime

4. Example String Interpolation

Asynchronicity 4. Example

Comparisons l Descendant of the ALGOL language family, just like C, Java, C# and JavaScript l Dynamically typed language like Javascript, but Dart adds the optional type annotations to help catch errors earlier l Dart takes out a few features of JavaScript (Prototypes, Global Objects) causing the VM to streamline, enables faster execution and makes it easier to do code completion and re-factoring l According to the Dart Project “When compared to JavaScript, Dart aims to be faster, more regular, and more scalable to large programs.”