GitHub - basilisp-lang/basilisp: A Clojure-compatible(-ish) Lisp dialect hosted on Python 3 with seamless Python interop (github.com)
from HaraldvonBlauzahn@feddit.org to programming@programming.dev on 06 Jun 19:54
https://feddit.org/post/30897817

I posted this because I think it is really cool: Clojure is a great and extremely elegant language, which has a powerful approach to concurrency: Data is immutable by default, like Python’s strings and tuples. (Here more about this idea.)

Because this Clojure dialect runs in the Python bytecode interpreter, it has via its interop features access to all of Python’s libraries.

And there is one more advantage, which is less obvious: Python can be extended with native extension modules via a C API. And this does not only allows code written in C and C++ to be called (via boost::python and pybind11), but also code written in Rust - because Rust supports calls via the C ABI, and this can be used in comfortable Python wrappers like PyO3, in the same way as C++ with pybind11. And the concrete advantage of Rust here is that it is a far better match to Clojure’s immutability-by-default, and its safe concurrency support.

#programming

threaded - newest