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

Re: Pushing all the buttons


perl asn per
Elliotte Rusty Harold writes:

> The problem with this approach is that it's very platform specific,
> as binary approaches have always been.

Not if its based on a platform agnostic binary data serialization, see 
below.

> I suspect Sun's approach will
> work well for Java. But will it work well for C? What's the
> performance impact when byte orders need to be flipped when
> deserializing? I doubt very much Sun can get an order of magnitude
> improvement on all platforms of interest, much less with all
> documents of interest. In fact, I wouldn't be surprised if their data
> optimizations for Java actually decrease performance for programs
> written in Perl, C, or other languages.
>
For the record, there's nothing Java specific about the encoding. Data 
is encoded using ASN.1 Packed Encoding Rules (PER). ASN.1 was around 
long before Java, PER is not based on Java serialization. I would 
expect a C based ASN.1 PER library to perform as well as a Java 
equivalent.

> I very much suspect Sun's proposal would have the "accidental" effect
> of strongly encouraging developers to use Java. Of course, it will
> work if you use C# or Perl, but it will work better with Java.

Of course Sun will strive to make its implementation best-of-breed, the 
old Sun mantra "Cooperate on standards, compete on implementation" 
still applies. If this encourages more developers to use Java then 
that's great. However, there's nothing in the fast web services work 
that skews the performance characteristics in favor of Java over other 
languages.

Regards,
Marc.

--
Marc Hadley <marc.hadley@s...>
Web Technologies and Standards, Sun Microsystems.


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.