cl-parametric-types
(BETA) C++-style templates for Common Lisp (by cosmos72)
dense-numericals
Numerical Computing library with https://github.com/digikar99/dense-arrays as the front-end (by digikar99)
cl-parametric-types | dense-numericals | |
---|---|---|
1 | 2 | |
43 | 0 | |
- | - | |
0.0 | 0.0 | |
almost 6 years ago | almost 3 years ago | |
Common Lisp | Common Lisp | |
- | - |
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
cl-parametric-types
Posts with mentions or reviews of cl-parametric-types.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2021-05-21.
-
polymorphic-functions - Possibly AOT dispatch on argument types with support for optional and keyword argument dispatch
There do exist libraries like cl-parametric-types that do it the way you seem to propose, but subjectively I find it a bit unweildy wrt to the other interactive aspects of lisp.
dense-numericals
Posts with mentions or reviews of dense-numericals.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2021-05-21.
-
polymorphic-functions - Possibly AOT dispatch on argument types with support for optional and keyword argument dispatch
An example where this has been put to use is at dense-numericals - so, we have the one-arg-fn as the basic polymorph that actually does the dispatching. But since the remaining polymorphs (sin, cos, tan, etc; the ones in the macrolet) are what I'll call parametric, by simply defining these for type t, these are defined for anything that the one-arg-fn is defined for, thus enabling both optimal compilation without dispatch overheads, as well as no compiled code repetition; without this, one would have required about 7 polymorphs for each of the 14 or so functions in this file.
What are some alternatives?
When comparing cl-parametric-types and dense-numericals you can also consider the following projects:
cffi - The Common Foreign Function Interface
numericals - CFFI enabled SIMD powered simple-math numerical operations on arrays for Common Lisp [still experimental]
specialization-store - A different type of generic function for common lisp.
dense-arrays - Numpy like array object for common lisp
polymorphic-functions - A function type to dispatch on types instead of classes with partial support for dispatching on optional and keyword argument types.