Live data from Hacker News

Io language

iolanguage.com

21–30 of 36 posts

Re: Io language

#21
post #11
post #9

Io is not very fast, even slower than Ruby.

I wonder why this is downvoted. Io is beautiful, elegant and slow. The fact that it's slow doesn't mean it's not worth learning or even using in production. Commenter could have put it in other words, well he didn't, but downvoters: you will not change the fact that it's slow by giving -1. Do we have an era of wishful-thinking driven comment voting?

>you will not change the fact that it's slow by giving -1.

...but you can change the fact that it's slow by contributing code to the interpreter! Actor-based concurrency and prototype objects can both be made fast, as has been proven by Erlang and Lua respectively. Exceptions are an unfeature but they can be easily avoided.

The slowness of Io should be seen as a programming challenge, not a problem. ^,~

Re: Io language

#22
http://rosettacode.org/wiki/Io

Everything is better with code samples! One of the FizzBuzz implementations is particularly cool:

    for (n, 1, 100,
        fb := list (
            if (n % 3 == 0, "Fizz"),
            if (n % 5 == 0, "Buzz")) select (isTrue)

        if (fb isEmpty, n, fb join) println
    )

Re: Io language

#24
post #8

At the RubyConf in 2003, I asked Matz (the creator of Ruby) what languages he was impressed with these days. He said only one: Io

I guess that shows how much taste he has, then.

Well, he also mentioned that he'd recommend people look at Io, Haskell, and some others IIRC. But Derek's question was a separate instance.

Re: Io language

#25
post #22

http://rosettacode.org/wiki/Io Everything is better with code samples! One of the FizzBuzz implementations is particularly cool: for (n, 1, 100, fb := list ( if (n % 3 == 0, "Fizz"), if (n % 5 == 0, "Buzz")) select (isTrue) if (fb isEmpty, n, fb join) println )

Blush! I contributed that bit of Io FizzBuzz to Rosettacode :)

I originally posted that here on HN: http://news.ycombinator.com/item?id=1539295

Re: Io language

#26
post #22

http://rosettacode.org/wiki/Io Everything is better with code samples! One of the FizzBuzz implementations is particularly cool: for (n, 1, 100, fb := list ( if (n % 3 == 0, "Fizz"), if (n % 5 == 0, "Buzz")) select (isTrue) if (fb isEmpty, n, fb join) println )

Not easily found but the Io website also comes with some great code samples: http://www.iolanguage.com/about/samplecode/

Re: Io language

#28
and there is Ioke (http://ioke.org/) programming language. its not currently developing i think.he implement io (and some plus points) on jvm. I really like io's design, prototype based++, clean syntax, dynamic, macros...

Re: Io language

#29
post #20

Definitely not interested in another dynamically typed language, no matter how elegant.

Io is worth learning just to see what a clean prototype-based language feels like. It'll probably improve your understanding of Javascript.

I wish JavaScript's prototypal features were more like io's, or even Lua's. io was the first language I had seen where I really grocked prototypal inheritance.

Re: Io language

#30
post #20

Earlier quoted context omitted.

Io is worth learning just to see what a clean prototype-based language feels like. It'll probably improve your understanding of Javascript.

I wish JavaScript's prototypal features were more like io's, or even Lua's. io was the first language I had seen where I really grocked prototypal inheritance.

I miss NewtonScript for its version of prototype inheritance, but was never fond of the syntax.
Post reply on HN