[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [MirageOS-devel] Irmin and js_of_ocaml


  • To: Thomas Leonard <talex5@xxxxxxxxx>, "mirageos-devel@xxxxxxxxxxxxxxxxxxxx" <mirageos-devel@xxxxxxxxxxxxxxxxxxxx>
  • From: Drup <drupyog+caml@xxxxxxxx>
  • Date: Mon, 16 Feb 2015 15:15:42 +0100
  • Delivery-date: Mon, 16 Feb 2015 14:15:52 +0000
  • Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=zapps768; d=zoho.com; h=message-id:date:from:user-agent:mime-version:to:subject:references:in-reply-to:content-type; b=ZDPnIDMrviwA0JGKb2WhQ+bidVoBpBiu9yYLo4HqKl5uETGhWGB0YcLVBY837gZfjnhhELJo7MP+ fVEV361GMHCosL/W5FKVSVBE6DD61HhHkCzhK904/HAqVJVqSnOS
  • List-id: Developer list for MirageOS <mirageos-devel.lists.xenproject.org>

1) Irmin on the browser would be very useful!
2) No opinion on the nocrypto usage in Irmin, maybe it should be isolated away. However we have a bigint implementation in javascript in order to have num in js_of_ocaml, so it should be possible to reuse that for zarith. Having zarith in js_of_ocaml would be great too (several person expressed interests about that).

Le 16/02/2015 15:03, Thomas Leonard a écrit :
Is it possible to use Irmin under js_of_ocaml? I tried it, but I got
this in the browser console at startup:

   uncaught exception: 0,0,Failure,ml_z_init not implemented

It looks like Irmin pulls in Nocrypto (and thus zarith) only for the
SHA1.digest function. There are also lots of warnings about missing
cstruct stubs.

I was thinking of running Irmin in the browser with HTML 5 storage as
a backend, but perhaps it would be easier to keep Irmin on the server.
Any suggestions?





_______________________________________________
MirageOS-devel mailing list
MirageOS-devel@xxxxxxxxxxxxxxxxxxxx
http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.