News for hackers. Stuff that matters.
Re:Why does OpenBSD still include Perl in its base installat... by Tomte on Saturday May 30, 2020 @07:50AM (#23360475)
Why is TCL out? Is it about a perceived bad track record or about inherent properties of the language?
Re:Why does OpenBSD still include Perl in its base installat... by rwmj on Saturday May 30, 2020 @09:43AM (#23361132)
I guess the general answer is that everything is out because they have a lot of Perl already and not a lot of developers so why waste that time rewriting everything?

Having said that I wrote a bunch of Tcl last year for a speech[1] and the Tcl community is nowadays very small. It was hard to find answers to some questions online: the active period of the community predated Stackoverflow so there's not much on SO. And the library support is very thin compared to the giant Perl/Python/Javascript/... communities. None of these things are reasons why Tcl is bad - I happen to like it and my talk was a success partly because of Tcl - but it may be a problem for OpenBSD to adopt it.

[1] https://www.youtube.com/watch?v=9E5A608xJG0

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.
Re:Why does OpenBSD still include Perl in its base installat... by fuball63 on Saturday May 30, 2020 @07:56AM (#23360502)
I'm also curious as to what the "security" issues are that TCL would be rendered "out".