[webkit-dev] Script programming language: Perl, Python, or Ruby?

TAMURA, Kent tkent at chromium.org
Tue Aug 31 16:43:49 PDT 2010


WebKitTools/iExploder has some ruby scripts.
   
LayoutTests/platform/mac/fast/loader/resources/mimeTypeExamples/example-rb.rb
is an empty file.  I don't know others.

PrettyPatch on Python would remove Ruby dependency from new-run-webkit-tests
and webkit-patch. But I'm not sure if we can remove BugsSite/PrettyPatch.
  Can we run python scripts on bugs.webkit.org server?

On Wed, Sep 1, 2010 at 04:26, Dirk Pranke <dpranke at 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 at 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 at lists.webkit.org
> > http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev
> >
> >




-- 
TAMURA Kent
Software Engineer, Google




-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-dev/attachments/20100901/e31c03e1/attachment.html>


More information about the webkit-dev mailing list