Writing an assembler in Python
Dan Stromberg
drsalists at gmail.com
Tue Jun 19 22:54:37 EDT 2018
On Tue, Jun 19, 2018 at 7:33 PM, Steven D'Aprano <
steve+comp.lang.python at pearwood.info> wrote:
> On Tue, 19 Jun 2018 17:41:11 -0700, iansuderman wrote:
>
> > What does the code look like to insert assembler into python and how
> > does that code send information back to python.
> >
> > It seems you wrote that python is a good compiler for assembly. If
> > possible I want to add assembly to my python.
>
> Who are you talking too?
>
If Python does inline assembler, this is the first I've heard of it.
You can do something kind of like this (but nicer) using
https://pypi.org/project/numba/ Just make sure to use it in "no-python"
mode, not "object" mode.
HTH
> <https://mail.python.org/mailman/listinfo/python-list>
More information about the Python-list
mailing list