Thread: learning perl for threads.. itchy
as i work on a windows/xampp system for the majority of my spam develpoment/tools i've run into the problem of threading
phpapps for greater efficiency. the problem is forking is not possible on win32 systems (i'd love to be corrected here!) so i've started looking at other languages. so far the shortlist has been whittled down topythonorperl.now perlseems the way to go as it has threaded support and a healthy module library a la LWParallel, mech, etc and the language is readable for me coming from aphpbackground plus i like the way you can useperl2exe to make nice standalone apps.however i'm still reading mixed reports on thread stability. Any perlgurus got any thoughts on this? is theperlthread implementation stable and efficient?dirk
Hi itchy,
welcome to Perl!(Just moved your thread to PERLCoding & Best Practices).I'm running several Perlscripts on my local Windows PCwithout any problems. But regarding forking I can't recommend to run Perlscripts on Windows. I have checked it 2-3 yearsago and it was not stable. Maybe it has changed in the meantime. Anyway, I'm running my Perlscripts which need forking only onLinuxsystems.Dirk itchy
thanx dirk. i was more getting at the threads module in
perl(maybe called ithreads as well). has anyone tried this under windows. obviously i'd try it and see but this is maybe 3 weeks reading away...and i kinda need some opinions before really diving in. for starters though i'm well grounded in theperlbasics but even say hybriding (is that a word?lol) mechanize for thread support is a way off. need to amend the class probably from the ground up or just write my own custom class.basically i can write spiders in both perlandphpbut they run too slow due to the page load bottleneck and my only real option is to install a nix system on one of my laptops. then i lose my windows apps...edit: whoops sorry wrong section ,jeez gotta stop before breakfast didn't even see the discussion boards hahaha thats what the scroll bars for. nop_90
quote author=itchy link=topic=218.msg1320#msg1320 date=1179114949 as i work on a windows/xampp system for the majority of my spam develpoment/tools i've run into the problem of threading phpapps for greater efficiency. the problem is forking is not possible on win32 systems (i'd love to be corrected here!) so i've started looking at other languages. so far the shortlist has been whittled down topythonorperl.I have not used perlsince like 5.6but fork is implemented in ActiveState perlfor windows.M$ pay tons to activestate to make it possible dump the fuking windows and install linux.you get a proper shell, what apps do u lose ? (unless u are talking about games, that is about the only important windows apps i know) perkiset
Unless you need the GUI, dump it man. Hell - in ANY language then you could just use poor-man's threading (exec('anexpr') in PHP  and be done with it. Wouldn't have to reboot so often either.../p |
Thread Categories
Best of The Cache Home | ||
Search The Cache |
- Ajax
- Apache & mod_rewrite
- BlackHat SEO & Web Stuff
- C/++/#, Pascal etc.
- Database Stuff
- General & Non-Technical Discussion
- General programming, learning to code
- Javascript Discussions & Code
- Linux Related
- Mac, iPhone & OS-X Stuff
- Miscellaneous
- MS Windows Related
- PERL & Python Related
- PHP: Questions & Discussion
- PHP: Techniques, Classes & Examples
- Regular Expressions
- Uncategorized Threads