IT
, . , , . , , - , , . .
, , , . , . C++, , , . , C++ - . , , , . , , . , C++ .
, , , . , . ! , . C , ( ), , . , , , , .
, . Slackware Linux, Windows . , QNX NetBSD. Unix : GTK+ Qt. C++, , , . , , , , , .
, Mac OS X, Intel . Mac OS X 10.5 Leopard, HackBook .
, - . , Carbon. , . Objective-C NeXT Object-oriented programming and the Objective-C language. , , . , , , , , . , - .
|
|
Xcode Mac OS X . Mac Developer Library, Cocoa , .
OpenGL Windows Mac OS X, . , , .
Objective-C, Smalltalk, Objective-C, , . Smalltalk , . , .
, Cincom Smalltalk , . CD . , . VisualWorks Smalltalk .
Squeak Smalltalk, Smalltalk-80, . , . , Smalltalk .
, C++, Objective-C Apple . - . ( , LLVM .) C++, . , .
, .
C
( 32 C89, 37 C99 44 C11) , . C . , , , , . TIOBE Programming Community Index , Java.
/* Hello world in C */ #include <stdio.h>#include <stdlib.h> int main(void){ printf("Hello World!\n"); return EXIT_SUCCESS;}
|
|
Objective-C
. , Objective-C. - : . Apple.
/* Hello world in Objective C */ #import <Foundation/Foundation.h> int main (int argc, const char *argv[]){ NSAutoreleasePool *pool = [NSAutoreleasePool new]; NSLog (@"Hello, World!\n"); [pool drain]; return 0;}
Smalltalk
Objective-C . , Objective-C. - . , , , , . , , . , (Kapital JPMorgan), (CIM Texas Instruments), (IRIS-2 Orient Overseas Container Lines), (Desjardins General Insurance Group) .
"Hello world in Smalltalk" Transcript show: 'Hello World!'; cr.
, , . .
C++
( 100), , . , , . C++ , , - - . , Objective-C Smalltalk , C++ . . , C++ , , , , Objective-C Java . : . C++ I/O Kit Mac OS X.
// Hello world in C++ #include <iostream> int main(){ std::cout << "Hello World!\n"; return 0;}
Assembler
, , , . (, Demo ). , , , .
JavaScript
, . web . . web , JavaScript . : , -, . JavaScript , C- , . JavaScript , .
|
|
Ada
, . . , Ada . (, , , ), . , C++.
-- Hello world in Ada with Ada.Text_IO; use Ada.Text_IO;procedure Hello isbegin Put_Line ("Hello, world!");end Hello;
Scheme
, . Lisp. . , ( ) . .
, .
, , Shell, Perl, JavaScript Scheme. . , , , .
, , , . , , . , , C C++ , , . , , , .
, . .
, , ( ) C, , .
- . . , . . , . , , , , - . , , , , .
|
|
, C CoreFoundation Mac OS X.
?
. :
-, . 21 . , , App Store ( , ). -, ANSI/ISO . , -, , .
, , . , , . , , . .
, , , , , . , , , , (Introduction to Algorithms by Thomas H. Cormen, Charles E. Leiserson, Ronald L. Rivest and Clifford Stein). . , .
. , , , . .
. . , , , , . , . , .
, , Fortran ( ) Fortran. , , , , . .
, , . stackexchange.com .
. , . ( ), screensaver, . , : ( ) .
. . , , , . , , . . , , , , . , . .