Live data from Hacker News

Java-based Startups, do they exist?

news.ycombinator.com

21–30 of 39 posts

Re: Java-based Startups, do they exist?

#25

Just curious do people still hack in ColdFusion? I haven't heard from that language in a looong time.

Recently, I had to make my way through some ColdFusion code because my job's external and staging websites (which haven't been updated in years prior to when I got there) use it.

My advice: Run far away from ColdFusion. It does suck as much as you've heard, if not more. I don't know why MySpace is using it (if they still are).

Re: Java-based Startups, do they exist?

#27
post #23
post #20

I use the JVM, but not the Java language. I extended Scheme to make BRL, http://brl.codesimply.net/ I use it in http://ourdoings.com/

Which Scheme are you using?

Kawa Scheme. I'm stuck at release 1.7 though. There are many improvements in 1.8, but 1.7 is so pain-free that I haven't been motivated to get with the times.

Re: Java-based Startups, do they exist?

#28
post #10
post #9

We're using both Java and Ruby. We started out with Ruby and Rails, which worked great for the prototype but we have some very processor-intensive operations and the Ruby code won't scale. Rewriting these in Java produced an instant 100-fold performance improvement, so going forward we're doing that stuff in Java. On the other hand, we have some text-processing stuff where Ruby really shines. Having used Ruby for tha…

I actually like the regexp implementation of Java, and it is more complete than in most other languages. There are also many options for XML parsers. Where does the advantage for Ruby lie?

Ruby is terser, and yet still very readable. In addition, you will not be getting any performance gain by using a JAVA regex over a ruby regex unless you are using a DFA implementation (if there is one for JAVA), in which case you won't get text capturing.

How many lines of Java code would it take you to read a file given on the command line and print out the prefixes of words ending in 'ing'

ARGF.readlines.each do |line| puts m[1] if( m = line.match(/(\w+)(?:ing)$/) ) end

Re: Java-based Startups, do they exist?

#29
We use Java. It seems a great alternative for us but you do need to know how to work with it and how to integrate it.

We didn't use ruby because it would take us some time to learn it, and I wasn't sure on the maturity. I also prefer strong typing. I have experience with C, Smalltalk, C++, Perl and Java.

Re: Java-based Startups, do they exist?

#30
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.

Post reply on HN