From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: dskr Newsgroups: gmane.lisp.guile.user Subject: On the topic of asyncs and utility as an extension language Date: Wed, 5 Dec 2007 13:51:28 -0500 Message-ID: <752647A3-468C-4634-AE8D-2755EDAC44DE@mac.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 (Apple Message framework v915) Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1196880733 4363 80.91.229.12 (5 Dec 2007 18:52:13 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 5 Dec 2007 18:52:13 +0000 (UTC) To: guile-user@gnu.org Original-X-From: guile-user-bounces+guile-user=m.gmane.org@gnu.org Wed Dec 05 19:52:22 2007 Return-path: Envelope-to: guile-user@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1IzzLx-0005fo-Pm for guile-user@m.gmane.org; Wed, 05 Dec 2007 19:52:14 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IzzLh-0004z3-9v for guile-user@m.gmane.org; Wed, 05 Dec 2007 13:51:57 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1IzzLY-0004sB-75 for guile-user@gnu.org; Wed, 05 Dec 2007 13:51:48 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1IzzLW-0004pN-Ez for guile-user@gnu.org; Wed, 05 Dec 2007 13:51:47 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IzzLW-0004p7-42 for guile-user@gnu.org; Wed, 05 Dec 2007 13:51:46 -0500 Original-Received: from smtpoutm.mac.com ([17.148.16.79]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1IzzLV-0003JU-Q6 for guile-user@gnu.org; Wed, 05 Dec 2007 13:51:46 -0500 Original-Received: from mac.com (asmtp001-s [10.150.69.64]) by smtpoutm.mac.com (Xserve/smtpout016/MantshX 4.0) with ESMTP id lB5IpiZW002951 for ; Wed, 5 Dec 2007 10:51:44 -0800 (PST) Original-Received: from [192.168.1.20] (exchange.wallassociates.com [68.167.27.146] (may be forged)) (authenticated bits=0) by mac.com (Xserve/asmtp001/MantshX 4.0) with ESMTP id lB5IpZSN029771 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NO) for ; Wed, 5 Dec 2007 10:51:37 -0800 (PST) X-Mailer: Apple Mail (2.915) X-detected-kernel: by monty-python.gnu.org: FreeBSD 4.8-5.1 (or MacOS X 10.2-10.3) X-BeenThere: guile-user@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: General Guile related discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: guile-user-bounces+guile-user=m.gmane.org@gnu.org Errors-To: guile-user-bounces+guile-user=m.gmane.org@gnu.org Xref: news.gmane.org gmane.lisp.guile.user:6337 Archived-At: Hi, In an earlier message today, I mentioned my use of guile as an extension language. There is one new barrier to use of guile as an extension language that exists in guile 1.8 that did not exist in guile 1.6. The new async mechanism works via a pipe. The natural thing, remanufacturing the pipe, does not happen on a call to primitive-fork. I'm of the view that an angel gets its wings each time I call fork and so my codes do this with reckless abandon. Why fork? Lots of reasons... I use it so that I can mmap enormous files read-write with MAP_PRIVATE and fork new processes that mark up their now private copy. It is tremendously efficient for many applications. I understand that the work to patch up the pipes may not be worthwhile in applications that are about to call exec, but this could be remedied easily by providing the expected primitive-vfork for this purpose. Cheers, Dan Ridge _______________________________________________ Guile-user mailing list Guile-user@gnu.org http://lists.gnu.org/mailman/listinfo/guile-user