• Re: My language to do list

    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