Slashdot Mirror


Lightweight Languages

Denise writes: "'What happens if you get a bunch of academic computer scientists and implementors of languages such as Perl, Python, Smalltalk and Curl, and lock them into a room for a day? Bringing together the academic and commercial sides of language design and implementation was the interesting premise behind last weekend's Lightweight Languages Workshop, LL1, at the AI Lab at MIT.' Simon Cozens report, on perl.com, says it wasn't the flame fest you might have imagined."

11 of 188 comments (clear)

  1. Best language for...? by Ziviyr · · Score: 2, Funny

    So, did they get around to figuring out which language is best suited to control a robotic arm in such a way to dump milk and butter into liquid nitrogen?

    "My language tastes better!"

    --

    Someone set us up the bomb, so shine we are!
  2. Whats the "lighest" you can get? by Anonymous Coward · · Score: 3, Funny
    How "lightweight" a language can you produce, yet keep it usuaable?

    To me, it would seem that the lighest I can come up with is:

    • The ability to create variables, and assign an absolute value to them
    • Comparision, with equals, is less than and is greater than
    • Branches to an absolute position in the code
    • Math operators + & - only
    • Ouput to screen.
    • Input from keyboard

    So would that be usuable? A simple program such as:
    VAR A
    VAR B
    INPUT A
    INPUT B
    C=A+B
    PRINT C
    GOTO 3


    Can we get even more lightweight? :)
    1. Re:Whats the "lighest" you can get? by Voidhobo · · Score: 2, Funny
      How "lightweight" a language can you produce, yet keep it usuaable?
      To me, it would seem that the lighest I can come up with is:

      <snip>
      You sir, are mistaken. The only ability a programming language really needs is to output "Hello world" to the screen. Here's an interpreter (in Perl), let's see if you can guess the syntax:
      print "sansChoice interpreter\n> ";chop($code = );print "\nHello world!\n";exit;

      This is a powerful, intuitive, interpreted, simple, no-point-oriented (NPO) helloworlding-language.

    2. Re:Whats the "lighest" you can get? by Black+Parrot · · Score: 2, Funny


      > You sir, are mistaken. The only ability a programming language really needs is to output "Hello world" to the screen. Here's an interpreter (in Perl)...

      That's nothing. I'm putting the finishing touches on my new processor design, and includes a native PHW opcode, no arguments.

      --
      Sheesh, evil *and* a jerk. -- Jade
  3. What about INTERCAL? by mfarah · · Score: 4, Funny
    I can't believe it. They talked about Perl, Scheme, Python, etcetera. Yet they didn't invite ESR to talk about the unique problems (and solutions) that implementing INTERCAL poses.



    I sure hope next year's LL2 addresses this issue.

    --
    "Trust me - I know what I'm doing."
    - Sledge Hammer
    1. Re:What about INTERCAL? by Skraig · · Score: 2, Funny

      OH, my mistake then. I take it all back. I even take back several things said by other people.

      --
      --->Life is like that sometimes...
  4. Re:Liquid Nitrogen Ice Cream by PhilHibbs · · Score: 2, Funny
    Of course once you put it in water, it is no longer good ice cream, right?
    You could wrap it in clingfilm and fish it out again.
  5. that's why the event didn't take place on slashdot by brlewis · · Score: 2, Funny

    [see subject]

  6. BF's second advantage. by MarkusQ · · Score: 3, Funny
    Bf is a lot of fun, but not light in the sense of perl or scheme. Since the article didn't define light language, I'll give it a shot. Looking at their choice of languages, light appears to mean: easy to program, easy to understand, but powerful, interpreted languages. Bf is none of the above. About all you can say for it is Turing-complete!

    No, it also has the advantage that, if some poor sap goes to all the trouble to write a deamon in it, you get to smile and say "bfd!"

    -- MarkusQ

    P.S. It's also occasionally useful to drive a spike in "you can't do Y in language X" debates that have gotten out of hand.

  7. I make a prediction... by Snard · · Score: 5, Funny

    From the review:

    Paul Graham rounded off the talks by talking about his new dialect of Lisp, which he called Arc. Arc is designed to be a language for "good programmers" only, and gets away without taking the shortcuts and safeguards that you need if you're trying to be accessible.

    I predict that someone will later come out with a new and improved version of this language which is backward compatible, and runs 10 times faster. That language will, of course, be called Zip.

    --
    - Mike
  8. Turing.. by Anonymous Coward · · Score: 1, Funny

    Turing is so powerfull I once made a replica of Unreal Tournament but since it was made in turing it was so fast you could only see a few flashes and stars on the screen.. I mixed in some drawmapleleaf commands just so it feels like you are in canada.
    I also made the BobOs. it kept crashing and telling me that there was a error in bobby's special area.. I dont know what was up with that!.