How to get Python to use Assembly

前端 未结 3 869
死守一世寂寞
死守一世寂寞 2021-02-05 13:43

I am a beginner in assembly, but a master in Python. I have just recently started to learn x86_64 NASM for windows, and I wish to combine the power of assembly, and the flexibil

3条回答
  •  一生所求
    2021-02-05 14:24

    Not sure about the "power" of assembly, really.

    You can start here: https://docs.python.org/2/extending/extending.html

    It's about extending python with compiled code, written in C or C++, but the principle should be the same (C is really just a portable macro-assembler).

提交回复
热议问题