久久r热视频,国产午夜精品一区二区三区视频,亚洲精品自拍偷拍,欧美日韩精品二区

您的位置:首頁技術文章
文章詳情頁

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
相關文章:
主站蜘蛛池模板: 木兰县| 化德县| 西城区| 玉树县| 天全县| 临西县| 始兴县| 横山县| 万山特区| 攀枝花市| 茂名市| 集安市| 双柏县| 吴江市| 普安县| 同江市| 锦屏县| 同心县| 广东省| 中卫市| 平泉县| 如东县| 永春县| 五华县| 宁明县| 和硕县| 银川市| 敦煌市| 平山县| 河间市| 荃湾区| 昆明市| 重庆市| 合山市| 兖州市| 永嘉县| 泽普县| 恩施市| 赣榆县| 金堂县| 光山县|