You should be able to reuse ODF-processing C++ code on the web, using Emscripten, which will compile C++ to JavaScript (through LLVM). Maybe this could be useful for WebODF? If so I'd be happy to help out!
LPC: Michael Meeks on LibreOffice and code ownership
Posted Nov 9, 2010 21:38 UTC (Tue) by oever (subscriber, #987)
[Link]
The grunt of the code is interacting with the browser DOM and the speed there is limited by the browser. But there are a few areas where numerical speed is useful. WebODF does unzipping of the document in the browser. This is not a performance problem for regular documents. But for documents with more then a hundred pages, a speedup might be noticable. Perhaps you can speed up the javascript inflate and deflate functions.