文章詳情頁
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 EAP 1 發布支持 Java 16 和 WSL 22. Docker使用Git實現Jenkins發布、測試項目的詳細流程3. Java App表達式語言最終版MVEL 2.0 發布4. 真正面向對象編程:PHP5.01發布5. Java SE 6 update 10發布了!6. Spring-Annotation 1.0 發布7. Seam 1.0 beta 2 發布-Java EE 5開發框架8. IntelliJ IDEA 2021.1 首個 Beta 版本發布9. Sun 發布Java EE 5 &NetBeans 5.5 預覽版10. MindTerm 3.0 發布-基于Java的SSH客戶端
排行榜
