• Re: My language to do list

    From Nightfox@VERT/DIGDIST to Deavmi on Mon Apr 3 16:56:01 2017
    One must have both natively compiled languages (D) and interpreted
    languages (Java and Python). That's how I and I know a lot of others feel.

    Java is compiled, not interpreted. However Java does use a sort of virtual machine, which allows you to run compiled Java code on any platform.

    Nightfox

    ---
    � Synchronet � Digital Distortion: digitaldistortionbbs.com
  • From Deavmi@VERT/KK4QBN to Nightfox on Tue Apr 4 14:44:37 2017
    On 2017-04-04 02:56 AM, Nightfox wrote:
    One must have both natively compiled languages (D) and interpreted
    languages (Java and Python). That's how I and I know a lot of others feel.

    Java is compiled, not interpreted. However Java does use a sort of virtual machine, which allows you to run compiled Java code on any platform.

    Nightfox

    ---
    � Synchronet � Digital Distortion: digitaldistortionbbs.com

    It is compiled but not to code that can run on a CPU (machine code) -
    unless you have a high-level architecture which is uncommon in consumer
    CPUs.

    The compiled code, Java's bytecode, runs in a virtual machine that
    interprets that code.

    Compare this to C where C does not generate bytecode but rather machine
    code for a specific platform and executes that (on the CPU).

    ---
    � Synchronet � KK4QBN + (706)-422-9538 + kk4qbn.synchro.net + 24/7/365
  • From Deavmi@VERT/KK4QBN to Nightfox on Tue Apr 4 14:45:14 2017
    On 2017-04-04 02:56 AM, Nightfox wrote:
    One must have both natively compiled languages (D) and interpreted
    languages (Java and Python). That's how I and I know a lot of others feel.

    Java is compiled, not interpreted. However Java does use a sort of virtual machine, which allows you to run compiled Java code on any platform.

    Nightfox

    ---
    � Synchronet � Digital Distortion: digitaldistortionbbs.com

    Python also compiles to bytecode; not machine code.

    ---
    � Synchronet � KK4QBN + (706)-422-9538 + kk4qbn.synchro.net + 24/7/365
  • From Deavmi@VERT/KK4QBN to Nightfox on Tue Apr 4 14:46:07 2017
    On 2017-04-04 02:56 AM, Nightfox wrote:
    One must have both natively compiled languages (D) and interpreted
    languages (Java and Python). That's how I and I know a lot of others feel.

    Java is compiled, not interpreted. However Java does use a sort of virtual machine, which allows you to run compiled Java code on any platform.

    Nightfox

    ---
    � Synchronet � Digital Distortion: digitaldistortionbbs.com



    Wikipedia:

    Bytecode, also termed portable code or p-code, is a form of
    instruction set designed for efficient execution by a software interpreter.

    The HVM or Python runtime are the interpreters for this Bytecode.

    ---
    � Synchronet � KK4QBN + (706)-422-9538 + kk4qbn.synchro.net + 24/7/365
  • From Deavmi@VERT/KK4QBN to Nightfox on Tue Apr 4 14:53:22 2017
    On 2017-04-04 02:56 AM, Nightfox wrote:
    One must have both natively compiled languages (D) and interpreted
    languages (Java and Python). That's how I and I know a lot of others feel.

    Java is compiled, not interpreted. However Java does use a sort of virtual machine, which allows you to run compiled Java code on any platform.

    Nightfox

    ---
    � Synchronet � Digital Distortion: digitaldistortionbbs.com

    Java gone native https://en.wikipedia.org/wiki/PicoJava

    ---
    � Synchronet � KK4QBN + (706)-422-9538 + kk4qbn.synchro.net + 24/7/365
  • From Nightfox@VERT/DIGDIST to Deavmi on Tue Apr 4 12:16:21 2017
    Re: Re: My language to do list
    By: Deavmi to Nightfox on Tue Apr 04 2017 02:45 pm

    Python also compiles to bytecode; not machine code.

    Perhaps that's more transparent than it is with Java? Typically with Python, there is no specific 'compile' step as there is with Java - When I've worked with Java, the typical use is that you run the Python code directly with the Python interpreter.

    Nightfox

    ---
    � Synchronet � Digital Distortion: digitaldistortionbbs.com
  • From jagossel@VERT/KK4QBN to Deavmi on Wed Apr 5 01:23:22 2017
    Re: Re: My language to do list
    By: Deavmi to Nightfox on Tue Apr 04 2017 02:45 pm

    Java is compiled, not interpreted. However Java does use a sort of virtua
    l
    machine, which allows you to run compiled Java code on any platform.

    Python also compiles to bytecode; not machine code.

    Hmmm... I'm wondering if this is becoming the norm now with langages. I know that .NET is similar, but it's called, "MSIL", not bytecode; and it's not a VM, but a CLR.

    -jag
    Code it, script it, automate it!

    ---
    � Synchronet � KK4QBN + (706)-422-9538 + kk4qbn.synchro.net + 24/7/365
  • From Deavmi@VERT/KK4QBN to Nightfox on Wed Apr 5 15:06:35 2017
    On 04/04/2017 22:16, Nightfox wrote:
    Re: Re: My language to do list
    By: Deavmi to Nightfox on Tue Apr 04 2017 02:45 pm

    Python also compiles to bytecode; not machine code.

    Perhaps that's more transparent than it is with Java? Typically with Python, there is no specific 'compile' step as there is with Java - When I've worked with Java, the typical use is that you run the Python code directly with the Python interpreter.

    Nightfox

    ---
    � Synchronet � Digital Distortion: digitaldistortionbbs.com

    I'd say it is transparent.

    I am aware it is not so with Java as one must invoke the compiler,
    javac, `javac hello.java` to generate the bytecode file in the form of a `.class` file and then this bytecode can be given to the VM/interpreter
    via `java hello` (which uses the `.class` file).

    ---
    � Synchronet � KK4QBN + (706)-422-9538 + kk4qbn.synchro.net + 24/7/365
  • From Deavmi@VERT/KK4QBN to jagossel on Wed Apr 5 15:08:55 2017
    On 05/04/2017 07:23, jagossel wrote:
    Re: Re: My language to do list
    By: Deavmi to Nightfox on Tue Apr 04 2017 02:45 pm

    Java is compiled, not interpreted. However Java does use a sort of virtua
    l
    machine, which allows you to run compiled Java code on any platform.

    Python also compiles to bytecode; not machine code.

    Hmmm... I'm wondering if this is becoming the norm now with langages. I know that .NET is similar, but it's called, "MSIL", not bytecode; and it's not a VM,
    but a CLR.

    -jag
    Code it, script it, automate it!

    In the end it is all a runtime. An interpreter. Something that runs the "bytecode" or whatever you want to call it.

    It makes sense to call it a VM some times as the JVM, uses bytecode
    which is an instruction set (not one that runs on CPUs as machine code,
    unless it is that Java CPU I talked about earlier, but that is out of
    this conversation) and therefore a machine can run the instructions
    coded in this instruction set hence the JVM.

    I just call it an interpreter or whatever.

    ---
    � Synchronet � KK4QBN + (706)-422-9538 + kk4qbn.synchro.net + 24/7/365
  • From Deavmi@VERT/KK4QBN to jagossel on Wed Apr 5 10:51:47 2017
    Re: Re: My language to do list
    By: jagossel to Deavmi on Wed Apr 05 2017 01:23 am

    Re: Re: My language to do list
    By: Deavmi to Nightfox on Tue Apr 04 2017 02:45 pm

    Java is compiled, not interpreted. However Java does use a sort of vir
    tua
    l
    machine, which allows you to run compiled Java code on any platform.

    Python also compiles to bytecode; not machine code.

    Hmmm... I'm wondering if this is becoming the norm now with langages. I know that .NET is similar, but it's called, "MSIL", not bytecode; and it's not a
    VM,
    but a CLR.

    -jag
    Code it, script it, automate it!

    CLR is using CIL code which is Bytecode.

    https://en.wikipedia.org/wiki/Common_Language_Runtime

    +----+----+----+----+----+----+----+----+----+----+
    Tristan B. Kildaire (deavmi@kk4qbn.synchro.net)
    Info: `finger deavmi@kk4qbn.synchro.net` +----+----+----+----+----+----+----+----+----+----+

    ---
    � Synchronet � KK4QBN + (706)-422-9538 + kk4qbn.synchro.net + 24/7/365