[REBOL] Re: New competition: do you accept the challenge?! :-)
From: ale870::gmail::com at: 7-Nov-2007 23:43
Oh my God! Ok, I will start to study Euphoria... I'm joking!!! :-)
Tomc, your solution is very interesting, and you shown how flexible Rebol
is! Everybody shows that! I don't know how many programming languages allow
to reach the same solution, using the same basic algorithm but using
different functions. It's incredible!
Today I said to a friend of mine that Rebol has a lot of loops... he said:
many loops? How many?! He said "I know FOR....NEXT... and... STOP! "
So I replied: Rebol has FOR..NEXT (like), FOREACH, LOOP, REPEAT, FORALL,
FORSKIP, etc... He said: " ???? " (that one was the expression of his
face!).
He was lost!
With something like REBOL, it's difficult to compare--pinhole
optimization style--since the big picture is what it's all about.
I fully agree with you. That's the reason I want to try the reverse process:
starting from an optimized rebol application, then try to replicate it in...
Euphoria?! C?! Java?- C#?! F# ?!
Performance are not important until they are really mandatory! It means,
sometimes, languages comparison is important, even when the user says "I
need a fast application". In this scenario the language is important.
We could even imagine to make a program to get a specific result, then
trying to achieve it in different languages, using their own pro and cons.
On Nov 7, 2007 10:23 PM, Gregg Irwin <gregg-pointillistic.com> wrote:
> AM> This is another point-of-view: istead implementing code in java and
> "copy"
> AM> it in Rebol, I will get original code in Rebol (so it should be
> optimized
> AM> for it) and I'll try to convert it in Java.
>
> I think this brings up an important point. Does a language allow you
> to think in ways that let you come up with better solutions.
> Personally, I don't care (99.99% of the time) how languages compare
> when performing the same operations. I care about the final results.
>
> When VB1 came out, people complained that the p-code wasn't as fast as
> native code would be (under MS DOS BASICs, you could compile to
> native or p-code, and even use inline assembly). When MS finally added
> native code compilation support, people complained that the EXEs were
> bigger.
>
> With something like REBOL, it's difficult to compare--pinhole
> optimization style--since the big picture is what it's all about.
>
> -- Gregg
>
> --
> To unsubscribe from the list, just send an email to
> lists at rebol.com with unsubscribe as the subject.
>
--
//Alessandro
http://sguish.wordpress.com
http://laccio.wordpress.com