numericals - Performance of NumPy with the goodness of Common Lisp

This page summarizes the projects mentioned and recommended in the original post on /r/lisp

Our great sponsors
  • WorkOS - The modern identity platform for B2B SaaS
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • SaaSHub - Software Alternatives and Reviews
  • numericals

    CFFI enabled SIMD powered simple-math numerical operations on arrays for Common Lisp [still experimental]

  • Since the past year or two, I have been working on numericals that aims to provide the speed of NumPy with the goodness of Common Lisp. In particular, this includes the use of dynamic variables, restarts, and compiler-notes wherever appropriate. It uses CLTL2 API (and may be slightly more) under the hood to provide AOT dispatch, but nothing stops you from combining it with JAOT dispatch provided by numcl/specialized-function. This also spawned a number of projects most notably polymorphic-functions to dispatch on types instead of classes and extensible-compound-types that allows one to define user defined compound types (beyond just the type-aliases enabled by deftype. Fortunately enough, interoperation between magicl, numcl and numericals/dense-numericals actually looks plausible!

  • specialized-function

    Julia-like dispatch for Common Lisp

  • Since the past year or two, I have been working on numericals that aims to provide the speed of NumPy with the goodness of Common Lisp. In particular, this includes the use of dynamic variables, restarts, and compiler-notes wherever appropriate. It uses CLTL2 API (and may be slightly more) under the hood to provide AOT dispatch, but nothing stops you from combining it with JAOT dispatch provided by numcl/specialized-function. This also spawned a number of projects most notably polymorphic-functions to dispatch on types instead of classes and extensible-compound-types that allows one to define user defined compound types (beyond just the type-aliases enabled by deftype. Fortunately enough, interoperation between magicl, numcl and numericals/dense-numericals actually looks plausible!

  • WorkOS

    The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.

    WorkOS logo
  • polymorphic-functions

    A function type to dispatch on types instead of classes with partial support for dispatching on optional and keyword argument types.

  • Since the past year or two, I have been working on numericals that aims to provide the speed of NumPy with the goodness of Common Lisp. In particular, this includes the use of dynamic variables, restarts, and compiler-notes wherever appropriate. It uses CLTL2 API (and may be slightly more) under the hood to provide AOT dispatch, but nothing stops you from combining it with JAOT dispatch provided by numcl/specialized-function. This also spawned a number of projects most notably polymorphic-functions to dispatch on types instead of classes and extensible-compound-types that allows one to define user defined compound types (beyond just the type-aliases enabled by deftype. Fortunately enough, interoperation between magicl, numcl and numericals/dense-numericals actually looks plausible!

  • extensible-compound-types

    Discontinued User defined compound types in Common Lisp

  • Since the past year or two, I have been working on numericals that aims to provide the speed of NumPy with the goodness of Common Lisp. In particular, this includes the use of dynamic variables, restarts, and compiler-notes wherever appropriate. It uses CLTL2 API (and may be slightly more) under the hood to provide AOT dispatch, but nothing stops you from combining it with JAOT dispatch provided by numcl/specialized-function. This also spawned a number of projects most notably polymorphic-functions to dispatch on types instead of classes and extensible-compound-types that allows one to define user defined compound types (beyond just the type-aliases enabled by deftype. Fortunately enough, interoperation between magicl, numcl and numericals/dense-numericals actually looks plausible!

  • py4cl

    Call python from Common Lisp

  • Note that it is not my aim to replace the python ecosystem; I think that is far too lofy a goal to be of any good. My original intention was to interoperate with python through py4cl/2 or the likes, but felt that one needs a Common Lisp library for "small" operations, while "large" operations can be offloaded to python libraries through py4cl/2.

  • py4cl2

    Call python from Common Lisp

  • Note that it is not my aim to replace the python ecosystem; I think that is far too lofy a goal to be of any good. My original intention was to interoperate with python through py4cl/2 or the likes, but felt that one needs a Common Lisp library for "small" operations, while "large" operations can be offloaded to python libraries through py4cl/2.

  • Petalisp

    Elegant High Performance Computing

  • However, if you have a lisp library that puts those semantics to use, then you could get it to employ magicl/ext-blas and cl-bmas to speed it up. (petalisp looks relevant, but I lack the background to compare it with APL.)

  • InfluxDB

    Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.

    InfluxDB logo
NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts