[Info-vax] Rust as a HS language, was: Re: Quiet?
Arne Vajhøj
arne at vajhoej.dk
Wed Apr 6 21:00:35 EDT 2022
On 4/6/2022 7:46 PM, chris wrote:
> On 04/06/22 00:46, Arne Vajhøj wrote:
>> C and C++ are currently dominating the low level code area, but
>> there are some well known problem.
>>
>> Two of those problems are:
>> * buffer overruns
>> * memory leaks
>
> Neither of those are the fault of the core language, but C library,
> separate from the language. Man write their own library
> functions to avoid that sort of issue.
That is not correct.
Those problems cannot be solved by library changes.
Unchecked array access does not include any library
functions.
And both GC and the more exotic ownership concept
requires more than library changes - it requires language
and runtime environment (which is not the same as
runtime library) changes.
Arne
More information about the Info-vax
mailing list