Article page

多言語実装の拡充と出力互換の整理

Back to month Previous article Next article

概要

PHP と C++ の実装を追加し、Python の .pyc 比較や NativeAOT、build size 表示なども含めてベンチマーク環境を広げた。各言語の出力を Ruby 基準に揃え直し、空 LTSV 値などの差分も解消した。

進めたこと

  • Zig / Rust / Go / C# NativeAOT / Python / PHP / C++ の各実装を追加・拡充した
  • tools/bench.rb に build size 表示や timestamp 表示を入れて、比較しやすくした
  • Python の .pyc 事前生成版をベンチ対象に追加した
  • PHP と C++ の LTSV 空値を Ruby 互換に揃えた
  • README の環境依存記述を整理した
  • 各言語のテストと just test を整備した
  • ベンチとテストを通して、複数言語の出力互換を確認した

Commits

  • e6fadcf Add C++ implementation
  • 81ddfcf Add PHP implementation
  • cd77cea README の整理
  • 4c86017 開発環境に依存した記述を修正
  • 35919e3 Add Python implementation
  • 8c1eb7d Report build sizes in benchmark output
  • b7c6c6e Add C# NativeAOT support
  • a8f5a6e Add Go implementations
  • e548c42 Add Rust implementation
  • 4f8c36f Adapt outputs to Ruby 4.0 inspect format
  • 3c2c16d Refine Ruby implementation and pin version
  • d07bc5d Add Zig implementation
Back to month Previous article Next article