[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Pgubook-readers Digest, Vol 70, Issue 2
From: |
Elise Scher |
Subject: |
Re: Pgubook-readers Digest, Vol 70, Issue 2 |
Date: |
Wed, 27 Mar 2024 09:30:34 -0700 |
I am now semi retired.
So I have a bit more time to volunteer.
How can I help the cause, please?
I am a native English speaker and a teacher.
I used to be a software engineer.
I have worked in libraries and have a bit of training in library science.
Respectfully,
Elise Scher
KI6PUO
Send Pgubook-readers mailing list submissions to
pgubook-readers@nongnu.org
To subscribe or unsubscribe via the World Wide Web, visit
https://lists.nongnu.org/mailman/listinfo/pgubook-readers
or, via email, send a message with subject or body 'help' to
pgubook-readers-request@nongnu.org
You can reach the person managing the list at
pgubook-readers-owner@nongnu.org
When replying, please edit your Subject line so it is more specific
than "Re: Contents of Pgubook-readers digest..."
Today's Topics:
1. Re: About Buffer Size Restriction (Jonathan Bartlett)
2. Re: About Buffer Size Restriction (Kenan Kartal)
----------------------------------------------------------------------
Message: 1
Date: Tue, 26 Mar 2024 15:47:55 -0500
From: Jonathan Bartlett <jonathan@bartlettpublishing.com>
To: Kenan Kartal <contact@kenankartal.name>
Cc: pgubook-readers@nongnu.org
Subject: Re: About Buffer Size Restriction
Message-ID:
<CAHRTq6RibmW9Zw4t_r6b9twSEuVV_JSwjtLSmMYLbUL3CSKtPQ@mail.gmail.com" target="_blank">CAHRTq6RibmW9Zw4t_r6b9twSEuVV_JSwjtLSmMYLbUL3CSKtPQ@mail.gmail.com>
Content-Type: text/plain; charset="utf-8"
Kenan -
Thanks for reaching out.
It's been a while since I wrote this, but, I think it was partially based
on SSIZE_MAX and partially based on other write operation limits on the
kernel. Most write operation limits have been increased since then, but,
among the various things, sockets, files, etc., keeping the write size low
helps keep you from being on the wrong side of an unpredictable situation.
Jon
On Tue, Mar 26, 2024 at 7:57 AM Kenan Kartal <contact@kenankartal.name>
wrote:
> Hello,
>
> In Chapter 5. Dealing with Files - Using Files in a Program; the buffer
> size in the bss section is suggested to never exceed 16000 for various
> reasons. What might those reasons be?
>
> I like the reading so far. I am writing it for x86_64; so, I presume
> this restriction doesn't apply. Only thing I have found on my machine
> (Linux + GNU on x86_64) is that `read` accepts `SSIZE_MAX` which is
> `INT_MAX`. However, I would still appreciate the reasoning for the
> original restriction.
>
> Sincerely,
>
> --
> Kenan Kartal
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.nongnu.org/archive/html/pgubook-readers/attachments/20240326/81149dc6/attachment.htm>
------------------------------
Message: 2
Date: Wed, 27 Mar 2024 07:53:37 +0300
From: Kenan Kartal <contact@kenankartal.name>
To: Jonathan Bartlett <jonathan@bartlettpublishing.com>
Cc: pgubook-readers@nongnu.org
Subject: Re: About Buffer Size Restriction
Message-ID: <cfe0f139-6ff1-42c5-8c3f-1833419d96f9@kenankartal.name" target="_blank">cfe0f139-6ff1-42c5-8c3f-1833419d96f9@kenankartal.name>
Content-Type: text/plain; charset=UTF-8
Thanks Mr. Bartlett,
It is good to have these knowledge under the belt in case we need to
work with older hardware.
Regards,
On 26.03.2024 23:47, Jonathan Bartlett wrote:
> Kenan -
>
> Thanks for reaching out.
>
> It's been a while since I wrote this, but, I think it was partially based
> on SSIZE_MAX and partially based on other write operation limits on the
> kernel. Most write operation limits have been increased since then, but,
> among the various things, sockets, files, etc., keeping the write size low
> helps keep you from being on the wrong side of an unpredictable situation.
>
> Jon
>
>
> On Tue, Mar 26, 2024 at 7:57 AM Kenan Kartal <contact@kenankartal.name>
> wrote:
>
>> Hello,
>>
>> In Chapter 5. Dealing with Files - Using Files in a Program; the buffer
>> size in the bss section is suggested to never exceed 16000 for various
>> reasons. What might those reasons be?
>>
>> I like the reading so far. I am writing it for x86_64; so, I presume
>> this restriction doesn't apply. Only thing I have found on my machine
>> (Linux + GNU on x86_64) is that `read` accepts `SSIZE_MAX` which is
>> `INT_MAX`. However, I would still appreciate the reasoning for the
>> original restriction.
>>
>> Sincerely,
>>
>> --
>> Kenan Kartal
>>
>>
>
--
Kenan Kartal
------------------------------
Subject: Digest Footer
_______________________________________________
Pgubook-readers mailing list
Pgubook-readers@nongnu.org
https://lists.nongnu.org/mailman/listinfo/pgubook-readers
------------------------------
End of Pgubook-readers Digest, Vol 70, Issue 2
**********************************************
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Re: Pgubook-readers Digest, Vol 70, Issue 2,
Elise Scher <=