help-bash
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Richard M. Stallman says GNU/Linux, but Rust lang ecosystem is growi


From: Konstantin Kharlamov
Subject: Re: Richard M. Stallman says GNU/Linux, but Rust lang ecosystem is growing.
Date: Thu, 11 Apr 2024 15:12:39 +0300
User-agent: Evolution 3.52.0

On Thu, 2024-04-11 at 12:05 +0000, 馬 冰 wrote:
> 
> "it's just an adapter from internal API to one operating on `int`s,
> i.e.
> `Ok()` will be converted to `0`, and an error will be converted to
> another number", it may cost more memory if using 2 type systems
> simultaneously. Rust Result can use Box to allocate errors with
> unknown size on heap, whereas int is fixed-size, they may be
> incompatible due to unknown size and fixed-size.

Are you seriously motivated enough to start rewriting POSIX and other
standards and convincing people to break backward compatibility just to
save 8 bytes? Well… good luck



reply via email to

[Prev in Thread] Current Thread [Next in Thread]