From unknown Sat Sep 20 02:11:25 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#15160 <15160@debbugs.gnu.org> To: bug#15160 <15160@debbugs.gnu.org> Subject: Status: Is --disable-posix excluding too much? Reply-To: bug#15160 <15160@debbugs.gnu.org> Date: Sat, 20 Sep 2025 09:11:25 +0000 retitle 15160 Is --disable-posix excluding too much? reassign 15160 guile submitter 15160 Jan Schukat severity 15160 normal thanks From debbugs-submit-bounces@debbugs.gnu.org Thu Aug 22 07:27:41 2013 Received: (at submit) by debbugs.gnu.org; 22 Aug 2013 11:27:41 +0000 Received: from localhost ([127.0.0.1]:47066 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VCT3F-0003OE-Ep for submit@debbugs.gnu.org; Thu, 22 Aug 2013 07:27:41 -0400 Received: from eggs.gnu.org ([208.118.235.92]:55915) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VCT3D-0003O6-Sz for submit@debbugs.gnu.org; Thu, 22 Aug 2013 07:27:40 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VCT33-0001Ol-4u for submit@debbugs.gnu.org; Thu, 22 Aug 2013 07:27:39 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50 autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:57114) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VCT33-0001Og-2W for submit@debbugs.gnu.org; Thu, 22 Aug 2013 07:27:29 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:57510) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VCT2v-0000HA-Ot for bug-guile@gnu.org; Thu, 22 Aug 2013 07:27:29 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VCT2o-0001Ju-Fk for bug-guile@gnu.org; Thu, 22 Aug 2013 07:27:21 -0400 Received: from mout.web.de ([212.227.15.14]:49425) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VCT2o-0001JM-7P for bug-guile@gnu.org; Thu, 22 Aug 2013 07:27:14 -0400 Received: from [192.168.0.27] ([92.231.219.124]) by smtp.web.de (mrweb103) with ESMTPSA (Nemesis) id 0M0yeJ-1W4RCi2jwV-00v4kP for ; Thu, 22 Aug 2013 13:27:11 +0200 Message-ID: <5215F58E.3080901@email.de> Date: Thu, 22 Aug 2013 13:27:10 +0200 From: Jan Schukat User-Agent: Mozilla/5.0 (X11; Linux i686; rv:17.0) Gecko/20130803 Thunderbird/17.0.8 MIME-Version: 1.0 To: bug-guile@gnu.org Subject: Is --disable-posix excluding too much? Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Provags-ID: V03:K0:6gOrOFR4P5awSkIdNx4rIDj3YlBXDM/7HQNi9cWAh8yi0b+bhcp OpiMNBdJfIBCSMd35C53UpnwAW2PSNDnw7n7luqOMWSALPeCqpKtdswP4Yywb05RuqsOajm mWAxjsg0vi1ud9De2ePCZ8/rUJ3/4qo0W0G5wOtDKIHPlC0aTxgOKkdvs6x1FqK4yGxyKqD fYtzvpPXWGCVcXRo8iYLg== X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x [generic] X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -3.4 (---) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.4 (---) Hello, it's been a while since I wrote here. Took me a while to figure out how to best tackle the native type vector alignment thing properly. Ended up writing my own binary data formats and the smaller dynamically created ones get their own SCM_DEFINE c constructors. The compiled guile byte-vector format isn't too efficient anyway atm. Once true elf-binaries are generated I guess that is different, since they can be directly and natively embedded. When that comes along I might look into it again. It's always good to consolidate and unify code that can be, to reduce redundancy. Anyway, new issues arise. Using a scripting language somewhat portably for non-performance critical management tasks is pretty normal right? One of the prime uses. So, I'm walking directory trees now, and occasionally need to copy a file. But copy-file is not available when --disable-posix is configured. There are lot's of possible workarounds. Copying files in different languages is first semester programming assignments. The point is: a high level language shouldn't make you do this. File systems and paths are pretty much the same on all platforms guile runs on. And that's the the interface to the function: two paths. There is no reason to to not have that function everywhere. Similarly for chdir. You can work around it, and the file tree walking functions make it mostly unnecessary. But I see no reason to leave it out. Any system guile runs on knows paths. (oh, and --disable-posix is necessary to compile on/for windows/mingw, the cost of portability) Regards Jan Schukat From debbugs-submit-bounces@debbugs.gnu.org Tue Jun 21 05:41:15 2016 Received: (at 15160-done) by debbugs.gnu.org; 21 Jun 2016 09:41:15 +0000 Received: from localhost ([127.0.0.1]:48564 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bFIBH-0004Un-K5 for submit@debbugs.gnu.org; Tue, 21 Jun 2016 05:41:15 -0400 Received: from pb-sasl2.pobox.com ([64.147.108.67]:57606 helo=sasl.smtp.pobox.com) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bFIBG-0004Uf-QQ for 15160-done@debbugs.gnu.org; Tue, 21 Jun 2016 05:41:15 -0400 Received: from sasl.smtp.pobox.com (unknown [127.0.0.1]) by pb-sasl2.pobox.com (Postfix) with ESMTP id 7D02521BDE; Tue, 21 Jun 2016 05:41:14 -0400 (EDT) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=pobox.com; h=from:to:cc :subject:references:date:in-reply-to:message-id:mime-version :content-type; s=sasl; bh=mLLEHaTcSvBXh4sDvoW9eul8gEo=; b=EzqNI6 QnZMm80iaxhGF+Vsb42eQ/CMCgfK8a0VHdj3GMCr6pBvfQB7YVHUsz3gRertj6Yy PxZSkYzbz7mkeHM+NXSaBHIrYgwW2KqUo9/Y7+4uFylsvzHtklrGoMdtW+Rcg1BL pnu3EZFyrrIiGAoeOy3T4chbA/p+ELws+iIdM= DomainKey-Signature: a=rsa-sha1; c=nofws; d=pobox.com; h=from:to:cc :subject:references:date:in-reply-to:message-id:mime-version :content-type; q=dns; s=sasl; b=k8XquaE/1tH/iZVbr1I52FKNL/EdZBXo xueBaQ30PcYixaFh5vcb0reMf7xZ167+SemBmdGb0AeFruDctjmqzeyBS8nWZ4oN f9qlSLOjm4NVZdBJ9vP58zFSe6gly6TSmDi7nfaxExWGfCL78Ax/XKZEy6xheklH GJxAkG5S4ME= Received: from pb-sasl2.nyi.icgroup.com (unknown [127.0.0.1]) by pb-sasl2.pobox.com (Postfix) with ESMTP id 742C321BDD; Tue, 21 Jun 2016 05:41:14 -0400 (EDT) Received: from clucks (unknown [88.160.190.192]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by pb-sasl2.pobox.com (Postfix) with ESMTPSA id 8C66921BDC; Tue, 21 Jun 2016 05:41:13 -0400 (EDT) From: Andy Wingo To: Jan Schukat Subject: Re: bug#15160: Is --disable-posix excluding too much? References: <5215F58E.3080901@email.de> Date: Tue, 21 Jun 2016 11:41:06 +0200 In-Reply-To: <5215F58E.3080901@email.de> (Jan Schukat's message of "Thu, 22 Aug 2013 13:27:10 +0200") Message-ID: <87mvme3mml.fsf@pobox.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Pobox-Relay-ID: 4B40A70A-3794-11E6-917A-28A6F1301B6D-02397024!pb-sasl2.pobox.com X-Spam-Score: -1.4 (-) X-Debbugs-Envelope-To: 15160-done Cc: 15160-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.4 (-) Hi! --disable-posix is intended to be a size reduction thing, not necessarily a portability hack. Guile should build on MinGW with POSIX enabled; if it doesn't that's a different bug :) When POSIX support is enabled we should simply compile out features that aren't detected on the platform. For that reason it doesn't make sense to take more things out from under --disable-posix. Regards, Andy On Thu 22 Aug 2013 13:27, Jan Schukat writes: > Hello, it's been a while since I wrote here. Took me a while to figure > out how to best tackle the native type vector alignment thing > properly. Ended up writing my own binary data formats and the smaller > dynamically created ones get their own SCM_DEFINE c constructors. The > compiled guile byte-vector format isn't too efficient anyway atm. Once > true elf-binaries are generated I guess that is different, since they > can be directly and natively embedded. When that comes along I might > look into it again. It's always good to consolidate and unify code > that can be, to reduce redundancy. > > Anyway, new issues arise. Using a scripting language somewhat portably > for non-performance critical management tasks is pretty normal right? > One of the prime uses. > So, I'm walking directory trees now, and occasionally need to copy a > file. But copy-file is not available when --disable-posix is > configured. There are lot's of possible workarounds. Copying files in > different languages is first semester programming assignments. The > point is: a high level language shouldn't make you do this. File > systems and paths are pretty much the same on all platforms guile runs > on. And that's the the interface to the function: two paths. There is > no reason to to not have that function everywhere. > > Similarly for chdir. You can work around it, and the file tree walking > functions make it mostly unnecessary. But I see no reason to leave it > out. Any system guile runs on knows paths. > > (oh, and --disable-posix is necessary to compile on/for windows/mingw, > the cost of portability) > > Regards > > Jan Schukat From unknown Sat Sep 20 02:11:25 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Tue, 19 Jul 2016 11:24:05 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator