The Go Programming Language
The Go Programming Language
Mooly Sagiv Based on a presentation by
Rob Pike(Google)
Content
? What is wrong with C ? Go's goals ? History and status ? A tour of Go ? Critiqe
The C Programming Language
? Originally developed by Dennis Ritchie 1969-73 at Bell Labs
? Used for implementing Unix ? Became the standard system programming language ? Keys to success:
? Simplicity and elegance ? Availability ? Performance
? No more manual assembly code
? Documentation Brian Kernighan & Dennis Ritchie
? Extended to C++
Object Orientation in C
class Vehicle extends object { int position = 10; void move(int x) { position = position + x ; }
struct Vehicle { int position ; } void New_V(struct Vehicle *this) { thisposition = 10; } void move_V(struct Vehicle *this, int x) { thisposition=thisposition + x; }
4
What is wrong with C?
? Type safety
? Pointer arithmetic, casts, unions, no bound checking, free
? Ugly syntax
? Mainly for historical reasons ? Influenced Java
? Unpredicted side-effects ? Low level control constructs (break, goto, continue) ? Lacks support for modularity, concurrency and dynamic
environments
? typedefs and #include are just macros
................
................
In order to avoid copyright disputes, this page is only a partial summary.
To fulfill the demand for quickly locating and searching documents.
It is intelligent file search solution for home and business.
Related searches
- java programming language book pdf
- the java programming language pdf
- java programming language tutorial pdf
- java programming language pdf download
- java programming language for beginners
- c programming language standard
- c programming language specification
- programming language popularity
- best programming language for games
- which programming language to learn first
- best programming language to learn 2020
- simple programming language for beginners