文章詳情頁
AMPC發(fā)布-從C代碼自動(dòng)生成Java代碼
瀏覽:5日期:2024-03-15 11:13:05
Axiomatic Solutions 宣布發(fā)布 一款新產(chǎn)品-AMPC(Axiomatic Multi-Platform C). AMPC可以自動(dòng)的將你的C代碼生成為Java代碼。AMPC宣稱支持大部分C89-C語言最初的ANSI/ISO標(biāo)準(zhǔn)。也是現(xiàn)在大部分程序員認(rèn)作C語言的版本。AMPC不支持Bit field,支持有限的double types, fork() 函數(shù)也被賦予了不同的意義。同時(shí),用一個(gè)大的int數(shù)組來代表內(nèi)存尋址。官方提到: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.
標(biāo)簽:
Java
相關(guān)文章:
1. IntelliJ IDEA 2021.1 EAP 4 發(fā)布:字體粗細(xì)可調(diào)整Git commit template 支持2. PHP 4.4.0發(fā)布 修復(fù)導(dǎo)致內(nèi)存崩潰問題3. Spring Framework 1.2.8發(fā)布4. Docker 部署 Prometheus的安裝詳細(xì)教程5. SpringBoot+Prometheus+Grafana實(shí)現(xiàn)應(yīng)用監(jiān)控和報(bào)警的詳細(xì)步驟6. Blandware AtLeap 0.5 發(fā)布--Java CMS7. Struts的Java 5 擴(kuò)展框架Strecks 1.0 發(fā)布8. IBM 發(fā)布Java字節(jié)碼分析工具Biptk9. java 運(yùn)行報(bào)錯(cuò)has been compiled by a more recent version of the Java Runtime10. Spring-Annotation 1.0 發(fā)布
排行榜
