2 ms·
"I know it is a much better VM." SBCL isn't a VM. It's a Lisp implementation with a compiler that generates native code. Admittedly, many dynamic languages f
by pc 19y ago
"I know it is a much better VM."
SBCL isn't a VM. It's a Lisp implementation with a compiler that generates native code.
Admittedly, many dynamic languages folks seem to find this concept odd. The idea that {dynamic typing, garbage collection, your favourite feature from ruby/python/perl/php} requires a VM unfortunately seems strongly ingrained.
- deleted 19y ago[deleted]
- pc 19y agoWell, if you really want to use Lisp code and Python libraries, and are prepared to write a compiler, why not do the translation in the reverse direction? Write a compiler from Python to Lisp, and bring Python libraries to Lisp. [edit: irrelevant stuff removed since parent was deleted]
- AF 19y agoIt is definitely something to consider, and while I don't think translating Python to Common Lisp would be all that difficult, I do think that getting the C libraries that Python wraps working with CL might be a significant effort. A lot of the good libraries like csv, re, etc, are implemented in C if I remember correctly.