FYI -  there appears to be a library called numcl that was written to cover numpy's functionality.

   https://github.com/numcl/numcl

I've yet to try it, but thought I'd pass along the link.

Regards,
Elliott Johnson


-------- Original message --------
From: Raymond Wiker <rwiker@gmail.com>
Date: 4/11/23 3:53 AM (GMT-08:00)
To: Discussion list for Common Lisp professionals <pro@common-lisp.net>
Subject: Re: Numpy and Common Lisp?

There’s cl-ana, which may be a useful substitute in some cases… or april, possibly.


If you specifically want numpy, it may be possible to have Common Lisp talking to python.

On 11 Apr 2023, at 08:41, Marco Antoniotti <marco.antoniotti@unimib.it> wrote:

Hi Michael

I am all for it.  But, as I said, I am an academic (and a cat).

Should we (as in "a bunch of common lispers", most of whom with day jobs) want to do something like that, how would you want to proceed?  Note that I have been part of many past failures.

All the best

Marco


On Tue, Apr 11, 2023 at 1:01 AM Michael Bentley <michael@stray-labs.com> wrote:

IMHO, it'd be easier and effective to band up together and FIRST write a proper API specification and THEN implement it in CL.

I agree.  Here’s the API specification for NumPy: https://numpy.org/doc/stable/reference/index.html#reference

Looks rather intimidating. Less intimidating though, than doing the FFI dance, though.