News for hackers. Stuff that matters.
Re:Using SBCL Common Lisp as a Dynamic Library by abrax3141 on Saturday April 16, 2022 @09:05PM (#31057515)
The opposite —- calling python libraries directly from Lisp, like you can from Julia — would be much more useful. No adult wants to use python, but for some reason it is replete with yummy libraries.
Re:Using SBCL Common Lisp as a Dynamic Library by wyager on Saturday April 16, 2022 @09:56PM (#31057758)
Python has trillions of libraries, but in my experience many (most?) of them are so bad that you're better off not trying to use them.
Re:Using SBCL Common Lisp as a Dynamic Library by abrax3141 on Sunday April 17, 2022 @06:41PM (#31065225)
Really? I work at a large scientific facility surrounded by serious physicists and computer scientists, and pretty much everyone there uses python and the python mathematical, machine learning, and scientific libraries. (Except me...I use Lisp, hence my desire to call python so that I can use the code I'm surrounded by without having to do horrible hacks like passing files or home-brew stream sharing!)
Re:Using SBCL Common Lisp as a Dynamic Library by maydup-nem on Monday April 18, 2022 @07:05AM (#31069276)
guess they are using the good ones huh
Re:Using SBCL Common Lisp as a Dynamic Library by reikonomusha on Saturday April 16, 2022 @09:32PM (#31057646)
Re:Using SBCL Common Lisp as a Dynamic Library by pritambaral on Monday April 18, 2022 @12:13PM (#31072695)
Re:Using SBCL Common Lisp as a Dynamic Library by pabs3 on Saturday April 16, 2022 @09:48PM (#31057716)
That sounds kind of similar to Hy:

https://github.com/hylang/hy

Re:Using SBCL Common Lisp as a Dynamic Library by abrax3141 on Sunday April 17, 2022 @06:32PM (#31065128)
Hy is Lisp embedded in Python. Most embedded lisps are bad lisps (or at least not CL compliant). Also lisp in python is definitely going to be slower than Lisp, which is generally fully compiled: https://programming-language-benchmarks.vercel.app/lisp-vs-p...