top | item 45291452

(no title)

joz1-k | 5 months ago

> Perl is not memory safe

Perl is memory safe.

> loaded with security issues for over a decade.

According to CVE reports, it doesn't appear that Perl [0] is less secure than Python [1]:

[0]: https://www.cvedetails.com/vendor/1885/Perl.html

[1]: https://www.cvedetails.com/vendor/10210/Python.html

discuss

order

tdhz77|5 months ago

https://media.defense.gov/2022/Nov/10/2003112742/-1/-1/0/CSI...

I’m amazed that you are defending that Perl is memory safe.

It’s not.

joz1-k|5 months ago

You must have confused Perl with another programming language. Perl has always been a memory-managed language with a reference-counted garbage collector.

The link you posted doesn't even mention Perl at all. It does say that:

Using a memory safe language can help prevent programmers from introducing certain types of memory-related issues. Memory is managed automatically as part of the computer language; it does not rely on the programmer adding code to implement memory protections.

Perl clearly fits the definition of a memory-safe language with automatic memory management. The funny thing is that this document lists Delphi/Object Pascal as memory-safe languages, even though there are clearly not.