[geeks] javascript tutorial sought?

Sridhar Ayengar ploopster at gmail.com
Tue Aug 12 11:29:09 CDT 2008


Joshua Boyd wrote:
> On Tue, Aug 12, 2008 at 12:07:50PM -0400, Sridhar Ayengar wrote:
>> Joshua Boyd wrote:
>>> On Tue, Aug 12, 2008 at 11:39:09AM -0400, Sridhar Ayengar wrote:
>>>> der Mouse wrote:
>>>>> I basically want to turn the web browser into a (very specialized)
>>>>> "termnial emulator" designed to support card games rather than text
>>>>> "console" applications.  Perhaps JavaScript is a wrong approach?
>>>> If I were doing something like that, I'd write a Java applet.  It would 
>>>> require more horsepower than the Javascript method
>>> Why would JIT'd Java require more horsepower than interpreted Javascript?
>> JVM housekeeping overhead and garbage collection overhead, among other 
>> things.
> 
> Uhm, Javascript has housekeeping, including garbage collection, as well.

Measure it.  Java's has more overhead.

You can reduce the overhead by tuning the garbage collector in the JVM, 
but that's a lot of work.

Peace...  Sridhar



More information about the geeks mailing list