On Sat, 18 Jan 2003 13:38:49 +0530 Nosferatu wrote:
If you want performance, then C/C++ or Assembly(!) is better.
Code written in compiled languages is ultimately resolved into machine instructions (common knowledge). What's interesting is that for some architectures (most RISC CPUs and the latest IA-32/64 CPUs with long pipelines and hyperthreading), you'd have a very tough time cooking up an efficient logic even in assembly!
The compilers are designed keeping in mind the optimization support offered by the architecture and they generate code in a way that best exploits the CPUs optimization algorithms.
You might want to look at the different scripting languages available out there and decide which one to use. It's not very difficult to
Yes, I use scripting languages quite often. I hope you don't mean to imply that Java is a scripting language. It's a systems programming language like C and C++. The difference is that you use it to program for a virtual system, rather than a real one. Nor does it have any significant "abstraction" over C or C++. Let me hazard a guess at what makes people think Java is a higher-level language:
Garbage Collection: No, GC is not the latest and greatest technology. It was used back in the 80s for SmallTalk. Guess what, you have GC libraries for C++ too.
OOP: Old hack again, and incomplete. Simula did it way back in '67! OOP is a paradigm and you can apply it even with C, substituting compiler enforced rules with coding style rules. Gnome is an example of OO design in C. C++ was born as "C with Classes" and the complier actually acted like a preprocessor, generating C and invoking a C compiler to compile it.
Dynamic Typing: Simula, SmallTalk, Lisp, C++...