On Mon, Jan 4, 2016 at 7:22 PM, Bobby Holley <bobbyhol...@gmail.com> wrote:
> If you're forking mozilla-central, that shouldn't be a problem, right? > I am asking for some help, seeking for problems when I was trying to implement XPCOM connect with js-ctypes. So far, the garbage collection would be the biggest problem. Even though WebIDL has it's own advantages, but XPCOM are more language-neutral. On Jan 4, 2016 12:46 AM, "罗勇刚(Yonggang Luo)" <luoyongg...@gmail.com> wrote: > >> Well, cause that's not possible to implement APIs in webidl in the >> external dll with the xul >> >> On Mon, Jan 4, 2016 at 3:55 PM, Bobby Holley <bobbyhol...@gmail.com> >> wrote: >> >>> Why not use webidl to expose the apis you want in workers? >>> On Jan 3, 2016 8:08 PM, "罗勇刚(Yonggang Luo)" <luoyongg...@gmail.com> >>> wrote: >>> >>>> >>>> >>>> On Mon, Jan 4, 2016 at 6:38 AM, Bobby Holley <bobbyhol...@gmail.com> >>>> wrote: >>>> >>>>> As XPConnect module owner, I'd like to get it in record that we will >>>>> almost >>>>> certainly not take this or any support code for it (i.e. code in >>>>> js-ctypes) >>>>> in mozilla-central. >>>>> >>>>> Well, I was already have a modified version of mozilla-central, if the >>>> upstream is not possible, then I just need to maintain the fork and can not >>>> upstream the code. >>>> >>>>> On Sun, Jan 3, 2016 at 11:46 AM, Joshua Cranmer 🐧 < >>>>> pidgeo...@gmail.com> >>>>> wrote: >>>>> >>>>> > On 1/3/2016 10:24 AM, 罗勇刚(Yonggang Luo) wrote: >>>>> > >>>>> >> So that we could be able to access xpcom in worker. >>>>> >> And we could be able to implement thunderbird new msg protocol in >>>>> pure >>>>> >> javascript >>>>> >> >>>>> > >>>>> > I will point out that Thunderbird developers are already looking into >>>>> > replacing the xpcom use of message protocols, so if that is the >>>>> primary >>>>> > goal, then you are wasting your time, I am afraid. >>>>> > >>>>> > I will also point out that both JavaScript and C++ have moved on >>>>> from the >>>>> > time xpconnect was developed to the point that use of xpconnect >>>>> requires >>>>> > designing APIs that are uncomfortable to use from C++ or JavaScript >>>>> (or >>>>> > even both!), so it is a much better investment of time to move APIs >>>>> to >>>>> > newer paradigms than it is to try to develop a system that almost no >>>>> one >>>>> > really understands. >>>>> > >>>>> > -- >>>>> > Joshua Cranmer >>>>> > Thunderbird and DXR developer >>>>> > Source code archæologist >>>>> > >>>>> > >>>>> > _______________________________________________ >>>>> > dev-platform mailing list >>>>> > dev-platform@lists.mozilla.org >>>>> > https://lists.mozilla.org/listinfo/dev-platform >>>>> > >>>>> _______________________________________________ >>>>> dev-platform mailing list >>>>> dev-platform@lists.mozilla.org >>>>> https://lists.mozilla.org/listinfo/dev-platform >>>>> >>>> >>>> >>>> >>>> -- >>>> 此致 >>>> 礼 >>>> 罗勇刚 >>>> Yours >>>> sincerely, >>>> Yonggang Luo >>>> >>> >> >> >> -- >> 此致 >> 礼 >> 罗勇刚 >> Yours >> sincerely, >> Yonggang Luo >> > -- 此致 礼 罗勇刚 Yours sincerely, Yonggang Luo _______________________________________________ dev-platform mailing list dev-platform@lists.mozilla.org https://lists.mozilla.org/listinfo/dev-platform