Earlier quoted context omitted.
> I'm curious, can PyPy JIT-compile Python bytecode by itself, or does it require the source to be in Python? Considering you can run bytecode-only Python, it would be weird if Pypy's JIT only worked from source. Beyond that, they're apparently implementing Clojure on top of (in) Python, so they won't get the JIT for free (the interpreter code will be JITed, but the Clojure code won't be unless their runtime compiles…
From the article > clojure-py is an implementation of the Clojure language in Python, compiling Clojure code to bytecode for Python’s virtual machine Which means both the compiler (mostly an AST walk from the look of clojure/lang/compiler.py) and the Python bytecode it produces should benefit from PyPy's JIT.
Python becomes a platform. Thoughts on the release of clojure-py.
21–30 of 33 posts
Re: Python becomes a platform. Thoughts on the release of clojure-py.
#22I'd argue that clojure-py is important for a different reason: Clojure is slowly sneaking up on every popular runtime: JVM -> Clojure Javascript -> ClojureScript Erlang VM -> Joxa CPython/PyPy -> Clojure-py In a few years clojurers/lispers will be able to target multiple platforms with one simple language. As a pythonista myself, I used to feel overcome with nausea just by looking at Clojure/Lisp code. However, Erlan…
> Joxa (pronounced 'jocksah') isn't Erlang, though its very compatible. Its not Clojure though there is plenty of shared syntax. It's not Common Lisp though that is the source of the macro system. While Joxa shares elements of many languages, it is its own specific language. of all these languages, and knowing these languages will help you get up to speed with Joxa, but it is its own unique language.
Re: Python becomes a platform. Thoughts on the release of clojure-py.
#23Earlier quoted context omitted.
Sadly, I believe all of these ports run slightly different dialects of Clojure (beyond the things that must be different, like interacting with code written in other languages).
ClojureCLR and ClojureScript are not Clojure dialects - they are Clojure implementations. I'm not sure what the creators of clojure-py intend and Joxa is not Clojure as far as I can tell.
[1] From the website: "[Joxa's] not Clojure though there is plenty of shared syntax."
Re: Python becomes a platform. Thoughts on the release of clojure-py.
#24Re: Python becomes a platform. Thoughts on the release of clojure-py.
#25Earlier quoted context omitted.
Sadly, I believe all of these ports run slightly different dialects of Clojure (beyond the things that must be different, like interacting with code written in other languages).
ClojureCLR and ClojureScript are not Clojure dialects - they are Clojure implementations. I'm not sure what the creators of clojure-py intend and Joxa is not Clojure as far as I can tell.
Re: Python becomes a platform. Thoughts on the release of clojure-py.
#26Re: Python becomes a platform. Thoughts on the release of clojure-py.
#27Absent is too strong a word, surely.
http://bitshaq.com/2011/07/14/basic-intro-to-python-meta-pro...
Re: Python becomes a platform. Thoughts on the release of clojure-py.
#28The idea of a python implementation becoming host to other languages is somewhat interesting. Python has had a good interop story with the vibrant ecosystem of C libraries and is pretty good at being cross-platform as well. However, I'm not sure Clojure is going to impress Python developers for the reasons the author states. Python has metaprogramming and it has an immutable type (the tuple). However, Python has reje…
As a Python programmer, I agree with most of your assessment. Most Pythonistas I know have chosen Haskell as their primary functional language (and Haskell is the PL I'm constantly working on mastering). But this clojure-py project is very interesting to me. I've heard so many positive things about Clojure and Lisp in general. I've been wanting to explore Clojure, but I've been holding off because I knew I would need…
I'm currently learning Haskell too. My ideal functional language would be one similar to Haskell which runs on the Python VM and has good interoperability with Python.
Re: Python becomes a platform. Thoughts on the release of clojure-py.
#29I'd argue that clojure-py is important for a different reason: Clojure is slowly sneaking up on every popular runtime: JVM -> Clojure Javascript -> ClojureScript Erlang VM -> Joxa CPython/PyPy -> Clojure-py In a few years clojurers/lispers will be able to target multiple platforms with one simple language. As a pythonista myself, I used to feel overcome with nausea just by looking at Clojure/Lisp code. However, Erlan…
I doubt it, unless either their code doesn't use any external libraries, or Clojure writes a library abstraction layer containing all the Java/Python/etc libraries.
Re: Python becomes a platform. Thoughts on the release of clojure-py.
#30I'd argue that clojure-py is important for a different reason: Clojure is slowly sneaking up on every popular runtime: JVM -> Clojure Javascript -> ClojureScript Erlang VM -> Joxa CPython/PyPy -> Clojure-py In a few years clojurers/lispers will be able to target multiple platforms with one simple language. As a pythonista myself, I used to feel overcome with nausea just by looking at Clojure/Lisp code. However, Erlan…
> In a few years clojurers/lispers will be able to target multiple platforms with one simple language. I doubt it, unless either their code doesn't use any external libraries, or Clojure writes a library abstraction layer containing all the Java/Python/etc libraries.
I meant that things like ClojureScript One (if you don't know it, please take a look, it's worth it) will be possible across a variety of domains. Simple interoperability between platforms, same data structures, fewer context switches, Clojure all the way down.