On 2024-08-14 16:03, Lanre wrote:
On Tue, Aug 13, 2024 at 4:28 PM Mike Schinkel <m...@newclarity.net
Well, there is this:
https://media.defense.gov/2023/Dec/06/2003352724/-1/-1/0/THE-CASE-FOR-MEMORY-SAFE-ROADMAPS-TLP-CLEAR.PDF
<https://media.defense.gov/2023/Dec/06/2003352724/-1/-1/0/THE-CASE-FOR-MEMORY-SAFE-ROADMAPS-TLP-CLEAR.PDF>
-Mike
The source mentions Python and Swift as "memory-safe languages," both of
which are implemented in C and C++. How does that work if C and C++
aren't memory-safe?
Cheers,
Lanre.
The same way Legolas can be called an elf even when the character is
being played by a human actor: by not making category errors.
Even if the compiler of a Swift program has a memory management failure,
that is not the fault of the Swift program, but of the compiler (and the
language it is written in that allowed it).