[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Perl und PHP



Hallo,

Am Mon, 25 Sep 2006, Dawid Szczepanski schrieb:
>Albert Dengg wrote:
>>es gibt auch java compiler die nicht nach bytecode sondern native
>>übersetzen....
>>man kann für (nahezu) jede sprache einen native compiler oder auch einen
>>interpreter schreiben...
>
>woa Java Compiler die native Übersetzten und nicht in Bytecode? Wo krieg 
>ich sowas... den das war das einzige Manko, das mich gehindert hat Java 
>Professionell zu lernen und zu entwickeln

gcj aus der GCC.

====
$ cat gcjtest.java
import java.lang.System;
class gcjtest {
    public static void main(String[] args) {
        System.out.println("Hello world with gcj!");
    }
}
$ gcj -Wall -W -Wno-unused --main=gcjtest -o gcjtest gcjtest.java
$ ./gcjtest 
Hello world with gcj!
$ file ./gcjtest 
./gcjtest: ELF 32-bit LSB executable, Intel 80386, version 1, dynamically linked (uses shared libs), not stripped
====

Und für perl gibt's z.B. perlcc.

HTH, HAND,
-dnh

-- 
Q: Why is it that New Jersey got all the toxic waste dumps and California
   got all the lawyers?
A: New Jersey had first choice.                                -- unknown



Reply to: