[Date Prev]
| [Thread Prev]
| [Thread Next]
| [Date Next]
--
[Date Index]
| [Thread Index]
Re: [xml-dev] Speed in Languages and Browser Architectures
- From: "Mukul Gandhi" <gandhi.mukul@gmail.com>
- To: Tei <oscar.vives@gmail.com>
- Date: Thu, 1 Mar 2007 22:47:42 +0530
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.
--
Regards,
Mukul Gandhi
[Date Prev]
| [Thread Prev]
| [Thread Next]
| [Date Next]
--
[Date Index]
| [Thread Index]