Implementing a scripting language in Python

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Gabriele Farina

    Implementing a scripting language in Python

    I guys

    I planned to create a new programming language to use to develop web
    applications for my company.

    I'd like to develop it using Python, but I don't know if python is fast
    enaught.

    Someone could help me and give me some ideas?

    tnx,
    Gabriele


  • Max M

    #2
    Re: Implementing a scripting language in Python

    Gabriele Farina wrote:
    [color=blue]
    > I guys
    >
    > I planned to create a new programming language to use to develop web
    > applications for my company.
    >
    > I'd like to develop it using Python, but I don't know if python is fast
    > enaught.
    >
    > Someone could help me and give me some ideas?[/color]



    You will only end up developing a poor version of Python. (or lisp I
    hear) Why do you want to do this. There are many better solutions.

    Ie. a combination of Page Templates from Zope, and Python.


    regards Max M

    Comment

    • Peter Otten

      #3
      Re: Implementing a scripting language in Python

      Gabriele Farina wrote:
      [color=blue]
      > I guys
      >
      > I planned to create a new programming language to use to develop web
      > applications for my company.
      >
      > I'd like to develop it using Python, but I don't know if python is fast
      > enaught.[/color]

      The Python developers, regarded as smart over here, used C :-)
      However, there seems to be an effort under way to implement Python in
      Python, so it should be doable.
      [color=blue]
      > Someone could help me and give me some ideas?[/color]

      Web applications are not rocket science, so why not adopt an existing
      language instead of burning your company's money. While we're at it, why
      not use Python - I admit I'm biased - and spend your resources on improving
      an existing web framework.

      Peter


      Comment

      • Alex Martelli

        #4
        Re: Implementing a scripting language in Python

        Peter Otten wrote:
        [color=blue]
        > Gabriele Farina wrote:
        >[color=green]
        >> I guys
        >>
        >> I planned to create a new programming language to use to develop web
        >> applications for my company.
        >>
        >> I'd like to develop it using Python, but I don't know if python is fast
        >> enaught.[/color]
        >
        > The Python developers, regarded as smart over here, used C :-)
        > However, there seems to be an effort under way to implement Python in
        > Python, so it should be doable.[/color]

        Sure. And somebody European, like Gabriele, who's at all interested
        in that, should RUN to http://codespeak.net/pypy/ and get a plane
        (cheap -- I've found a trip there and back for EUR 120 + taxes, though
        that specific special offer is over now) and lodging (we're doing our
        best to find cheap ways for that too) to be in Amsterdam on Dec 14-21
        for the fifth pypy "sprint". With the Amsterdam effort we plan/hope
        to release a big but not-too-slow cpypy.so (actually generated via
        pyrex) -- not quite independent from CPython yet, of course, but still,
        a complete and usable Python runtime whose sources are in Python (we
        have one now, but running it in purely interpreted Python isn't exactly,
        ahem, FAST:-). The Python->C translation (with some type annotation)
        that's intended to give us cpypy.so from the current Python pypy sources
        is done via pypy itself, btw, with a special objectspace. ((Plus, we
        plan/hope to release cool tools for interactive display/debug of pypy
        AND most particularly superior testing tools.))

        I know it sounds incestuous and makes one's head spin, but if you
        study all the materials available on the pypy site (including the
        complete pypy sources), as is of course advisable before coming all
        the way to the sprint, it really ain't all that bad -- try it. And
        then the Sprint experience is going to be VERY advisable for anybody
        interested in programming language implementation of and/or with Python --
        if your head doesn't explode you'll know a LOT more when you go back,

        [color=blue][color=green]
        >> Someone could help me and give me some ideas?[/color]
        >
        > Web applications are not rocket science, so why not adopt an existing
        > language instead of burning your company's money. While we're at it, why
        > not use Python - I admit I'm biased - and spend your resources on
        > improving an existing web framework.[/color]

        Yes, it IS nearly inconceivable that creating a new programming
        language -- rather than using Python and the wealth of tools &c already
        available for it -- is going to be cost/benefit-effective for a company.

        Or, using Ruby, Lisp, Scheme, etc, etc, are all choices likely to be
        still more cost/benefit-effective than developing a new language, even
        though I agree with you that Python's likely to be best (in most, though
        not all, situations of web application development -- e.g. if the firm
        happens to have a Ruby guru or three already onboard, that may change
        the equation).


        Alex

        Comment

        Working...