Live data from Hacker News

Is Flex/Actionscript a real programming language? Can it do what Java does? (work offline, write files, networking etc.)

news.ycombinator.com

21–27 of 27 posts

Re: Is Flex/Actionscript a real programming language? Can it do what Java does? (work offline, write files, networking etc.)

#21
post #13

Why would you want to compare it to java? Ye gods man, java/c/c++/c# aren't exactly the kind of languages I'd want a new language to compare with. Python, Ruby, Haskell98, ocaml, etc. Consider those your languages that set the bar right now. Java is 'the new' C.

Never heard of them. (heard of ruby only here, in YC). old wine in new bottles. if-then-else by any other name... is just as tedious.

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 do what Java does? (work offline, write files, networking etc.)

#22
post #13

Earlier quoted context omitted.

Never heard of them. (heard of ruby only here, in YC). old wine in new bottles. if-then-else by any other name... is just as tedious.

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 .

but underlying it is a turing machine, right?

Re: Is Flex/Actionscript a real programming language? Can it do what Java does? (work offline, write files, networking etc.)

#23
post #22

Earlier quoted context omitted.

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 .

but underlying it is a turing machine, right?

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 do what Java does? (work offline, write files, networking etc.)

#24
post #22

Earlier quoted context omitted.

but underlying it is a turing machine, right?

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?

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 do what Java does? (work offline, write files, networking etc.)

#25
post #24

Earlier quoted context omitted.

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?

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.

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 do what Java does? (work offline, write files, networking etc.)

#26
post #24

Earlier quoted context omitted.

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.

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.

"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 do what Java does? (work offline, write files, networking etc.)

#27
post #26

Earlier quoted context omitted.

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.

"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.

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).

Post reply on HN