🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.lang.lisp
Article #68

Re: read-file for sbcl

#68
From: Madhu
Date: Thu, 26 Nov 2026 04:15
27 lines
1996 bytes
* steve g <87ld6gl8ah.fsf@gmail.com> :
Wrote on Wed, 25 Nov 2026 19:56:38 -0500:

> I am working on a project and came across the need to read files very
> easily. I created this package for SBCL. If you need or want a rather
> fast read-file function; Just run make, load, the compile.
>
> I know this is not a binary group, I'll try try and attach the base64.
>
> I have been using this version of file-length-by-name for quite some
> time. It seems more accurate that stat. It just uses lseek.

"more accurate" ? when are they never equal?

> The attachments should be alright. Let me know if you have any questions
> or unexpressed anger...

1. "sbcl-only" is a virtue only for claude code customers
2. if sbcl-only then why the posix c sharedlib, just use cffi for
syscalls
3. iolib uses posix for io (maybe it loses to your code because of
streams)
4. i cant imagine in 2020s linux hw where this would make a practical
difference

Technical Details
Message-ID: <m3wlq0ut1c.fsf@pison.robolove.meer.net>
Path: mbox-mo1.pugleaf.net!srv.newsdeef.eu!news.mb-net.net!open-news-network.org!eternal-september.org!feeder.eternal-september.org!nntp.eternal-september.org!.POSTED!not-for-mail
References: <87ld6gl8ah.fsf@gmail.com>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!srv.newsdeef.eu!news.mb-net.net!open-news-network.org!eternal-september.org!feeder.eternal-september.org!nntp.eternal-september.org!.POSTED!not-for-mail
From: Madhu <enometh@meer.net>
Newsgroups: comp.lang.lisp
Subject: Re: read-file for sbcl
Date: Thu, 26 Nov 2026 09:45:59 +0530
Organization: Motzarella
Lines: 27
Message-ID: <m3wlq0ut1c.fsf@pison.robolove.meer.net>
References: <87ld6gl8ah.fsf@gmail.com>
MIME-Version: 1.0
Content-Type: text/plain
Injection-Date: Thu, 26 Nov 2026 04:16:01 +0000 (UTC)
Injection-Info: dont-email.me;
	logging-data="396674"; mail-complaints-to="abuse@eternal-september.org";	posting-account="U2FsdGVkX19Kz3ROUJTwT+TO1MAX7/EbF78R5YeyKdk="; posting-host="9b6e1ed5993a6b58a77e6384de54030f"
Cancel-Lock: sha1:Cayt7qdG5BNZkrmzym+/L6IOJuM=
	sha1:J52UHV332xk3AqLPszx1oQGhTfU= sha256:sd3V7tzPdIoA0gWFS00AVzvW0ocp7O1tsxv5+5c2nJA=
	sha1:b1f5v8nrQjO40Avn9rn+skbVwu4= sha256:KC5ciFJN8VZbuU/yCZ+cU4CEpwgy3GMUC0HF7OXLrEk=