OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.


Help: OASIS Mailing Lists Help | MarkMail Help

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index]
Re: [xml-dev] Speed in Languages and Browser Architectures

On 3/1/07, Tei <oscar.vives@gmail.com> wrote:
> Java is programing, and Javascript is scripting. Scripting is easy and
> can be created ad-hoc in heterodoxical ways, and still work.
> Programming takes a programmer, and a design, can't be ad-hoc of bad
> things happend. Creating programs is slower than creating scripting
> and much expensive.  Complex problems need programs, because script
> not-scale. Scripting is optimized for small snippets of code,.. big
> scripts make for unreadable and error prone code (but is feasible by
> very smart and talented people with huge pools of luck).

I agree to most of your points.

Just to add... Java is statically typed, whereas, JavaScript is
dynamically typed.

This has important advantages, like:
1) earlier detection of programming mistakes
2) possibilities for compiler optimizations
3) increased runtime efficiency (e.g. not all values need
to have a dynamic type)

For complex browser-based applications, I would prefer Java applets
than JavaScript.

Mukul Gandhi

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index]

News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 1993-2007 XML.org. This site is hosted by OASIS