[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: JavaScript (was Re: Whither XML ?)

  • From: "Pete Cordell" <petexmldev@codalogic.com>
  • To: "Michael Kay" <mike@saxonica.com>,<xml-dev@l...>
  • Date: Sat, 13 Nov 2010 09:20:12 -0000

Re:  JavaScript (was Re:  Whither XML ?)
Thanks for the interesting comments.

Re:

Original Message From: "Michael Kay"
> On 11/11/2010 12:34, David wrote:
>> My concern about JavaScript in the browser as the "VM of the Browser" is 
>> its lack of binary data support.
>
> I think the poor support for primitive data types is one valid objection. 
> ...

I don't think the x86 instruction set is particularly strongly typed. 
Strong typing is a property of the compiler, so I don't think this rules 
Javascript out of being the 'machine code'.

To do a Roger, I think the conclusion is that Javascript needs better 
support for processing binary data, although a PNG download based hack 
provides much of what is required.

Thanks,

Pete Cordell
Codalogic Ltd
Interface XML to C++ the easy way using C++ XML
data binding to convert XSD schemas to C++ classes.
Visit http://codalogic.com/lmx/ or http://www.xml2cpp.com
for more info

----- Original Message ----- 
From: "Michael Kay" <mike@saxonica.com>
To: <xml-dev@lists.xml.org>
Sent: Thursday, November 11, 2010 3:16 PM
Subject: Re:  JavaScript (was Re:  Whither XML ?)


>
> On 11/11/2010 12:34, David wrote:
>> My concern about JavaScript in the browser as the "VM of the Browser" is 
>> its lack of binary data support.
>
> I think the poor support for primitive data types is one valid objection. 
> Another, expressed eloquently by Steven Pemberton in his talk at XML 
> Holland this morning, is that a language with weak data typing is 
> increasingly hard to debug as the size of the program increases: the 
> larger the program becomes, the greater the distance between the point at 
> which a program is wrong and the point at which the symptoms appear; so 
> development effort is much worse than linear with the size of the program. 
> This effect is very noticeable also with XSLT, where adding type 
> declarations to variables and parameters is the first thing I do when 
> asked for help in debugging a user stylesheet that lacks such 
> declarations. This objection is reduced a little if one regards Javascript 
> as an intermediate language which users don't actually write by hand. But 
> if one were designing a language for that purpose, Javascript isn't 
> exactly the language you would come up with.
>
> Michael Kay
> Saxonica
>
>
> _______________________________________________________________________
>
> XML-DEV is a publicly archived, unmoderated list hosted by OASIS
> to support XML implementation and development. To minimize
> spam in the archives, you must subscribe before posting.
>
> [Un]Subscribe/change address: http://www.oasis-open.org/mlmanage/
> Or unsubscribe: xml-dev-unsubscribe@lists.xml.org
> subscribe: xml-dev-subscribe@lists.xml.org
> List archive: http://lists.xml.org/archives/xml-dev/
> List Guidelines: http://www.oasis-open.org/maillists/guidelines.php
>
> 





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


PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
 

Stylus Studio has published XML-DEV in RSS and ATOM formats, enabling users to easily subcribe to the list from their preferred news reader application.


Stylus Studio Sponsored Links are added links designed to provide related and additional information to the visitors of this website. they were not included by the author in the initial post. To view the content without the Sponsor Links please click here.

Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.