jvm-languages

UI design alternatives with Groovy/JRuby/Jython or other JVM languages ?

For a developer in the Java eco-system, there is a handful of choices when it comes to UI design. The best known are: Swing (preferred when used with Netbeans and its GUI builder) Eclipse's SWT (mostly preferred for Eclipse plug-ins) Now, are there any frameworks or design alternatives to this which target JRuby / Groovy / Jython or ...

Recursive overloading semantics in the Scala REPL - JVM languages

Using Scala's command line REPL: def foo(x: Int): Unit = {} def foo(x: String): Unit = {println(foo(2))} gives error: type mismatch; found: Int(2) required: String It seems that you can't define overloaded recursive methods in the REPL. I thought this was a bug in the Scala REPL and filed it, but it was almost instantly closed with...

Groovy advantages over Jython or Jruby?

Why would I choose to use Groovy when I could use Jython or Jruby? Does the language provide any inherent advantages to make up for the fact that Jython and Jruby skills are applicable to their parent languages outside of the JVM? Keep in mind that I purposely keeping this question generic, but if there are any advantages that exist in...

J2ME development without Java?

I'm making my first foray into the J2ME world. I'd prefer to use a functional language to do the development. Scala used to have CLDC support, but it's no longer maintained. Bigloo seems to have disappeared. Interpreters (such as Jython) are a no-go, since J2ME apps have to be small (at least, mine has to be). I would like to know of ...

Sun branded competitor to .NET using the JVM

There have been many JVM languages in the recent few years including Javascript, Python, Ruby etc. (full list here: List of JVM Languages). My question is this: why has Sun not come out with a full suite of languages for the JVM just like Microsoft's .NET? With the new version of the JVM, they can make any necessary adjustments for dynam...

Is anyone using Scala in anger (and what advice for a Java programmer)?

I've been a Java programmer for over 10 years since starting off with Smalltalk. It's my opinion that next big languages are likely to be ones which run on the ubiquitous Java Virtual Machine. I'd like to take advantages of some of the features that Scala (among other languages) has - case statements for class hierarchies, closures, type...

Ruby/Rails thread safety

I have been hacking with Ruby from time to time, but I haven't done anything big or multithreaded with it. I have heard that MRI only supports green threads and JRuby supports native threads via JVM. However, I stumble upon comments on blogs and discussion groups which say that "Rails is not thread-safe" or that Ruby itself is not thread...

What is your preferred scripting language in java world (scripting language on JVM) and way?

What is your preferred scripting language in java world (scripting language on JVM) and way? When do you prefer your scripting language over java (in what situations for example for prototyping)? Do you use it for large projects or for personal projects only? ...

Can Jython replace Java?

So many server side and the mobile Java applications use the native Java language for Java. Can we use Jython instead to build the enterprise applications, e.g. websites, application servers etc. Also what do you feel about Java ME applications in Jython. P.S. Comments on question also welcome. ...

Difference between JVM implementations

Where do JVM Implementations differ (except licensing)? Does every JVM implement Type Erasure for the Generic handling? Where are the differences between: JRockit IBM JVM SUN JVM Open JDK Blackdown Kaffe ..... Deals one of them with Tail-Call-Optimization? ...

is there statically typed language with nice lambda support for the JVM?

I'd quite like to write some Google App Engine apps, but I'm a c# developer by trade, and as such I like static typing and Linq (or at least extensions + lambdas + predicates, if not query syntax). Is there a language I can use on the JVM that offers these features? ...

RoR on GAE?

Since Google App Engine will soon full support Java: Would it be possible to run Ruby on Rails on Google App Engine? Or the limitations imposed by the AppEngine runtime will affect the JRuby implementation? What about other languages such as Groovy, Clojure, Scheme? Are there any effort to support .net and C# in JVM?? I think this wo...

Can Scala survive without corporate backing?

I was wondering whether Scala will get the takeup it deserves without explicit corporate backing (I was thinking by Sun/Oracle but I suppose it could be someone else, such as Google). With Sun's recent decision not to include closures in JDK7, couldn't they put their weight behind Scala as the Java alternative for those wishing to have ...

Enterprise language, compiled or for JVM

We are currently developing carrier grade telecom applications in C++, Rational Rose and Java to run on an embedded platform based on Enea OSE which provides interfaces for the above three languages (actually C, Rose and java). I'm interested in increasing the productivity by choosing other more productive languages. I would like your...

Should I study Scala?

Hi, I am an experienced C++ programmer with average Python skills. The reasons I studied Python in the first place were: to get a different perspective on programming (static vs dynamic, interpreted vs compiled, etc) to increase the breadth of projects that I can work on (Python allows me to do web development, develop for Symbian phon...

Which JVM language suits my needs?

I want to learn some JVM language, but there are so many EDIT : How to choose a language between all the JVM languages? As for my needs, I just want to learn something new, maybe to currently use it for some hobby-project, but would love it if the skills acquired will be useful for big projects in the future. still would love to know ...

Stuck with JVM, Sick of Java... Where to go?

For the next 3 years I will have to work with the JVM (project requirement) using a very specific third party API. They want Java but I've been given leeway to move away from Java. I was hoping we could move back to the .NET framework so I could develop code in F#, being absolutely in love with OCaml. .NET development has been struck ...

Can you run Jython on the JVM that runs on Pulse smart pens?

I'm looking at developing an application that takes advantage of the Pulse smart pen. I would rather do it in python than java. Its not clear what version of the jvm runs on the pen, as evidence here in the tech specs Are there limitations on whether or not jython and jruby will run on mobile version of the jvm? ...

OCaml for JVM. Is there any?

I took a look at some new languages for JVM. Two of them are gathering much interest these days: Clojure and Scala. But in my humble opinion, both of them are not ideal. (Let's keep it a speculation, cause I don't want to damage myself discussing..) What I actually see as a tricky move is MS's invention - F#. Simply moving the OCaml lan...

Which could become a strong alternative JVM language: Scala, Clojure, Fan, JavaFX Script, or other?

I am currently deciding on an alternative JVM language to port an existing Swing desktop application written in Java 6. Given that JavaFX specifically targets this kind of application, it would seem that my best option is JavaFX Script. However, what about other kinds of applications and libraries? Would JavaFX Script be the best choice...