P is for Practical | |
PerlMonks |
comment on |
( [id://3333]=superdoc: print w/replies, xml ) | Need Help?? |
Perl still don’t have standard solutions for Desktop GUI. We have wxPerl, that I have collaborated and is very good, portable, but is not standard and available in any Perl installation.This is more an indictment of the standard installation footprint of the various perl distributions (and those created by OS distribution maintainers). perl programmers know (or should know) that if they need a module to do something, the first place to look is CPAN; there are many GUI libraries available therein. I won't comment as to whether wxWindows should/shouldn't be a good default for cross-platform GUI's as that is a matter of taste.
Also is problematic to create Desktop Applications with the bad multi-thread model of Perl 5. GUI means multi-thread,Java has this just about right... the two predominant GUI libraries are well written w.r.t threading expectations. Badly written GUI components (w.r.t threading) abound for the .Net platform; a platform where lean, robust threading is available. FACT: It's easy to write threaded code for perl5 using the message-passing paradigm. As for your assertion that GUI ==> threads, I'd argue that the responsibility for GUI responsiveness is at the feet of GUI library designers and that GUI code is only embarrassingly aided by threaded user code. Computationally-intensive code benefits far more from concurrency than do GUI systems.
and since on Perl 5 you have to design all the code to have it on multi-thread, this is a big problem, especially when you want to use 3rd part modules.This comes down to two issues. Firstly, some perl modules are not thread-safe. This can be mostly worked around with scoping hacks and there has been noise about notation of CPAN to reflect thread-safety of the modules available there. Secondly, some C/C++ libaries (used by perl modules) are not thread-safe - the blame there shouldn't really leveled at perl. These problems exist for many languages, not just perl. -David In reply to Re: Slow evolution of Perl = Perl is a closed Word
by erroneousBollock
|
|