java

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

any chance of a version of VB that compiles to java byte code? then Sun would have a proper development langauge <g>
 
LOL!

Funny, but not a chance... unless you make it yourself. But quite frankly,
the CLR (IL) supports more instructions than Java bytecode, and you'd be
hard-pressed to convert some of the language features (anything with
delegates, P/Invoke, or any of the framework classes that are tied to
Windows features, for starters). In that respect, Java is lagging quite a
bit at the moment.

-Rob Teixeira [MVP]

hopefull said:
any chance of a version of VB that compiles to java byte code? then Sun
would have a proper development langauge <g>
 
LOL!

Funny, but not a chance... unless you make it yourself. But quite frankly,
the CLR (IL) supports more instructions than Java bytecode, and you'd be
hard-pressed to convert some of the language features (anything with
delegates, P/Invoke, or any of the framework classes that are tied to
Windows features, for starters). In that respect, Java is lagging quite a
bit at the moment.

-Rob Teixeira [MVP]


http://www.mainsoft.com/products/vmw_j2ee.html

They provided their Java code to Mono for their VB.NET runtime. The
mono team is converting the code to C#. mbas got a big boost forward.
 
I'm actually pretty psyched about the mono and mbas progress! Good to see
their beta getting more stable.

However, I still don't think you'll get 100% conversion from VB.NET to Java
byte code no matter how hard you try. There are just things in the .NET
world that Java byte code doesn't support. They could conceivably have some
helper libraries, but even then, i'm a bit sceptical.

To be perfectly honest, if you're looking for portability, i'd rather go
straight to Mono than try to compile VB to java byte code.

-Rob Teixeira [MVP]

 
Nonetheless, its still exciting to see this.

however... a bit costly at $5,000 per license.


Rob Teixeira said:
I'm actually pretty psyched about the mono and mbas progress! Good to see
their beta getting more stable.

However, I still don't think you'll get 100% conversion from VB.NET to Java
byte code no matter how hard you try. There are just things in the .NET
world that Java byte code doesn't support. They could conceivably have some
helper libraries, but even then, i'm a bit sceptical.

To be perfectly honest, if you're looking for portability, i'd rather go
straight to Mono than try to compile VB to java byte code.

-Rob Teixeira [MVP]
 
Back
Top