1st ACM meeting next Tuesday, Sep 3rd at 5:15 in SERC Introduction2-1
All 300/400 Level CS Major Courses Tutor: Dustin Heaton Location: SEC 3433 Times: Monday, Wednesday, Thursday: 1:00 to 6:00 PM Tuesday: 2:00 to 7:00 PM Sign up: 30-min per slot Walk-ins welcome if no one has signed up encourage schedule appointments in advance Introduction2-2
Compiled Languages Compiler (Including Linker) hello.cpp (high level) hello.exe (machine) Result Executor hello.exe
Interpreted Languages Interpreter hello.bas Result
Hybrid Compiler-Interpreter Interpreter Source code Result Compiler Intermediate language code
C++/CLI CLR C++/CLI Source Code Result C++/CLI compiler CIL Bytecode This applies to C# and VB.NET too. CLR = Common Language Runtime CIL = C++ Intermediate Language
About C++\CLI C++ (.h,.cpp, complied) C++/CLI (compiled to MSIL, not machine code)(not interpreted at runtime) C++ vs. C++/CLI –Unmanaged code vs. managed code Managed code: memory management, code access security, multi-language integration –Garbage collection
.NET –Application development technologies –.NET base class library –Common Language Runtime (above OS)
.NET Advantages Language natural –Many non-MS languages can use base class library –Common Type System (CTS) –Common Language Specification (CLS) Minimum subset of CTS for all the.NET compatible languages Platform independent –Port.NET Framework to non-Windows platform w/o recompiling –JIT: Just-In-Time Compilation –A JIT compiler translates bytecode into the native machine language.
IDE(Integrated development environment) Microsoft Visual Studio for C++
Examples How to use Microsoft Visual Studio 2010 Use Visual Studio to create a simple project after class