News for hackers. Stuff that matters.
Re:Is Flex/Actionscript a real programming language? Can it ... by dpapathanasiou on Wednesday May 02, 2007 @12:39PM (#18748)
old wine in new bottles

No, it's the difference between Turing imperative (e.g. C++, Java, etc.) and Lamdba calculus (lisp, erlang, ocaml, etc.) which is significant.

Re:Is Flex/Actionscript a real programming language? Can it ... by juwo on Wednesday May 02, 2007 @02:25PM (#18792)
but underlying it is a turing machine, right?
Re:Is Flex/Actionscript a real programming language? Can it ... by dpapathanasiou on Wednesday May 02, 2007 @03:18PM (#18807)
No, Turing and Lambda are different ways of representing the same underlying assembly code.

You're correct in that there is a direct line from the Turing imperative to the underlying assembly code, but given the choice between writing Lambda expressions or Turing expressions, why would you pick the latter?

Re:Is Flex/Actionscript a real programming language? Can it ... by juwo on Wednesday May 02, 2007 @10:43PM (#18897)
Even the lambda expression when running on the computer, is acting out a Turing machine; head travels over symbols on a tape, reads a symbol, changes state, stops or moves...

that is what I meant by old wine in new bottles.

Re:Is Flex/Actionscript a real programming language? Can it ... by dpapathanasiou on Thursday May 03, 2007 @09:44AM (#18976)
You're correct, unless your hardware is specifically designed for lambda calculus (like one of those old lisp machines), lambda code gets compiled into Turing instructions.

But why code in a Turing style (whether it's Java or assembly) when lambda programming is more efficient?

That's the point all the lambda folks are making.

Re:Is Flex/Actionscript a real programming language? Can it ... by juwo on Thursday May 03, 2007 @06:21PM (#19126)
"unless your hardware is specifically designed for lambda calculus (like one of those old lisp machines)"

No, I am talking about - at a deeper level, all computing can be reduced to a Turing machine. (Unless you are reading Roger Penrose on consciousness).

Maybe I am mistaken, I am out of touch.

Re:Is Flex/Actionscript a real programming language? Can it ... by juwo on Friday May 04, 2007 @01:22PM (#19442)
to clarify:

A Turing machine can simulate a deterministic finite automaton and a non-deterministic finite automaton.

All systems are arguably either of these two. Perhaps that's why we can simulate weather, and lots of other things.

Unless you look at human consciousness - Nobelist Roger Penrose has a theory that the mind is not a computer. That it has quantum states. (his book: The Emperor's New Mind - I didnt finish it - long and hard).