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

Re: Speed in Languages and Browser Architectures

  • From: Rick Jelliffe <rjelliffe@a...>
  • To: xml-dev@l...
  • Date: Mon, 05 Mar 2007 11:26:08 +1100

Re:  Speed in Languages and Browser Architectures
Elliotte Harold wrote:
> derek denny-brown wrote:
>
>> Except that we are talking about the performance of XML parsers, and
>> XML is all about string processing and Java string processing is slow.
>> Java XML parsing will never be faster than a good XML parser written
>> in C.  There is just too much overhead, and C benefits from 'struct's,
>> the lack of which hinders ones ability to write certain constructs
>> efficiently in Java.   
>
> My god! Are we moving back on topic? Has this ever happened before? `-)
Until Java gets some functionality (whether some WORA based annotations 
or smarter compilers) to give or generate the equivalent of C++'s 
"intrinsic functions", it is necessarily slower than optimized C++. It 
simply will not use the pipelining capabilities of modern CPUs well.

I had an interesting email from Rob Cameron just this week:
-----------------------------------------------------------------------------------------

You wrote an interesting article on using SIMD intrinsics
for improving UTF-8 to UTF-16 transcoding performance.

Using C++ Intrinsic Functions for Pipelined Text Processing
November 7, 2005

We have been developing a much more extensive application
of SIMD techniques to XML/Unicode/character processing and
have considered the UTF-8 to UTF-16 problem in depth.   Our
methods allow us to speed up the handling of non-ASCII code
units as well as the ASCII ones.    Our performance improvements
on Intel are typically 4X (no ASCII optimization) to 25X (all ASCII),
while Power PC speed ups using the more capable Altivec
SIMD facilities are at least 8X.

Open source software applying these techniques is available
from our development website u8u16.costar.sfu.ca.

-----------------------------------------------------------------------------------------

For some reason, our LAN cannot access any systems at Simon Fraser 
University, so I have not been able to look further into the u8u16 
software.

I welcome the advent of "Efficient" XML, because some competition may 
stimulate the XML parser market, and give more impetus for research 
techniques (such as the IBM parser experiment that Noah has written 
about) to get folded into production code.

Cheers
Rick Jelliffe


[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.