Xapian ported to WebAssembly for use in web browser
olly at survex.com
Wed Jun 20 05:35:13 BST 2018
On Wed, Jun 20, 2018 at 04:54:40AM +0200, Geir Thomas Andersen | Runbox Solutions AS wrote:
> Our fork can be found at https://github.com/runbox/xapian, and the
> diff can be seen at
That's an impressively small set of changes (fewer than some platforms
and compilers have needed).
> We hope our fork can be of interest to others, and welcome any
> comments or questions.
This seems to open up a lot of potentially interesting possibilities,
and I think it probably makes sense to try to merge this in so it just
works out of the box.
It would be good to have a more satisfactory solution to the database
locking though. Maybe that can be mapped to some sort of IndexedDB lock
or named semaphore? What matters is that all writers agree on the
locking mechanism, so there's quite a lot of flexibility here.
More information about the Xapian-discuss