Forums > Java

Alternative jvm languages

April 23, 2013 | 4:57 pm

I’m curious if anyone has played around with languages other than java on the jvm for writing max/msp externals? I compiled some simple externals using Scala this morning, and it seems, to me at least, that could be interesting to write msp objects in a functional manner.


April 23, 2013 | 10:59 pm

A couple here:

https://github.com/cassiel/net.loadbang.jython

https://github.com/cassiel/net.loadbang.clojure

Adam Murray has also done Ruby.

I had a look at Scala several years ago and concluded that, while it compiles to the JVM, it can’t be embedded as as "live" interpreter, which is what I was after.


April 25, 2013 | 4:01 pm

Clojure + nrepl is a great combination.


November 24, 2013 | 10:26 am

I’m writing mxj patches in Scala and it works fine. The trick is to make sure the Scala library (scala-library.jar) is on your class path.


November 24, 2013 | 10:56 am

Are you precompiling subclasses of `MaxObject` beforehand, or somehow loading Scala source into a dynamic system?


January 4, 2014 | 10:34 am

https://github.com/cassiel/net.loadbang.clojure

+1

This is great!


Viewing 6 posts - 1 through 6 (of 6 total)