From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from localhost (unknown [IPv6:2602:4b:a4e8:5700:12bf:48ff:fe7c:5584]) by hurricane.the-brannons.com (Postfix) with ESMTPSA id CB8E677AC0 for ; Sun, 22 Dec 2013 10:36:58 -0800 (PST) From: Chris Brannon To: edbrowse-dev@lists.the-brannons.com References: <20131118134511.eklhad@comcast.net> <52B5D75A.8020804@free.fr> <87sitkdh98.fsf@mushroom.PK5001Z> <20131222164813.GA12841@toaster.adamthompson.me.uk> Date: Sun, 22 Dec 2013 10:36:56 -0800 In-Reply-To: <20131222164813.GA12841@toaster.adamthompson.me.uk> (Adam Thompson's message of "Sun, 22 Dec 2013 16:48:13 +0000") Message-ID: <87lhzcd96f.fsf@mushroom.PK5001Z> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain Subject: Re: [Edbrowse-dev] Javascript support X-BeenThere: edbrowse-dev@lists.the-brannons.com X-Mailman-Version: 2.1.17 Precedence: list List-Id: Edbrowse Development List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 22 Dec 2013 18:36:59 -0000 Adam Thompson writes: > "SpiderMonkey now provides a fully C++ interface, > so embedders relying on embeddability in C projects will have to convert to > C++, or implement their own adapter code." Hi, Thank you ever so much for doing the research. Years ago, we batted around the idea of rewriting edbrowse in C++. Those string objects would sure be nice, and after all, edbrowse is very string-intensive. We also use lists in some places, and we could use STL's list container instead. But it never happened. C++ is a complicated beast. The people who work on edbrowse are more comfortable with C. I used to be decent with C++, but I've managed to forget most of what I knew. So I'm not chomping at the bit to do this. I wonder how difficult the adapter code will be? I assume it'll just be tedious. Happy Holidays, -- Chris