2 May 2006 09:00
Re: Fun with packing
Niko Korhonen <niko.korhonen <at> gmail.com>
2006-05-02 07:00:09 GMT
2006-05-02 07:00:09 GMT
Lex Spoon wrote: > It seems to me that it is Boo in the bad position. What kind of > collections library does Boo have in its 70 kB DLL? What kind of XML > support? What concurrency models are available? Everything that's available in the .NET Framework and Python-style arrays, lists and hash tables. In a similar manner that Scala has everything that's available in Java standard library. > Scala's bytes buy > you a lot. It would strike me as negative progress to start worrying > more about bytes than about functionality and convenience. In a regular case I'd agree strongly, however... > That said, maybe you can be more specific about what kinds of > applications you are picturing that Scala misses out on? ...I'm thinking of small applet-like tools and CLI/GUI utilities. In Java, if you assume that all clients have a compatible JRE installed, you can write a nifty and even pretty complex tool that fits into a 10 kilobyte JAR, because only the application code must be distributed. If you write ten nifty tools in Scala, you have to redistribute the Scala runtime library with each of them. Suddenly the 10 * 10 kB download becomes 10 * 10 + 1048 kB. If you're writing a /large/ application in Scala, where the Scala runtime size is insignificant compared to the application distribution size, or the application is distributed offline, or the functionality of(Continue reading)
RSS Feed