|Think about Loose Coupling|
Re: (A6) Perl 6, a general-purpose language?by crenz (Priest)
|on Mar 10, 2003 at 23:22 UTC||Need Help??|
Do you mean that Perl isn't as fast as C and C++ in some domains?
Well, yes. There was yet another discussion about it recently (Confirming what we already knew). A6 made me wonder whether debates like that one might actually go away (well, they never will, but they might become more pointless).
Update: C/C++ already does produce optimized native assembly code. Java IMHO becomes more useful through JIT compilers. I hope the same thing for Perl 6.
Detailed typing is harder to understand.
I'm not saying that I like the type system in C++ or Java. And if you got the impression I want Perl 6 to be like that, I certainly expressed myself in an utterly obfu way :). What I mean is that things like interfacing with system libraries usually require strict and detailed typing. So far, there was always a need for C to do it. I wonder whether the goal is actually to eliminate the need for C for these purposes and do it all in pure Perl 6.
In my opinion, Perl is already a general purpose language.
Well, we still see a lot of software nobody would care to write in Perl. (I mentioned some examples.) I'm not really saying that Perl should become a language you can write an OS in, I'm just wondering where we are heading.
If anything, I'd much rather use a dynamically typed language as a general purpose language.
I agree. Strict typing (hopefully) is going to be the exception. But sometimes, you need the exception.