文章详情页
AMPC发布-从C代码自动生成Java代码
浏览:4日期:2024-03-15 11:13:05
Axiomatic Solutions 宣布发布 一款新产品-AMPC(Axiomatic Multi-Platform C). AMPC可以自动的将你的C代码生成为Java代码。AMPC宣称支持大部分C89-C语言最初的ANSI/ISO标准。也是现在大部分程序员认作C语言的版本。AMPC不支持Bit field,支持有限的double types, fork() 函数也被赋予了不同的意义。同时,用一个大的int数组来代表内存寻址。官方提到:The AMPC (Axiomatic Multi-Platform C) compiler/IDE tries to follow the ANSI C (1989) standard as closely as possible, but it is yet to be fully compliant. Although it is not pure ANSI C (1989), it supports a very large subset of the standard. The JVM architecture has no built-in addressable memory architecture, hence, we resort to using one large array of int as a substitute for addressable memory. We minimize referencing the large array of int when referencing local variables by means of a register allocation technique based on the priority based graph coloring algorithm, utilizing JVM's local variables as 'registers'. This results in faster executables somewhat. Each address location of the monolithic memory architecture takes up 32-bit space. So, the memory space is 4-bytes-addessable (word-addressable) and not byte-addressable. Consequently, all scalar data types are 4 bytes long and they are int, char, float, and double.
标签:
Java
相关文章:
1. IntelliJ IDEA 2021.1 首个 Beta 版本发布2. Java剖析工具YourKit 发布5.0版本3. Java App表达式语言最终版MVEL 2.0 发布4. IDEA下因Lombok插件产生的Library source does not match the bytecode报错问题及解决方法(亲测可用)5. IntelliJ IDEA 2021.1 EAP 1 发布支持 Java 16 和 WSL 26. Java剖析工具JProfiler 4.2 发布7. Struts的Java 5 扩展框架Strecks 1.0 发布8. IntelliJ IDEA 2020.2正式发布,两点多多总能助你提效9. Java EE应用服务器JBoss 5.0 Beta 发布10. Docker 部署 Prometheus的安装详细教程
排行榜