java inside c#

  • Thread starter Thread starter Pujo Aji
  • Start date Start date
P

Pujo Aji

any one has experiance in programming java inside c#?
Is it hard or easy?

Best regards
Pujo
 
Java and C# are their own languages and have nothing to do with each other.
Can you be more specific as to what you mean "programming java inside c#"?
 
Pujo said:
any one has experiance in programming java inside c#?
Is it hard or easy?

You can access java libraries from .NET or vice versa using IKVM. You
can even convert java-bytecode to a .NET assembly.
http://www.ikvm.net/

If you're doing a GUI program though, it is probably best to stick with
just java (and swing) or just .NET (windows.forms or whatever).

If you are not experienced with C# or Java, you might check out boo, a
simple programming language like python that runs on .NET:
http://boo.codehaus.org/
 
I just thought that combining language is cool, so for example java have
piped architecture paradigm, if this can be implemented in C# this could be
very good.

I just wonder if we can write full java program/code and C# together in
Visual studio.


Best Regard
Pujo
 
Pujo Aji said:
I just thought that combining language is cool, so for example java have
piped architecture paradigm, if this can be implemented in C# this could be
very good.

What exactly do you mean by "piped architecture paradigm"?
I just wonder if we can write full java program/code and C# together in
Visual studio.

Well, there's J# which compiles to IL as well...
 
Have you ever worked with a product called Eclipse? It is written in java,
and I've heard rumors that you can use it as a framework within which you
can write .net applications. What's your take on it?
 
David Levine said:
Have you ever worked with a product called Eclipse?

Certainly have. It's wonderful.
It is written in java, and I've heard rumors that you can use it as a
framework within which you can write .net applications. What's your
take on it?

Well, there's a 3rd party C# editor plugin, but last time I looked it
was abysmal. It may have improved, but I doubt that it's anything like
up to the level of the Java tooling (which is excellent).
 
Jon Skeet said:
Certainly have. It's wonderful.

What do you like about it? How does it compare to the .NET framework and
tools?
Well, there's a 3rd party C# editor plugin, but last time I looked it
was abysmal. It may have improved, but I doubt that it's anything like
up to the level of the Java tooling (which is excellent).

That's not encouraging. It's being pushed down on us from upper mgmt as a
framework that we should use for our .net applications. Do you have any
thoughts on what the likely result of trying this would be?

Thanks,
Dave
 
David Levine said:
What do you like about it? How does it compare to the .NET framework and
tools?

It doesn't really compare to .NET at all in itself - it's an IDE (or
toolkit for building an IDE and similar things) rather than a platform
in the way that .NET is.

Compared to VS.NET, it has various advantages and a few disadvantages.
It has better (IMO) intellisense, partly because when there are
multiple overloads it gives you a dropdown tooltip rather than a single
line...
That's not encouraging. It's being pushed down on us from upper mgmt as a
framework that we should use for our .net applications. Do you have any
thoughts on what the likely result of trying this would be?

Yes - pain. Eclipse is fundamentally Java-based. While you *can* use it
to develop .NET, it's far from the best choice, and certainly you don't
want to use the platform side of it as the basis of a .NET application.

It's very much like trying to use VS.NET (minus J#) for Java
development. It can be done, no doubt, but it would be very silly to do
it.
 
piped architecture paradigm is other paradigm which combine the filter and
pipe data, so you bild filter and pipe and than start the threading of each
filter. the pipe only know to transfer data, the filter only know to receive
data and write data using pipe.

Pujo
 
Hello,

I use eclipse (build by IBM) to developt java program, I don't know if we
can developt .net framework. It is cool (has refactoring) and moden IDE
looknfeel. But I still think that Visual Studio is the best IDE.

Pujo
David Levine said:
Have you ever worked with a product called Eclipse? It is written in java,
and I've heard rumors that you can use it as a framework within which you
can write .net applications. What's your take on it?
 
Pujo Aji said:
piped architecture paradigm is other paradigm which combine the filter and
pipe data, so you bild filter and pipe and than start the threading of each
filter. the pipe only know to transfer data, the filter only know to receive
data and write data using pipe.

Well that's certainly not exclusive to Java. C#/.NET has streams too -
you can do it just as easily in .NET as in Java.
 
Yes - pain. Eclipse is fundamentally Java-based. While you *can* use it
to develop .NET, it's far from the best choice, and certainly you don't
want to use the platform side of it as the basis of a .NET application.

It's very much like trying to use VS.NET (minus J#) for Java
development. It can be done, no doubt, but it would be very silly to do
it.
Some people use religous impulses instead of engineering discipline, and
members of the "I hate Microsoft" crowd are very capable of making silly
decisions. Thanks for the input.
 
it is only simply combine java language with C# language under Visual Studio
IDE.

Best Regards
Pujo
 
Just out of idle curiousity, will J# emit Java IL or strictly MSIL?

If so, it seems like it might be possible and maybe even easy using
reflection to emit IL.
 
Back
Top