You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The LPython part was implemented in: #179, #181 and used in #184, #186. This issue is fixed. We need to extend this C interop to other types, but that will be an ongoing work as we need it.
Activity
certik commentedon Dec 29, 2021
One idea:
certik commentedon Dec 30, 2021
CPython does not have 32bit floats, so we simply declare in
math.py:certik commentedon Feb 24, 2022
I like this approach: https://code.activestate.com/recipes/576731-c-function-decorator/, that might be almost exactly what we need. An example how to use ctypes with types is, e.g., here: https://www.linkedin.com/pulse/calling-c-from-python-using-ctypes-warren-jitsing
certik commentedon Feb 26, 2022
Initial implementation was done in #167, #171, #172. Here is a test:
It works with CPython. Now we need to get this test working with LPython.
certik commentedon Mar 2, 2022
The LPython part was implemented in: #179, #181 and used in #184, #186. This issue is fixed. We need to extend this C interop to other types, but that will be an ongoing work as we need it.