Oh, I should have mentioned that there is actually a compelling reason to port PrettyPatch over, namely that if we can port it to a Python library than we can avoid having to shell out to it from new-run-webkit-tests. Shelling out, in addition to being slower, seems to contribute to the Python multithreading deadlocking issues we've seen. -- Dirk On Tue, Aug 31, 2010 at 12:26 PM, Dirk Pranke <dpranke@chromium.org> wrote:
I think generally most scripts are written in Python nowadays, and we have a large legacy of perl scripts that are getting ported over.
bdash mentions in the bug that there are other scripts written in Ruby besides PrettyPatch, but that's news to me. What are they, and what are they used for? Is there a particular reason that they're in Ruby?
I agree with Jeremy that, all other things being equal, fewer languages is better, and I'm not sure that Ruby offers many compelling advantages over Python (disclaimer: I personally like Ruby the language better than Python, although I have a lot more experience w/ Python than I do w/ Ruby).
On Tue, Aug 31, 2010 at 7:56 AM, TAMURA, Kent <tkent@chromium.org> wrote:
Do we have any recommendation of programming language for scripts such as WebKitTools/Scripts? It seems new scripts are written by Python and Ruby code is very rare. Is it reasonable to port a Ruby script to Python? I tried to port PrettyPatch.rb to Python in https://bugs.webkit.org/show_bug.cgi?id=43617 in order to remove Ruby dependency for many developers and buildbots. However bdash objected it. -- TAMURA Kent Software Engineer, Google
_______________________________________________ webkit-dev mailing list webkit-dev@lists.webkit.org http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev