Answer the question
In order to leave comments, you need to log in
Is it possible to do assembler inserts in python3?
is it possible to? if possible then how? is there any benefit from this?
Answer the question
In order to leave comments, you need to log in
see
https://docs.python.org/3/extending/
https://docs.python.org/3/library/ctypes.html
there is a benefit, but Python loses its development speed advantage
sometimes easier, in the age of microservices, run fast microservices
And the meaning. Python assembles a program from ready-made modules like bricks. If some module is missing, it is written in C and then used in the python program. Modules can also be written in assembler.
https://github.com/Maratyszcza/PeachPy
https://github.com/pycca/pycca
codeflow.org/entries/2009/jul/31/pyasm-python-x86-...
https://github.com /AmihaiN/pyAsm
The first three projects implement x86-64 or x86 assemblers in Python, the last one invokes an external compiler.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question