Numpy and Common Lisp?

Robert Goldman rpgoldman at sift.net
Tue Apr 11 19:57:24 UTC 2023


On 11 Apr 2023, at 7:23, Manfred Bergmann wrote:

>> Am 11.04.2023 um 14:17 schrieb paul tarvydas <paultarvydas at gmail.com>:
>>
>> "If you specifically want numpy, it may be possible to have Common Lisp talking to python."
>>
>> CL can run python
>>
>> (uiop:run-program "python3 ~/quicklisp/local-projects/clvpy/hello.py" :output t)
>>
>> This isn't 1950 anymore.  1950s biases about what "efficiency" means no longer apply.
>>
>> (Lisp used to be concerned with "development time efficiency" and can be again)
>>
>> pt
>
>
> In that regard, there is py4cl2: https://github.com/digikar99/py4cl2
> Not sure if you know.


FWIW, py4cl2 in my experience is in very rough shape, and not fit for use.  Stick to py4cl instead of the fork.  It's simpler and doesn't do a lot of things py4cl2 wants to, but it's more solid.



More information about the pro mailing list