从C源代码为Java字节code? [英] From C Source to Java Bytecode?

查看:99
本文介绍了从C源代码为Java字节code?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在寻找一种方式来编译C源$ C ​​$ C到高性能的Java字节code。我已经成功地使用 NestedVM ,但性能损失不是一个项目,我的工作可以接受的。我也看到针对这个问题,一些是商业产品的各种开源项目。
这太问题涉及转换非Java的一般问题成Java源代码,但我只想从C转到Java字节code。

I'm looking for a way to compile C source code into high-performance Java bytecode. I've successfully used NestedVM, but the performance hit is not acceptable for a project I'm working on. I've also seen various open source projects aimed at this problem and a couple of commercial products. This SO question deals with general problem of converting non-Java into Java source, but I only want to go from C to Java bytecode.

什么是编译的C源$ C ​​$ C到高性能,纯Java字节code的最佳方式?

What's the best way to compile C source code into high-performance, pure Java bytecode?

推荐答案

嗯,这就是所谓的编译器。你问的C编译器为目标的JVM。

Um, that's called "a compiler". You're asking for a C compiler that targets the JVM.

<一个href=\"http://www.google.com/search?q=C+compiler+JVM+target&ie=utf-8&oe=utf-8&aq=t&rls=org.mozilla:en-US:official&client=firefox-a\">Google对于,你会发现公理化ANSI C编译器

这篇关于从C源代码为Java字节code?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆