Not logged in
Log in now
Create an account
Subscribe to LWN
LWN.net Weekly Edition for December 5, 2013
Deadline scheduling: coming soon?
LWN.net Weekly Edition for November 27, 2013
ACPI for ARM?
LWN.net Weekly Edition for November 21, 2013
Also, if one compares Gtk2 code in Perl, Ruby and Python, the differences are seriously minor - after all you deal with widgets and callbacks. No reason why Perl couldn't deal with it nicely.
Example in C, ported to Python:
which was the inspiration for a port 1:1 in Ruby:
which I ported to Perl:
If you don't like Perl, don't use it.
GTK+ 3.8.0 released
Posted Mar 27, 2013 18:11 UTC (Wed) by HelloWorld (subscriber, #56129)
Posted Mar 28, 2013 16:06 UTC (Thu) by whilteheat (guest, #90114)
Posted Mar 29, 2013 15:47 UTC (Fri) by ebassi (subscriber, #54855)
Posted Apr 2, 2013 11:03 UTC (Tue) by whilteheat (guest, #90114)
- This time last year I had to constantly restart (sometimes daily!) a Ruby background process because it kept memory leaking :(
- While I have multiple Perl background processes I've written that continue to run without a restart for over 5 years :)
So yes you have to be careful and not leave something silly around with Perl (re: DESTROY / weaken) but I've had far more success with Perl compared to Ruby (libs/VM) on this!
Copyright © 2013, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds