DotNet-Overview

DotNet-Overview - Windows Programming .NET Overview Yingcai...

Info iconThis preview shows pages 1–12. Sign up to view the full content.

View Full Document Right Arrow Icon
Windows Programming .NET Overview Yingcai Xiao
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
What is a Computer? From the Webster’s New World Dictionary: 1. A person who computes. 2. A device used for computing (an electronic machine which by means of stored instructions and information, perform rapid, often complex calculations or compiles, correlates, and selects data).
Background image of page 2
What is a program and what is programming? Programs: stored computer instructions for data processing. Programming = Data Structures + Algorithms Professor Donald E. Knuth http://www-cs-faculty.stanford.edu/~knuth/
Background image of page 3

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
What is Windows Programming? Windows Programming: Program for the Windows platform? Program for the Internet on the Windows platform!
Background image of page 4
What is .NET?   .Net is a framework for developing OS- platform-independent, programming-  language-independent, web-enabled,  distributed applications.
Background image of page 5

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
 Traditional Compilation (Linking) Source Code for Language 1 Language 1 Compiler on OS1 Binary Code for OS1 OS1 Source Code for Language 1 Language 1 Compiler on OS2 Binary Code for OS2 OS2
Background image of page 6
Common Binary Code?
Background image of page 7

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
OS-Independent Code: Intermediate Languages The trend to support OS-independent binary code is to compile the source code into the binary format of an intermediate language. And to provide an interpreter for the intermediate language on each OS to translate the binary code of the intermediate language into the native binary code of the OS.
Background image of page 8
  OS-Independent Compilation: Intermediate Language Source Code for Language 1 Language 1 Compiler on OS1 Intermediate Binary Code OS1 Intermediate Code Interpreter OS1 OS2 Language 1 Compiler on OS2 Binary Code for OS2 Binary Code for OS1 Intermediate Code Interpreter OS2
Background image of page 9

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
  Java Intermediate Language: Java Bytecode Java Source Code (.java) Java Compiler (javac) on OS1 Java Bytecode (.class) OS1 Java Interpreter on OS1 (java) OS2 Java Compiler (javac) on OS2 Binary Code for OS2 Binary Code for OS1 Java Interpreter on OS2 (java) Program statements are interpreted one at a time during the run-time.
Background image of page 10
An interpreter interprets intermediate code one line at a time. Slow execution. A JIT (Just-In-Time) Compiler compiles the
Background image of page 11

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Image of page 12
This is the end of the preview. Sign up to access the rest of the document.

Page1 / 36

DotNet-Overview - Windows Programming .NET Overview Yingcai...

This preview shows document pages 1 - 12. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online