Deutsch   English   Français   Italiano  
<20250320225709.00004380@yahoo.com>

View for Bookmarking (what is this?)
Look up another Usenet article

Path: ...!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!eternal-september.org!.POSTED!not-for-mail
From: Michael S <already5chosen@yahoo.com>
Newsgroups: comp.lang.c
Subject: Re: Suggested method for returning a string from a C program?
Date: Thu, 20 Mar 2025 22:57:09 +0200
Organization: A noiseless patient Spider
Lines: 17
Message-ID: <20250320225709.00004380@yahoo.com>
References: <vrd77d$3nvtf$2@dont-email.me>
	<868qp1ra5f.fsf@linuxsc.com>
	<vrdhok$47cb$2@dont-email.me>
	<20250319115550.0000676f@yahoo.com>
	<vreuj1$1asii$4@dont-email.me>
	<vreve4$19klp$2@dont-email.me>
	<20250319201903.00005452@yahoo.com>
	<86r02roqdq.fsf@linuxsc.com>
	<vrh1br$35029$2@dont-email.me>
	<LRUCP.2$541.0@fx47.iad>
	<vrh71t$3be42$1@dont-email.me>
	<vrh9vh$3ev9o$1@dont-email.me>
	<vrhct4$3frk8$2@dont-email.me>
	<20250320204642.0000423a@yahoo.com>
	<vrhphb$3s62l$1@dont-email.me>
	<20250320125254.744@kylheku.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
Injection-Date: Thu, 20 Mar 2025 21:57:13 +0100 (CET)
Injection-Info: dont-email.me; posting-host="e76a44c65676ac57db63721f18f8a64e";
	logging-data="41591"; mail-complaints-to="abuse@eternal-september.org";	posting-account="U2FsdGVkX18/eBzpeZ4/pLGWV2fQ1UaJ7vJxV1/gWE4="
Cancel-Lock: sha1:6ywmuLXi8hhD22w1figR9qbl4dA=
X-Newsreader: Claws Mail 4.1.1 (GTK 3.24.34; x86_64-w64-mingw32)
Bytes: 2050

On Thu, 20 Mar 2025 19:58:37 -0000 (UTC)
Kaz Kylheku <643-408-1753@kylheku.com> wrote:

> 
> It's an embarrassing blemish on Rust that they made their principal
> integer types like this; it makes all Rust code look idiotically
> hardware dependent.  You can't code an abstract algorithm out of
> Sedgewick, Knuth or Cormen in Rust without peppering the code with
> distracting 32's and 64's.
> 

If size suffixes make you nervous, Rust has equivalents of size_t and
ptrdiff_t. Named, respectively, usize and isize.
But you probably know it.