Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Ruby in Ruby - Building an AOT Compiler with Ruby

Ruby in Ruby - Building an AOT Compiler with Ruby

MATSUMOTO Katsuyoshi

September 25, 2024

Transcript

34 slides
  1. ELF Executable and Linking Format Linux などの Unix 系 OS

    で動作するバイナ リフォーマット
  2. Sections Text Section: 本体 Data Section, BSS Section, Note Section

    今回はサポートしないHeaderと必要最低限の実装 Symtab Section Strtab Section Shstrtab Section
  3. Current ((1 + 2) * 3) / (5-4) 上記のコードをx86_64 Assembly

    言語にコ ンパイル コンパイルされた Assembly 言語から ELF のオブジェクトファイルへアセンブル ELF のオブジェクトファイルと必要なライブ ラリをリンクし実行ファイルを生成

More Decks by MATSUMOTO Katsuyoshi

Other Decks in Programming