文章詳情頁
AMPC發(fā)布-從C代碼自動生成Java代碼
瀏覽:4日期:2024-03-15 11:13:05
Axiomatic Solutions 宣布發(fā)布 一款新產品-AMPC(Axiomatic Multi-Platform C). AMPC可以自動的將你的C代碼生成為Java代碼。AMPC宣稱支持大部分C89-C語言最初的ANSI/ISO標準。也是現(xiàn)在大部分程序員認作C語言的版本。AMPC不支持Bit field,支持有限的double types, fork() 函數(shù)也被賦予了不同的意義。同時,用一個大的int數(shù)組來代表內存尋址。官方提到: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. Java圖形組件JGraph 5.7.1新版發(fā)布2. Django contrib auth authenticate函數(shù)源碼解析3. Spring Web Flow 1.0 發(fā)布4. Docker 部署 Prometheus的安裝詳細教程5. Java剖析工具YourKit 發(fā)布5.0版本6. Spring Security如何基于Authentication獲取用戶信息7. Java EE 5 SDK Update 1 發(fā)布8. 使用 prometheus python 庫編寫自定義指標的方法(完整代碼)9. Prometheus 入門教程之SpringBoot 實現(xiàn)自定義指標監(jiān)控10. PHP 4.4.0發(fā)布 修復導致內存崩潰問題
排行榜
