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: 馬 冰
Subject: Re: Richard M. Stallman says GNU/Linux, but Rust lang ecosystem is growing.
Date: Thu, 11 Apr 2024 12:05:42 +0000

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


reply via email to

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