Is there a compiled* programming language with dynamic, maybe even weak typing?

后端 未结 9 2116
野的像风
野的像风 2021-02-02 06:44

I wondered if there is a programming language which compiles to machine code/binary (not bytecode then executed by a VM, that\'s something completely different when considering

9条回答
  •  青春惊慌失措
    2021-02-02 07:07

    Yes, it is possible. See Julia. It is a dynamic language (you can write programs without types) but it never runs on a VM. It compiles the program to native code at runtime (JIT compilation).

提交回复
热议问题