Arc Forumnew | comments | leaders | submitlogin
The Real Arc Challenge
1 point by gregwebs 6116 days ago | 1 comment
How much code does it take to create the library that allows you to write the Arc Challenge?

But then how do you separate a language from its libraries? So here is an alternative: There are no free library imports and no free language. How much code does it take to both implement a simple interpreter for (the portion needed of) the language in itself and create the library code that allows you to write the code in the Arc Challenge?

Obviously these are still very flawed metrics, but maybe they are better?



1 point by bayareaguy 6115 days ago | link

Based on "Rewriting Reddit"[1], reddit switched from Lisp to Aaron Swartz's web.py.

It doesn't include much and is pretty small:

  powerbook.local 101> find webpy | xargs wc
      95     243    2326 webpy/experimental/pwt.py
     133     295    3662 webpy/experimental/untwisted.py
      27      65     419 webpy/README.tests
      17      42     460 webpy/setup.py
       0       0       0 webpy/test/__init__.py
       8      16     155 webpy/test/alltests.py
      90     188    2458 webpy/test/db.py
      10      27     275 webpy/test/doctests.py
      16      54     538 webpy/test/form.py
      58     149    1668 webpy/test/webtest.py
      81     213    2608 webpy/tools/_makedoc.py
     677    2170   22981 webpy/tools/markdown.py
      62     141    1307 webpy/web/__init__.py
      98     345    3364 webpy/web/cheetah.py
     724    2285   21731 webpy/web/db.py
     357    1116   12084 webpy/web/debugerror.py
     215     689    6742 webpy/web/form.py
     279     869    8368 webpy/web/http.py
     224     612    8548 webpy/web/httpserver.py
     169     479    4427 webpy/web/net.py
     153     621    5532 webpy/web/request.py
     895    2623   25482 webpy/web/template.py
     888    2560   24743 webpy/web/utils.py
     377    1188   10713 webpy/web/webapi.py
      54     155    1580 webpy/web/wsgi.py
    1019    3963   40392 webpy/web/wsgiserver/__init__.py
      25     225    1542 webpy/web/wsgiserver/LICENSE.txt
    6751   21333  214105 total

[1] http://www.aaronsw.com/weblog/rewritingreddit

-----