I propose Python to have inline-Assembly for optimizing performance critical code.
If you want this proposal to go anywhere, you will need to provide a lot more details, especially how this fits into python’s object-based high-level execution and data model.
Also see projects like numba and cython that allow you to write low level code in python.
3 Likes
I will…
You may be interested in existing approaches:
2 Likes
Python can already call out to compiled C, C++, Fortran and Rust code.
Feel free to design a Python ABI at Assembly language level, that works with all CPU architectures.
How many architectures does Python support?
I do not think my dumbass can do this by myself. Can someone help me with this project? I have no money