C/C++編譯器 AsmJit

fmms 14年前發布 | 21K 次閱讀 C/C++開發 C/C++

[AsmJit] 是個以 C++ 封裝的 JIT (Just-In-Time) Assembler,目前支援的硬體架構有 x86 與 x86_64,以 MIT X License 釋出。或許讀者對這樣的 Assembler 沒有太大的興趣,但專案卻跟 Google Chrome 瀏覽器引擎有些淵源。怎麼說呢?去年九月,Google 發佈了新一代網路瀏覽器 Chrome,當時幾乎佔據了各大資訊新聞的版面。發佈瀏覽器的同時,還伴隨了一本畫冊,以平實且幽默的和漫畫,闡述新推出的 Chrome 瀏覽器的各功能,包含其中嶄新的 JavaScript (ECMAScript) 執行引擎,搶了風采,讓同等級的瀏覽器頓時失色。由 Google 將其代號命名為 [V8],強調有如 V8 賽車的高速 JavaScript 執行效率,可見 Google 的開發決心。

  • Complete x86/x64 instruction set, including X87, MMX, SSE, SSE2, SSE3, SSSE3 and SSE4.
  • Compile time and run-time safety. C++ compiler is able to catch basic mistakes that can be done by developer.
  • Low-level and high-level code generation.
  • Built-in CPU detection.
  • Virtual memory management (API similar to malloc/free).
  • Configurable memory management, logging and error handling.
  • Small and embeddable (size of compiled AsmJit is about 200kB).
  • No dependencies to STL and other libraries.
  • No exceptions and RTTI.
  • Extensible design. The library can be extended by inheriting classes, it's not needed to modify AsmJit sources to fit into your project.

項目主頁:http://www.baiduhome.net/lib/view/home/1326978630655

 

 本文由用戶 fmms 自行上傳分享,僅供網友學習交流。所有權歸原作者,若您的權利被侵害,請聯系管理員。
 轉載本站原創文章,請注明出處,并保留原始鏈接、圖片水印。
 本站是一個以用戶分享為主的開源技術平臺,歡迎各類分享!