DZone
Thanks for visiting DZone today,
Edit Profile
  • Manage Email Subscriptions
  • How to Post to DZone
  • Article Submission Guidelines
Sign Out View Profile
  • Post an Article
  • Manage My Drafts
Over 2 million developers have joined DZone.
Log In / Join
Refcards Trend Reports Events Over 2 million developers have joined DZone. Join Today! Thanks for visiting DZone today,
Edit Profile Manage Email Subscriptions Moderation Admin Console How to Post to DZone Article Submission Guidelines
View Profile
Sign Out
Refcards
Trend Reports
Events
Zones
Culture and Methodologies Agile Career Development Methodologies Team Management
Data Engineering AI/ML Big Data Data Databases IoT
Software Design and Architecture Cloud Architecture Containers Integration Microservices Performance Security
Coding Frameworks Java JavaScript Languages Tools
Testing, Deployment, and Maintenance Deployment DevOps and CI/CD Maintenance Monitoring and Observability Testing, Tools, and Frameworks
Partner Zones AWS Cloud
by AWS Developer Relations
Culture and Methodologies
Agile Career Development Methodologies Team Management
Data Engineering
AI/ML Big Data Data Databases IoT
Software Design and Architecture
Cloud Architecture Containers Integration Microservices Performance Security
Coding
Frameworks Java JavaScript Languages Tools
Testing, Deployment, and Maintenance
Deployment DevOps and CI/CD Maintenance Monitoring and Observability Testing, Tools, and Frameworks
Partner Zones
AWS Cloud
by AWS Developer Relations
The Latest "Software Integration: The Intersection of APIs, Microservices, and Cloud-Based Systems" Trend Report
Get the report
  1. DZone
  2. Coding
  3. Languages
  4. Clojure-py Aims to Turn Python into Platform

Clojure-py Aims to Turn Python into Platform

Chris Smith user avatar by
Chris Smith
·
Mar. 23, 12 · Interview
Like (2)
Save
Tweet
Share
5.50K Views

Join the DZone community and get the full member experience.

Join For Free
For those of you asking yourself, "What is clojure-py?", it's an implementation of Clojure in pure Python.  The idea grew from the belief that static virtual machines and dynamic languages do not play well together because the language implementors are limited by the virtual machine's perception of what the "world should look like."

We believe that with a proper dynamic JIT (like pypy) a version of clojure running on a dynamic VM can outperform its JVM and CLR counterparts.  Aside from that, there are many Python libraries like PySide (Qt GUI), numpy, scipy, and stackless that do not have JVM counterparts, or at least the Python implementations are easier to use and learn. clojure-py will integrate tightly with thy Python VM and will be able to use all of these libraries.

-- Clojure-py

So now you're probably asking yourself, "Why should I care?"  Well, Clojure has strengths in areas that Python doesn't, so a combination of the two could bring the best of both worlds.

Metaprogramming: Clojure's Lisp heritage makes it extremely suitable for macro-based metaprogramming because it follows the "code is data" philosophy.

Persistent Immutable Data Structures: Clojure has a set of immutable lists, vectors, sets and maps, and since they can't be changed, a new collection is created each time something is added or removed.

Clojure-py is available for download on Github.  There's also a roadmap for the project that has a list of items marked "isolated change," which are changes designed to be easy for newcomers, if you'd like to help the project along.
Python (language)

Opinions expressed by DZone contributors are their own.

Popular on DZone

  • 10 Most Popular Frameworks for Building RESTful APIs
  • 10 Things to Know When Using SHACL With GraphDB
  • Java Concurrency: LockSupport
  • Best Practices for Setting up Monitoring Operations for Your AI Team

Comments

Partner Resources

X

ABOUT US

  • About DZone
  • Send feedback
  • Careers
  • Sitemap

ADVERTISE

  • Advertise with DZone

CONTRIBUTE ON DZONE

  • Article Submission Guidelines
  • Become a Contributor
  • Visit the Writers' Zone

LEGAL

  • Terms of Service
  • Privacy Policy

CONTACT US

  • 600 Park Offices Drive
  • Suite 300
  • Durham, NC 27709
  • support@dzone.com
  • +1 (919) 678-0300

Let's be friends: