• Advertisement

Archived

This topic is now archived and is closed to further replies.

java c compiler

This topic is 5587 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

here''s a question that just evolved in the office. you know how these things happen on a friday. would it be significantly more difficult to write a c compiler in java or a java compiler in c. ie, are there any language specific features missing from either language which would be required to implement a compiler for the other language.

Share this post


Link to post
Share on other sites
Advertisement
java source -> bytecode is minimal amount of work compared to C -> native code, since alot of the fancier features in java (polymorphism etc.) are performed by the JVM. IMHO, this is probably considerably easier..

Share this post


Link to post
Share on other sites
quote:
Original post by Mr Whippy
here''s a question that just evolved in the office.
you know how these things happen on a friday.

would it be significantly more difficult to write a c compiler in java or a java compiler in c.

ie, are there any language specific features missing from either language which would be required to implement a compiler for the other language.


short anwser :
No

long answer :
No

Share this post


Link to post
Share on other sites

  • Advertisement