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

Re: any plans to port Saxon CE to asm.js?

Subject: Re: any plans to port Saxon CE to asm.js?
From: Michael Kay <mike@xxxxxxxxxxxx>
Date: Sun, 10 Nov 2013 09:15:46 +0000
Re:  any plans to port Saxon CE to asm.js?
We'll wait and see what tooling emerges. Saxon CE depends on GWT, and if GWT
starts supporting this target, or if some equivalent emerges that supports it,
then we can consider it.

It's good to see that someone is starting to think about a target language for
compiling browser applications that makes more sense in this role than
Javascript.

In principle if the Java VM written in LLVM is up to the job, then all we need
to do is compile Saxon-CE to a JAR file and run it using asm.js code to
execute the LLVM code which executes the Java bytecode. I fear that with three
levels of interpretation, any performance advantages might disappear quite
quickly, but who knows? Anyone want to try it? It's open source, after all.
There are also a few practicalities like providing a cut down version of the
OpenJDK class library that only contains the things Saxon CE actually needs -
this is something GWT does extremely well.

Michael Kay
Saxonica

On 9 Nov 2013, at 03:37, Lars Huttar <huttarl@xxxxxxxxx> wrote:

> Having read about the impressive performance gains for applications
> running on asm.js
> (http://ejohn.org/blog/asmjs-javascript-compile-target/), I'm wondering
> whether there are any plans to port Saxon (CE) to that platform.
> 4-10x faster is a big deal!
> I don't know what tools are available from translating from Java or C#
> to LLVM (from which Emscripten will translate to asm.js). But I thought
> it was worth asking about.
>
> Lars

Current Thread

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