From mboxrd@z Thu Jan 1 00:00:00 1970 From: Felipe Contreras Subject: Re: [Administrivia] On ruby and contrib/ Date: Sat, 8 Jun 2013 05:02:44 -0500 Message-ID: References: <7vtxld30f2.fsf@alter.siamese.dyndns.org> <7va9n52zjc.fsf@alter.siamese.dyndns.org> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary=001a11c3ecde15c5d404dea1a69a Cc: Johannes Schindelin , Greg Troxel , Junio C Hamano , Git Mailing List , Jeff King , Jonathan Nieder , Thomas Rast , =?UTF-8?Q?Ren=C3=A9_Scharfe?= , Michael Haggerty , Matthieu Moy , Ramsay Jones , Erik Faye-Lund , Johannes Sixt To: Duy Nguyen X-From: git-owner@vger.kernel.org Sat Jun 08 12:02:58 2013 Return-path: Envelope-to: gcvg-git-2@plane.gmane.org Received: from vger.kernel.org ([209.132.180.67]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1UlFz4-00021o-Mq for gcvg-git-2@plane.gmane.org; Sat, 08 Jun 2013 12:02:55 +0200 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751795Ab3FHKCu (ORCPT ); Sat, 8 Jun 2013 06:02:50 -0400 Received: from mail-la0-f46.google.com ([209.85.215.46]:35481 "EHLO mail-la0-f46.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751503Ab3FHKCs (ORCPT ); Sat, 8 Jun 2013 06:02:48 -0400 Received: by mail-la0-f46.google.com with SMTP id eg20so4443937lab.19 for ; Sat, 08 Jun 2013 03:02:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=rczJrIXQyU6hQoWitu6JlSsxxw6tMn9j/hiokURIkBk=; b=VioYdAt+LEt0JI57+OfBSCdf8bB/SYikLgMzXvss8Zzl9BN697LvKnZohmsvO21I+z rmykUL1n+MUyHu20Un5vKxoyPcX2YbIII3QUp9w6r+/d6aOhQnJIofa0LPONoBMVWVSt /4HpVS4KSgMUDXjJ22ZxRTaR+x+QmtRkpMv+mS5u7HJQ0Gg8Gpd8eR/MfE6uD2t0mnQ5 yLoY3sl2XhU8EYqSbyl/WUFuKKRV8G1ngHS0B4JN1yhFuZhplYrwUio5RkG/7PQDjkNv fmoHaGH7KTcy4ql5Ho2s1bdXjXUE3iRSK7j5p8k5M9AMVBb8/D1BH0O8nn0APUBNNI3M vXmQ== X-Received: by 10.112.52.97 with SMTP id s1mr2879835lbo.8.1370685764385; Sat, 08 Jun 2013 03:02:44 -0700 (PDT) Received: by 10.114.59.202 with HTTP; Sat, 8 Jun 2013 03:02:44 -0700 (PDT) In-Reply-To: Sender: git-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: git@vger.kernel.org Archived-At: --001a11c3ecde15c5d404dea1a69a Content-Type: text/plain; charset=UTF-8 On Fri, Jun 7, 2013 at 9:17 PM, Duy Nguyen wrote: > On Thu, Jun 6, 2013 at 11:22 PM, Johannes Schindelin > wrote: >> Hi Greg, >> >> On Thu, 6 Jun 2013, Greg Troxel wrote: >> >>> As one of the people who helps maintain git packages in pkgsrc, my >>> initial reaction is negative to adding a ruby dependency. >> >> My initial reaction, too. It was hard enough to get Perl included with Git >> for Windows (because of that pesky Subversion dependency). >> >> As you can see from the commit history, I was the primary force behind >> trying to get everything "core" in Git away from requiring scripting >> languages (I think it is an awesome thing to provide APIs for as many >> languages as possible, but a not-so-cool thing to use more than one >> language in the core code). It does not seem that anybody picked up that >> task when I left, though. > > Nobody seems to mention it yet. There's another reason behind the C > rewrite effort: fork is costly on Windows. The C rewrite allows us to > run with one process (most of the time). This applies for shell, perl > and even ruby scripts because libgit.a is never meant to be used > outside git.c context (unlike libgit2). In this regard, ruby is just > as bad as currently supported non-C languages. Are you sure? --- #!/bin/sh cat > /tmp/test <