From owner-freebsd-questions@FreeBSD.ORG Fri Jan 18 03:25:37 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id DC1C55AE for ; Fri, 18 Jan 2013 03:25:37 +0000 (UTC) (envelope-from xyne@archlinux.ca) Received: from oproxy12-pub.bluehost.com (oproxy12-pub.bluehost.com [50.87.16.10]) by mx1.freebsd.org (Postfix) with SMTP id 8D8A2957 for ; Fri, 18 Jan 2013 03:25:37 +0000 (UTC) Received: (qmail 22433 invoked by uid 0); 18 Jan 2013 03:25:15 -0000 Received: from unknown (HELO box539.bluehost.com) (74.220.219.139) by oproxy12.bluehost.com with SMTP; 18 Jan 2013 03:25:15 -0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=archlinux.ca; s=default; h=Content-Transfer-Encoding:Content-Type:Mime-Version:References:In-Reply-To:Message-ID:Subject:Cc:To:From:Date; bh=GaXkCIeBrpkVy2sqyQirO924YGG0HxiTw1cT1mG43QY=; b=nbziYKtcSh+dvgUGczmXslnjuMsJUU1p9qKfIF9V6xkLkir24Wi/KQVL0SbJTxR17tsyJACtjnDfOdo2XG+kNzxSEGQWCvehPWYnZ3NMLeRQHHNLlgbRFfNb5TOoL+5g; Received: from [83.154.192.247] (port=35750 helo=localhost.localdomain) by box539.bluehost.com with esmtpsa (SSLv3:RC4-SHA:128) (Exim 4.80) (envelope-from ) id 1Tw2Zv-0005EY-5y; Thu, 17 Jan 2013 20:25:15 -0700 Date: Fri, 18 Jan 2013 03:25:08 +0000 From: Xyne To: freebsd-questions@freebsd.org Subject: Re: svn-export Re: svn bdb checkout? Message-ID: <20130118032508.445fa43b@archlinux.ca> In-Reply-To: <20130117045431.GB5392@external.screwed.box> References: <20130116185832.GB8524@external.screwed.box> <50F6FD37.5060309@gmail.com> <20130116193534.GC8524@external.screwed.box> <50F704CE.3010904@gmail.com> <20130116200754.GD8524@external.screwed.box> <50F70C60.4000108@FreeBSD.org> <20130116205533.GE8524@external.screwed.box> <20130117045431.GB5392@external.screwed.box> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Identified-User: {4243:box539.bluehost.com:archlinu:archlinux.ca} {sentby:smtp auth 83.154.192.247 authed with xyne@archlinux.ca} Cc: Peter Vereshagin X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 18 Jan 2013 03:25:37 -0000 Peter Vereshagin wrote: >I believe 'amd64' is the common architecture these days and 'perl malloc' is the >feature needed for profiling and/or leaks detection. > >Good news is that such a stuff can be redone with forks instead of threads but >it should take me the time amount I'm not supposed to have of the any early. > >By itself perl threading has a fabulously bad luck history, recently >criticized for instance at: > > https://speakerdeck.com/stevan_little/perl-is-not-dead-it-is-a-dead-end > >Thank you. Hi, I'm the author of svn-export. I haven't really touched the code since I wrote it in 2009 and back then I tended to write most things in noobish Perl. Although it should not be difficult to replace threading with forking (and I agree that Perl threading is generally to be avoided), I think I would rather just rewrite it cleanly in Python. Among other things it will simplify argument parsing and subprocess invocation via standard library functions. This would be in Python 3 but I could try to restrict it to be compatible with Python 2 if necessary. Would that be better than patching/porting the current Perl version? If so then I will put it on my todo list, but I am unlikely to have any time in the coming weeks to work on it. Incidentally, when looking at the code now I noticed that there were some SVN options missing. I have added those in today's release. Regards, Xyne p.s. I have not subscribed to this list, so please keep me in CC if you would like me to reply (in case this isn't done automatically).