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

后端 未结 9 2046
野的像风
野的像风 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:17

    C# 4.0 has many, if not all of these characteristics. If you really want native machine code, you can compile the bytecode down to machine code using a utility.

    In particular, the use of the dynamic keyword allows objects and their members to be bound dynamically at runtime.

    Check out Anders Hejlsberg's video, The Future of C#, for a primer:

    http://channel9.msdn.com/pdc2008/TL16/

提交回复
热议问题