Quote:Original post by Zyndrof Is there any language that can compare with C++?
D. It's got a lot of the advantages of languages like C# and Java (garbage collection), but it's compiled to native code, so it doesn't need a bytecode interpreter. It doesn't have a preprocessor, but what there is is an improvement.
For example, instead of the C/C++ #include, we have import:
import std.c.stdio
Instead of:
#include <stdio.h>
D also doesn't need a #pragma once directive or #ifdef/#define/#endif blocks, since the import directive takes care of that for you.
There's lots of other stuff, but I don't want to make my post too long. [grin]
The one problem with it is that since it's so young, it doesn't have a very large codebase, and not many libraries have been ported to it yet (though I believe a port of SDL and some other APIs, similar to the .Net Tao project, is in progress).
edit: Forgot to mention FreeBASIC. [grin] FreeBASIC is much like C, but it's got a syntax that is very close to English, so it's good for beginners in most cases. It's fast, too, and in some cases it's actually faster than C/C++. When they get OOP working properly it'll be even better.
[Edited by - Oberon_Command on May 9, 2006 4:02:08 PM]