[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Low-level vs. High-level programming (was My First Computer)
In article <Xns939F982D4A0Ewildstar128hotmailco@216.168.3.44>,
wildstar <wildstar128@hotmail.com> wrote:
>
>When has high-level program actually outperform a well written low-level
>routine. Never has and never can when both system hardware level is the
>same.
I've written a computationally-intense Java program which beat the
same C++ program on the same platform. I attribute this to a good JIT
compiler for Java and a lousy STL for C++.
>For one, Java like its predecessor grand-daddy token BASIC.
No, Java is more like the P-System for Pascal.
>Which JAVA calls byte-code is hardly more then tokens in BASIC.
Not so. The source program is compiled to a virtual machine, not simply
parsed into tokens.
--
Matthew T. Russotto mrussotto@speakeasy.net
"Extremism in defense of liberty is no vice, and moderation in pursuit
of justice is no virtue." But extreme restriction of liberty in pursuit of
a modicum of security is a very expensive vice.