We closed this forum 18 June 2010. It has served us well since 2005 as the ALPHA forum did before it from 2002 to 2005. New discussions are ongoing at the new URL http://forum.processing.org. You'll need to sign up and get a new user account. We're sorry about that inconvenience, but we think it's better in the long run. The content on this forum will remain online.
IndexDiscussionGeneral Discussion,  Status › What are implementations
Page Index Toggle Pages: 1
What are implementations? (Read 815 times)
What are implementations?
Sep 1st, 2009, 3:10am
 
Hi there

I'm just wondering, what is mean't by implementations?

Things like processing.js and ruby-processing... what are they?

I understand that processing.js allows for display of sketches online without a plugin... but how does it work? How does the code differ?

What are the benefits of ruby-processing and what is it?
Re: What are implementations?
Reply #1 - Sep 1st, 2009, 9:05am
 
The idea is to take the Processing reference page and to try to implement most of it, as faithfully as possible, in another language: JavaScript, Ruby, Python, Scala, Groovy, Clojure, and so on.
Ideally, one can take any of the official sample and run it unchanged. In practice, some languages are too different of Java, so the code needs to be adapted, but still uses background(), ellipse(), etc.

The interest? Well...
Processing.js was basically a proof of concept, to show it was possible. I think it was also made for fun, like most of these implementations, and it has the advantage of being more lightweight (and pervasive) than a Java application.
Other implementations, I suppose, are made for similar reasons, and because people like the simple and effective API, but prefer to use their favorite language instead.
Page Index Toggle Pages: 1