The Gtk3.x bindings with Perl are a nice example of what you get with GObject bindings.
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.
Posted Mar 27, 2013 18:11 UTC (Wed) by HelloWorld (guest, #56129)
[Link]
Perl, unlike Ruby or Python, isn't able to collect reference cycles. That's a deal-breaker for me and many others.
GTK+ 3.8.0 released
Posted Mar 28, 2013 16:06 UTC (Thu) by whilteheat (guest, #90114)
[Link]
In practise I have found Perl to leak memory far less than Python and especially Ruby VMs. So not a deal breaker :)
GTK+ 3.8.0 released
Posted Mar 29, 2013 15:47 UTC (Fri) by ebassi (subscriber, #54855)
[Link]
that's not entirely correct: you can override DESTROY to release cycles. or you can use the 'weaken' function from Scalar::Util.
GTK+ 3.8.0 released
Posted Apr 2, 2013 11:03 UTC (Tue) by whilteheat (guest, #90114)
[Link]
It is true in my experience....
- 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!