Return-Path: X-Original-To: apmail-couchdb-dev-archive@www.apache.org Delivered-To: apmail-couchdb-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 0214EE08A for ; Fri, 25 Jan 2013 16:56:04 +0000 (UTC) Received: (qmail 72543 invoked by uid 500); 25 Jan 2013 16:56:03 -0000 Delivered-To: apmail-couchdb-dev-archive@couchdb.apache.org Received: (qmail 72508 invoked by uid 500); 25 Jan 2013 16:56:03 -0000 Mailing-List: contact dev-help@couchdb.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@couchdb.apache.org Delivered-To: mailing list dev@couchdb.apache.org Received: (qmail 72500 invoked by uid 99); 25 Jan 2013 16:56:03 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 25 Jan 2013 16:56:03 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of ryan.ramage@gmail.com designates 209.85.219.42 as permitted sender) Received: from [209.85.219.42] (HELO mail-oa0-f42.google.com) (209.85.219.42) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 25 Jan 2013 16:55:57 +0000 Received: by mail-oa0-f42.google.com with SMTP id j1so681275oag.1 for ; Fri, 25 Jan 2013 08:55:37 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:x-received:in-reply-to:references:date:message-id :subject:from:to:content-type; bh=2y62ck3GLwXrxrcw/QWeNnP63mqHoIKZNCQsneuDbvc=; b=coz2fKOLm7Scpu8/Xmm0+/SS9wZ98KPO80qJBKuyAoEEWM8jiVLWYeXFsMI8AI0GkK MxSJ4NNebHMzPAexUIaRtD6i5+YZYsbw1anls7b5rA5rIrLS8aNCNsu2uvmJlidD7XQ8 StbWkrJrz+YFVWh90ULQWmTmi5iWIAUeB4tsbiBVny7Tj9N+uBRpK9Z3to8MZPtINpjx a9R0IyFYUgv9IpHztoZdfw2gdvJ2CRjUNO625lPGkbZQO9UuNH51zJnDKrdzCyTAZlxy WeTiW5rhd/JBkxgc2cLykEzOL4jsaOMnLehfAm/b1mDWJDQDvMBFcdd7KfIVSRF2q+Lm q/2w== MIME-Version: 1.0 X-Received: by 10.182.95.133 with SMTP id dk5mr5156258obb.14.1359132937275; Fri, 25 Jan 2013 08:55:37 -0800 (PST) Received: by 10.60.124.232 with HTTP; Fri, 25 Jan 2013 08:55:37 -0800 (PST) In-Reply-To: <5102B439.10500@lymegreen.co.uk> References: <5102B439.10500@lymegreen.co.uk> Date: Fri, 25 Jan 2013 09:55:37 -0700 Message-ID: Subject: Re: Branch to switch from SpiderMonkey to Node.js From: Ryan Ramage To: CouchDB Developers Content-Type: multipart/alternative; boundary=14dae93b62a2edc81504d41fcb0c X-Virus-Checked: Checked by ClamAV on apache.org --14dae93b62a2edc81504d41fcb0c Content-Type: text/plain; charset=ISO-8859-1 Heck, let the man experiment :) It's pretty great that most of the diff is removal of stuff anyway. Thanks for the heads up and keep us informed. On Fri, Jan 25, 2013 at 9:35 AM, david martin wrote: > On 25/01/13 11:18, Jason Smith wrote: > >> My **tentative** position is that V8 is a waste of time. We should use >> Node.js, not V8. In other words, we should not change couchjs to link >> against libv8.so instead of libmozjs.so. Instead, we should **remove** the >> couchjs binary and build a 100% compatible node version. Again, this is my >> *suspicion* but I want to explore it more. >> >> Embedding V8 is, roughly, the same work as embedding SpiderMonkey. It does >> not change much. We still depend on an obscure VM with a quirky build >> system. >> > According to Wiki > > "Node.js is a packaged compilation of Google's V8 JavaScript engine, the > libUV platform > abstraction layer, and a core library, which is itself primarily written > in JavaScript." > > "We still depend on an obscure VM ( so V8 is an obscure VM although it is > embedded in Node.js ) with a quirky build system." > > Get rid of all quirky build systems, use rebar which builds everything AND > produces an installable relocatable executable package containing Erlang VM > and V8 VM and C routines as NIF's where required for speed. > > So Node "is" V8 plus a lot more which is not required > > > -- > David Martin > > --14dae93b62a2edc81504d41fcb0c--