Skip to content

Instantly share code, notes, and snippets.

Avatar

Shubhamkar Ayare digikar99

View GitHub Profile
@digikar99
digikar99 / deep-copy.lisp
Last active Mar 2, 2021
Common Lisp Deep Copy
View deep-copy.lisp
;; Jump to line 99
;; This is incomplete; follow the TODOs and think more to complete
(defpackage :deep-copy
(:use
:adhoc-polymorphic-functions
:cl
:alexandria)
(:local-nicknames (:cm :sandalphon.compiler-macro)
(:mop :closer-mop))
@digikar99
digikar99 / lisp-resources-digikar-2020.md
Last active Jan 13, 2021
If programming is more than just a means of getting things done for you, then Common Lisp is for you!
View lisp-resources-digikar-2020.md

Opinionated Common Lisp Resources 2020

If programming is more than just a means of getting things done for you, then Common Lisp is for you!

What is Common Lisp?

A programming language.

What is so special about it? A part of the problem of explaining

@digikar99
digikar99 / learn-from-lisp.md
Last active Nov 12, 2020
This article is in response to Emmet Boudreau’s article ‘Should We be Using Lisp for Data-Science’ published on Medium
View learn-from-lisp.md

Lisp may not be the best language for Data Science, but what can we still learn from it?

This article is in response to Emmet Boudreau’s article ‘Should We be Using Lisp for Data-Science’.

Below, unless otherwise stated, lisp refers to Common Lisp; in general, lisp refers to the lisp family of languages, just like the C-family of languages. There are functional lisps like Clojure and Scheme, and there are general purpose lisps such as Common Lisp and Racket.

The primary hurdle to using Lisp for Data Science, I believe, is the non-infix syntax common in mathematics.

But, is there anything to learn from its syntax?

@digikar99
digikar99 / cl-numericals-survey.org
Last active Sep 30, 2020
A Survey of Simple Vector Addition Performance of the Numerical Computing Libraries available in Common Lisp
View cl-numericals-survey.org

A Survey of Simple Vector Addition Performance of the Numerical Computing Libraries available in Common Lisp

Help with the following systems is required: CL-BLAPACK, MAXIMA, GSLL, XECTO

ImplementationQuicklispSpeed
ARRAY-OPERATIONSNativeMedium
AVMNative, CudaMedium
CLEMNativeSlow