On 18/11/2015 16:04, David Rajchenbach-Teller wrote:
> Well, the main problem is that js-ctypes is very hard to use, even
> harder to use without causing memory leaks or crashing the process.
> Think the worst parts of both C and JavaScript together.

Are these problems inherent in ctypes or is it just that our
implementation is broken?

> Cheers,
>  David
> 
> On 18/11/15 08:57, Philip Chee wrote:
>> On 14/11/2015 18:21, David Rajchenbach-Teller wrote:
>>> Actually, Sqlite.jsm does most of its work off the main thread.
>>>
>>> But yes, it would clearly be possible to reimplement Sqlite.jsm using
>>> js-ctypes for workers. If you wish to work on this, I can try and help
>>> mentoring.
>> 
>> I thought people were being encouraged to avoid using js-ctypes because
>> of "problems". However nobody has gone into detail about what those
>> alleged problems are.
>> 
>> Phil
>> 


-- 
-==-
Philip Chee <phi...@aleytys.pc.my>, <philip.c...@gmail.com>
http://flashblock.mozdev.org/ http://xsidebar.mozdev.org
Guard us from the she-wolf and the wolf, and guard us from the thief,
oh Night, and so be good for us to pass.
_______________________________________________
dev-platform mailing list
dev-platform@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-platform

Reply via email to