Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.java.help > #3639

Re: c 2 java

From Eric Sosman <esosman@comcast-dot-net.invalid>
Newsgroups comp.lang.java.help
Subject Re: c 2 java
Date 2015-11-06 16:16 -0500
Organization A noiseless patient Spider
Message-ID <n1j57l$aqg$1@dont-email.me> (permalink)
References <n1j2kd$5sf$3@reader1.panix.com>

Show all headers | View raw


On 11/6/2015 3:30 PM, vjp2.at@at.BioStrategist.dot.dot.com wrote:
> Is there an online c-to-java converter?

     I don't know, but I doubt it.  C's and Java's models of computing
are significantly different, and I think it would be very difficult to
translate C to Java.  For starters, C can inspect and alter individual
bytes of an object representation, while Java cannot.  This means that
almost anything you do with a C pointer would be very hard to simulate
in Java.

     Lisp-to-Java might be easier. ;-)

     What is the larger problem you are trying to solve?  What piece of C
are you interested in translating to Java, and why?

-- 
esosman@comcast-dot-net.invalid
"Don't be afraid of work. Make work afraid of you." -- TLM

Back to comp.lang.java.help | Previous | NextPrevious in thread | Next in thread | Find similar


Thread

c 2 java vjp2.at@at.BioStrategist.dot.dot.com - 2015-11-06 20:30 +0000
  Re: c 2 java Eric Sosman <esosman@comcast-dot-net.invalid> - 2015-11-06 16:16 -0500
    Re: c 2 java vjp2.at@at.BioStrategist.dot.dot.com - 2015-11-08 02:53 +0000
      Re: c 2 java Eric Sosman <esosman@comcast-dot-net.invalid> - 2015-11-08 07:39 -0500
        Re: c 2 java vjp2.at@at.BioStrategist.dot.dot.com - 2015-11-09 00:41 +0000

csiph-web