国产成人精品亚洲777人妖,欧美日韩精品一区视频,最新亚洲国产,国产乱码精品一区二区亚洲

您的位置:首頁(yè)技術(shù)文章
文章詳情頁(yè)

AMPC發(fā)布-從C代碼自動(dòng)生成Java代碼

瀏覽:2日期:2024-03-15 11:13:05
Axiomatic Solutions 宣布發(fā)布 一款新產(chǎn)品-AMPC(Axiomatic Multi-Platform C). AMPC可以自動(dòng)的將你的C代碼生成為Java代碼。AMPC宣稱(chēng)支持大部分C89-C語(yǔ)言最初的ANSI/ISO標(biāo)準(zhǔn)。也是現(xiàn)在大部分程序員認(rèn)作C語(yǔ)言的版本。AMPC不支持Bit field,支持有限的double types, fork() 函數(shù)也被賦予了不同的意義。同時(shí),用一個(gè)大的int數(shù)組來(lái)代表內(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)文章:
主站蜘蛛池模板: 绥化市| 白城市| 阿城市| 和平县| 罗定市| 阳泉市| 浙江省| 沾化县| 深圳市| 定边县| 略阳县| 大同县| 威信县| 咸宁市| 浦县| 四子王旗| 正镶白旗| 榆树市| 东光县| 若尔盖县| 安达市| 韶山市| 巴楚县| 上饶县| 固始县| 广东省| 凤翔县| 额敏县| 哈密市| 涿鹿县| 哈巴河县| 滦南县| 历史| 新建县| 冀州市| 察隅县| 宝应县| 东源县| 长乐市| 万宁市| 丰城市|