News for hackers. Stuff that matters.
Re:Java-based Startups, do they exist? by mironathetin on Tuesday September 04, 2007 @01:33PM (#50042)
I know java since ever and when I think code, I think java. Thats why I use it. For me it is the most productive environment.

Why do you ask at all? If you know java, use it. If you know c (well, not c) - if you know python, use it. If you have to learn something, because you don't know any language, get a job first and think about a startup after you dream in (put here any language).

Any scripting language basing on java will be slower than java. My opinion is: if you can avoid another software layer, avoid it. It makes you depend on more code that you don't control, slows down your apps.

Re:Java-based Startups, do they exist? by centipede on Tuesday September 04, 2007 @07:23PM (#50238)
Those other languages that run on the JVM are not based on Java. They do not add another layer. They run on the same layer as Java.

They may be slower than Java nonetheless - because the JVM is designed for running Java.

Re:Java-based Startups, do they exist? by mironathetin on Wednesday September 05, 2007 @05:35AM (#50385)
With scripting language I had something like jython in mind. It is indeed another code-layer ontop of java to interpret the scripts. And, not unlike python, its dead slow in some cases.

Someone reported about a factor of 100 for java against Ruby. jython is only 50. But this is still so bad that I would not waste my time.

Re:Java-based Startups, do they exist? by brlewis on Wednesday September 05, 2007 @08:40AM (#50414)
You may be worrying too much about speed. Remember, a lot of people have written scalable web sites using PHP, so clearly a slow front-end language is not a big liability.

BRL uses Kawa Scheme, so the code is compiled to JVM bytecodes. The result is slower than C implementations of Scheme, but still faster than PHP.

Re:Java-based Startups, do they exist? by mironathetin on Wednesday September 05, 2007 @12:14PM (#50511)
I don't worry about speed, except we are talking about a factor 50 or even 100. But one thing must be clear: The quick development that is possible with very high level languages is an advantage for the developers. They have quick time to market, fast prototyping etc. The one who pays is their client! This is indeed the wrong point of view!

I think it is desirable to give clients the best possible user experience and execution speed is indeed a valuable point, especially in the web.

A friend of mine still codes assembly if he feels its necessary. I 'am not that fanatic (in facts he is always making fun of java) - but, once you have used his number crunching algos, you'll never go back.

Re:Java-based Startups, do they exist? by michaelneale on Tuesday September 04, 2007 @10:17PM (#50297)
Scala usually results in much faster code then Java. Of course it isn't a "script" language in the usual sense, but are much more modern static and strong typed language (with functional leanings).