Vinova tuyển lập trình viên Mobile & Web ở Hà Nội, lương $300-1000

Article: D language 927

D, lập trình
phananhvu.myopenid.com 125
Updated over 4 years ago

D là một ngôn ngữ lập trình hệ thống. Nó tập trung vào việc kết hợp sức mạnh và tốc đọ (performance) của C/C++ với năng suất (productivity) của các ngôn ngữ lập trình hiên đại như Ruby và Python. Đặc biệt chú ý tới việc đảm bảo chất lượng, tài liệu, quản trị, tính tin cậy và tính khả chuyển.

Khai sinh bởi Digital Mars, cộng đồng D đang ngày càng được mở rộng, sức mạnh của D cũng ngày một tăng cùng sự hiện diện của D 2.0.

D Language Feature Comparison Table
Feature







D







Garbage Collection Yes
Functions
Function delegates Yes
Function overloading Yes
Out function parameters Yes
Nested functions Yes
Function literals Yes
Dynamic closures Yes
Typesafe variadic arguments Yes
Lazy function argument evaluation Yes
Arrays
Lightweight arrays Yes
Resizeable arrays Yes
Built-in strings Yes
Array slicing Yes
Array bounds checking Yes
Array literals Yes
Associative arrays Yes
Strong typedefs Yes
String switches Yes
Aliases Yes
OOP
Object Oriented Yes
Multiple Inheritance No
Interfaces Yes
Operator overloading Yes
Modules Yes
Dynamic class loading No
Nested classes Yes
Inner (adaptor) classes Yes
Covariant return types Yes
Properties Yes
Performance
Inline assembler Yes
Direct access to hardware Yes
Lightweight objects Yes
Explicit memory allocation control Yes
Independent of VM Yes
Direct native code gen Yes
Generic Programming
Class Templates Yes
Function Templates Yes
Implicit Function Template Instantiation Yes
Partial and Explicit Specialization Yes
Value Template Parameters Yes
Template Template Parameters Yes
Variadic Template Parameters Yes
Mixins Yes
static if Yes
is expressions Yes
typeof Yes
foreach Yes
Implicit Type Inference Yes
Reliability
Contract Programming Yes
Unit testing Yes
Static construction order Yes
Guaranteed initialization Yes
RAII (automatic destructors) Yes
Exception handling Yes
Scope guards Yes
try-catch-finally blocks Yes
Thread synchronization primitives Yes
Compatibility
C-style syntax Yes
Enumerated types Yes
Support all C types Yes
80 bit floating point Yes
Complex and Imaginary Yes
Direct access to C Yes
Use existing debuggers Yes
Struct member alignment control Yes
Generates standard object files Yes
Macro text preprocessor No
Other
Conditional compilation Yes
Unicode source text Yes

Documentation comments

Yes

1 2 3 

Editors
phananhvu.myopenid.com 125
cmpitg.myopenid.com 1

Comments

You must login to be able to comment

Uploaded files

No file uploaded yet

You must login to be able to upload

Nhà tài trợ:

Mọi người đều tự do viết bài, sửa bài của người khác, và bình luận ở trang web này. Bạn muốn chủ động tạo bài mới để chia sẻ kinh nghiệm với mọi người? Xin click link ở dưới.

Create new content