Re: Java to C++
JKop wrote:
[color=blue]
> Any compiled language will do.
>
>
> C++ -> Assembly -> Machine Code.
>
> Pascal -> Assembly -> Machine Code.[/color]
[color=blue]
> Is that a typo? Should it be?:
>
> Java is in my opinion one of the shittest Language for the programmer[/color]
No. Java has many advantages over C++ when it comes to provideing coherent
APIs to the programmer. C++'s design is fairly ad hoc as regards the
support of thrid party libraries. As a result there is a great deal of
incongruence between the structure of libraries and the code that uses
them.
[color=blue]
> Java is not a compiled language. Java is an interpreted language. Here's
> how it goes:
>
> C++ -> Assembly -> Machine Code
>[/color]
Not all compilers have an assembly stage. Some go directly from the parsed
source to machine code.
[color=blue]
> Java -> Crappy Java Code
>
> Then when you run your Java program:
>
> Crappy Java Code ---(Through Interpreter, time goes by)---> Assembly -->
> Machine Code.[/color]
You can compile Java to machine specific binaries.
[color=blue]
> Eventually all code becomes machine code, so you can't say that one
> language is faster than the other,[/color]
This really is a more complex issue than simply converting source to machine
code.
[color=blue]
> except ofcourse when it comes to crappy
> interpreted languages.[/color]
So any language that is interpreted is "crappy"? Mathematica? Lisp? Icon?
Bash?....????
--
STH
Hatton's Law: "There is only One inviolable Law"
KDevelop: http://www.kdevelop.org SuSE: http://www.suse.com
Mozilla: http://www.mozilla.org
JKop wrote:
[color=blue]
> Any compiled language will do.
>
>
> C++ -> Assembly -> Machine Code.
>
> Pascal -> Assembly -> Machine Code.[/color]
[color=blue]
> Is that a typo? Should it be?:
>
> Java is in my opinion one of the shittest Language for the programmer[/color]
No. Java has many advantages over C++ when it comes to provideing coherent
APIs to the programmer. C++'s design is fairly ad hoc as regards the
support of thrid party libraries. As a result there is a great deal of
incongruence between the structure of libraries and the code that uses
them.
[color=blue]
> Java is not a compiled language. Java is an interpreted language. Here's
> how it goes:
>
> C++ -> Assembly -> Machine Code
>[/color]
Not all compilers have an assembly stage. Some go directly from the parsed
source to machine code.
[color=blue]
> Java -> Crappy Java Code
>
> Then when you run your Java program:
>
> Crappy Java Code ---(Through Interpreter, time goes by)---> Assembly -->
> Machine Code.[/color]
You can compile Java to machine specific binaries.
[color=blue]
> Eventually all code becomes machine code, so you can't say that one
> language is faster than the other,[/color]
This really is a more complex issue than simply converting source to machine
code.
[color=blue]
> except ofcourse when it comes to crappy
> interpreted languages.[/color]
So any language that is interpreted is "crappy"? Mathematica? Lisp? Icon?
Bash?....????
--
STH
Hatton's Law: "There is only One inviolable Law"
KDevelop: http://www.kdevelop.org SuSE: http://www.suse.com
Mozilla: http://www.mozilla.org
Comment