News for hackers. Stuff that matters.
Re:Why does OpenBSD still include Perl in its base installat... by Tomte on Saturday May 30, 2020 @09:54AM (#23361207)
I meant specifically about security. Because everything is a string?
Re:Why does OpenBSD still include Perl in its base installat... by rwmj on Saturday May 30, 2020 @10:05AM (#23361260)
I doubt it's much different than Perl. Both languages have very loose type systems. In fact the internal implementations are rather similar since both use strings but optimize numbers (IVs etc in Perl which are visible to the programmer, in Tcl the bytecode interpreter optimizes ints/floats to an internal representation but at the language level everything still looks like a string).

Perl's tainting feature is the only security-related advantage over Tcl that I can think of right now, but it's not used unless you explicitly enable it.

Re:Why does OpenBSD still include Perl in its base installat... by sigzero on Saturday May 30, 2020 @10:22AM (#23361378)
No, that doesn't make it any less secure security-wise. It's probably because Tcl isn't an ALGOL type of language. I love Tcl by the way and I wish it was used more than it is.