Re: GoTo in Java



"Michael Wojcik" <mwojcik@xxxxxxxxxxx> wrote in message
news:dr86lm018pk@xxxxxxxxxxxxxxxxxxxx
>
> I've seen countless lines of C++
> struggling to perform what could be done with far less effort - and
> far fewer bugs - in OCaml.

I played around with a .NET introspection tool. For any given code
compiled to the .NET platform (regardless of what language it was originally
written in), the tool could decompiled the bytecode into C#, VB.NET or MSIL.

It'd be nice if, in the near future, all programming languages could be
compile to some platform neutral IL, which could be run on any hardware
(with sufficient computational power -- I'm not expecting miracles like
running Windows XP on my wristwatch), and then be decompiled in this
fashion.

Availability of software would no longer be a problem or factor in OS
selection.

The source code within a single file (or "compilational unit") could be
written in a dozen different programming languages, and with a sufficiently
smart IDE, you could just highlight any block of code and translate it to
the language of your choice.

You could write your simple OCaml code, and me, not being an OCaml guy,
would highlight it, right click, and choose "View as Java", say to myself
"Oh... so that's what this does..." and change it back and continue coding
some other part of the system.

- Oliver


.



Relevant Pages

  • Re: interpretive vs. compiled
    ... interpreter executing on a given processor might still execute your ... High level and advanced dynamic programming languages such as Common ...   happening later. ... Without compile time checks you will probably find the errors ...
    (comp.programming)
  • Re: interpretive vs. compiled
    ... interpreter executing on a given processor might still execute your ... more complex applications than static programming languages. ... High level and advanced dynamic programming languages such as Common ... Without compile time checks you will probably find the errors ...
    (comp.programming)
  • Re: RAD vs. performance
    ... exactly the same for a dynamically typed language as it is for Ocaml? ... general philosophy behind dynamic typing, ... it doesn't matter if it complains at compile time. ...
    (comp.lang.misc)
  • Re: Troll-o-Matic
    ... performance and compile time and you can draw a conclusion... ... SCBL is a better choice on my lowly 32 bit machine ... The Ocaml compiler obviously really likes 64 bit code, ... is significantly better on Intel hardware. ...
    (comp.lang.lisp)
  • Re: GoTo in Java
    ... >> far fewer bugs - in OCaml. ... >written in a dozen different programming languages, ... >the language of your choice. ... compile" to a different language. ...
    (comp.lang.cobol)