View Single Post
  #8 (permalink)  
Old June 12th, 2008, 10:49 AM
mhkay's Avatar
mhkay mhkay is offline
Wrox Author
Points: 18,487, Level: 59
Points: 18,487, Level: 59 Points: 18,487, Level: 59 Points: 18,487, Level: 59
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
Join Date: Apr 2004
Location: Reading, Berks, United Kingdom.
Posts: 4,962
Thanks: 0
Thanked 292 Times in 287 Posts

I don't have any figures, either my own or third parties', comparing the Saxon processor with Intel. I get the impression they have concentrated more on low-level optimizations (close to the hardware and memory management) whereas I have concentrated more on algorithmic optimizations. The expected outcome from that would be that the Intel processor performs better on simple transformations and Saxon performs better on complex ones. But it would be nice to have evidence to see whether that theory is correct.

Most products these days, Saxon and Intel included, have a compile-time phase that generates some kind of executable representation, which is then executed at run-time by some kind of interpreter or virtual machine. Generating machine-level instructions, if it is done at all, is usually done at the last minute (just-in-time compilation). There really isn't a hard-and-fast distinction between compilers and interpreters any more.

Michael Kay
Author, XSLT Programmer's Reference and XPath 2.0 Programmer's Reference
Reply With Quote