473,466 Members | 1,294 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

C# to Java converter

T K
Anyone aware of such a converter? Anyone know why SUN is not all over it?

tia

-t
Jul 17 '05 #1
5 9402


T K wrote:
Anyone aware of such a converter? Anyone know why SUN is not all over it?

tia

-t


Why would we need such a converter? C# is trash. Who would ever want
to turn it into Java? Garbage in, Garbage out.

Jul 17 '05 #2
There are some features in C# that Java doesn't
have like structures that allow you to specify the
memory layout of data. And the "unsafe" keyword.

"Alexander Bryanson" <ar********@yahoo.com> wrote in message
news:p_****************@fe1.columbus.rr.com...


T K wrote:
Anyone aware of such a converter? Anyone know why SUN is not all over it?
tia

-t


Why would we need such a converter? C# is trash. Who would ever want
to turn it into Java? Garbage in, Garbage out.

Jul 17 '05 #3
So such a converter would be unable to translate these features, correct?

Phil... wrote:
There are some features in C# that Java doesn't
have like structures that allow you to specify the
memory layout of data. And the "unsafe" keyword.

"Alexander Bryanson" <ar********@yahoo.com> wrote in message
news:p_****************@fe1.columbus.rr.com...

T K wrote:

Anyone aware of such a converter? Anyone know why SUN is not all over
it?
tia

-t


Why would we need such a converter? C# is trash. Who would ever want
to turn it into Java? Garbage in, Garbage out.



Jul 17 '05 #4
well do you know how to turn off array bounds checking
i don't

"Alexander Bryanson" <ar********@yahoo.com> wrote in message
news:Ln******************@fe3.columbus.rr.com...
So such a converter would be unable to translate these features, correct?

Phil... wrote:
There are some features in C# that Java doesn't
have like structures that allow you to specify the
memory layout of data. And the "unsafe" keyword.

"Alexander Bryanson" <ar********@yahoo.com> wrote in message
news:p_****************@fe1.columbus.rr.com...

T K wrote:
Anyone aware of such a converter? Anyone know why SUN is not all over


it?
tia

-t

Why would we need such a converter? C# is trash. Who would ever want
to turn it into Java? Garbage in, Garbage out.


Jul 17 '05 #5
Phil,

Sun has indicated
(<http://java.sun.com/products/hotspot/docs/whitepaper/Java_HSpot_WP_v1.4_802_1.html>)
that their JIT compiler has the ability to infer when the bytecode
it's compiling to machine code cannot generate out-of-bounds array
indexes. When it makes that determination, it will omit the bounds
checks from the JIT-compiled machine code it emits.

Randall Schulz
Phil... wrote:
Well do you know how to turn off array bounds checking? I don't.


Jul 17 '05 #6

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

8
by: Dave D | last post by:
I just read something that spooked me. I'm a newbie working my way through "SAMS Teach Youself Java 2 in 21 Days." I used to code a bit in Symantec's Visual Cafe for Java about 3 years ago, but...
4
by: Stefan Poehn | last post by:
Hi does anybody know a tool that converts Java-Code to C++? I need a very simple converter that does NOT need to cover Threading, Swing, Exceptions, Reflection, RMI, Security, Networking and...
13
by: Ravi | last post by:
Do we have anything that could convert C++ code to java code? To what extent are such tools reliable? TIA. -- main(){char s="sbwjAeftqbnnfe/dpn!ps!CSbwjACjhgppu/dpn"; int...
8
by: Andreas Nauerz | last post by:
Hallo, does anyone know a program able to convert Java sourcecode to C or C++ sourcecode ? Thanks. Regards... P.S.: I am only using standard classes of Java 1.3.1 SE
21
by: Martin Demberger | last post by:
Hi, I'm working on an article about compiling java-sources to c++. I'm interessted if someone would use this to write a program in java (and the good IDE's available for java) and convert this to...
11
by: asj | last post by:
just read about a person who did work in C# then decided to switch to java (because he wanted to run his apps in multiple platforms, inc linux). he mentioned that someone should market a c# to Java...
3
by: mamalyn | last post by:
Could anyone help me? could anyone share with me any source code or program code that outputs a simple converter of java to c or c to java..?please help me, hope you can help as early as now, I...
4
by: Yonih | last post by:
So I am trying to get this Calculator to work. It needs to take in a vaule, and select a shipping Everythin works great except the shipping part. I need it to take the shipping value and add it to...
2
by: yinka90 | last post by:
Hi. I have a problem with my converter. It works fine. the only problem is that it doesnt convert single digit numbers properly. public class Main { /** * @param args the command line...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.