🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.lang.lisp
Article #72

Re: read-file for sbcl

#72
From: steve g
Date: Sat, 28 Nov 2026 03:40
50 lines
2812 bytes
Madhu <enometh@meer.net> writes:

> * 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?

How much memory does stat need to work?

>> 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

I do not know what clause is. I like sbcl because it is very good software.


> 2. if sbcl-only then why the posix c sharedlib, just use cffi for
> syscalls

I do not understand wht software should be written to work on all
platforms. IOCTL is implementation specific.

> 3. iolib uses posix for io (maybe it loses to your code because of
> streams)

I do not use quicklisp unless I'm trying to figure out what people are
talking about.

> 4. i cant imagine in 2020s linux hw where this would make a practical
> difference


That is what I said 20 years ago. My SCSI disk drivers definitely knew
the difference.


anywho, How do I find out more about this CLAUD. I am thinking about writing
another rule system for constraints.

In anycase You are welcome to use the software.
Technical Details
Message-ID: <87o6b9bp2s.fsf@gmail.com>
Path: mbox-mo1.pugleaf.net!srv.newsdeef.eu!weretis.net!feeder9.news.weretis.net!border-2.nntp.ord.giganews.com!nntp.giganews.com!Xl.tags.giganews.com!local-2.nntp.ord.giganews.com!news.giganews.com.POSTED!not-for-mail
References: <87ld6gl8ah.fsf@gmail.com> <m3wlq0ut1c.fsf@pison.robolove.meer.net>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!srv.newsdeef.eu!weretis.net!feeder9.news.weretis.net!border-2.nntp.ord.giganews.com!nntp.giganews.com!Xl.tags.giganews.com!local-2.nntp.ord.giganews.com!news.giganews.com.POSTED!not-for-mail
NNTP-Posting-Date: Sat, 28 Nov 2026 03:40:59 +0000
From: steve g <Sgonedes1977@gmail.com>
Newsgroups: comp.lang.lisp
Subject: Re: read-file for sbcl
References: <87ld6gl8ah.fsf@gmail.com>
	<m3wlq0ut1c.fsf@pison.robolove.meer.net>
Date: Fri, 27 Nov 2026 22:40:59 -0500
Message-ID: <87o6b9bp2s.fsf@gmail.com>
User-Agent: Gnus/5.13 (Gnus v5.13)
Cancel-Lock: sha1:fJTrzNV3syxu7zrtUO8tV6FVVl8=
MIME-Version: 1.0
Content-Type: text/plain
Lines: 50
X-Usenet-Provider: http://www.giganews.com
X-Trace: sv3-SbjUgN2SXg/JyVQTWabM9mRfD3TBqgEFtzowp4bLAVNMJS+xY8dPSwiCraLQ7EspW6iPPe+BcsAYv7e!61kZkDGgMM71eHtO8konM2KUcBYFCkWb79NB0OTfyl8nybE=
X-Complaints-To: abuse@giganews.com
X-DMCA-Notifications: http://www.giganews.com/info/dmca.html
X-Abuse-and-DMCA-Info: Please be sure to forward a copy of ALL headers
X-Abuse-and-DMCA-Info: Otherwise we will be unable to process your complaint properly
X-Postfilter: 1.3.40