タグ

jitに関するsupermomongaのブックマーク (5)

  • PyPy.js: Now faster than CPython

    OK OK, I couldn't resist that title but it probably goes a bit far. Let me try for a little more nuance: PyPy.js: Now faster than CPython, on a single carefully-tuned benchmark, after JIT warmup. It has been the better part of a year since I first started hacking on PyPy.js, an experiment in bringing a fast and compliant python interpreter to the web. I've been pretty quiet during that time but ha

    PyPy.js: Now faster than CPython
  • Introducing Pyston: an upcoming, JIT-based Python implementation

    Introducing Pyston: an upcoming, JIT-based Python implementation Hello everyone, I’m very excited to announce Pyston, a new open-source implementation of Python, currently under development at Dropbox.  The goal of the project is to produce a high-performance Python implementation that can push Python into domains dominated by traditional systems languages like C++. Here at Dropbox, we love Python

    Introducing Pyston: an upcoming, JIT-based Python implementation
  • msumimz's diary

    JITコンパイルの生成元を、ASTからYARVインストラクションへ変更した話です。 JITコンパイルを行う元となる情報として、プログラムをパースした結果の構文木(AST)と、それをさらにコード化したYARVインストラクションがあります。今まではASTに基づいてCFGを生成していました。 ASTを使うことには、以下の利点があります。 安定している。文法が変わらない限り、ASTが変わることはあまりありません。YARVインストラクションは最適化の対象なので、いつ変更されるかわかりません。 生成されるCFGを最適化しやすい。YARVインストラクションはMRIの実行エンジンで効率的に実行できるように設計されており、JITコンパイラにとって最適とは限りません。ASTを直接変換した方が効率的なCFGを生成しやすいといえます。 疎結合。ASTは文法の表現であるという意味でYARVインストラクションより抽象

    msumimz's diary
  • luajitの実力 - miura1729の日記

    追記 LuaJITの作者Mike Pall氏より、twitterで次のようなアドバイスをいただきました。 1. No compiler is allowed to make this optimization. Floating-point arithmetic ist NOT associative. 2. Please use 'local' functions when publishing Lua benchmarks. 3. Please use the current version of LuaJIT. 訳(かなり怪しい) 1.このような最適化出来るコンパイラは無いよ。浮動小数点数の算術命令は結合的じゃないから 2. Luaのベンチマークを取るなら局所関数を使ってください 3. 最新バージョンのLuaJITを使ってください そういうわけで、ベンチマークを取り直します。 ベンチ

    luajitの実力 - miura1729の日記
  • PHPのJITコンパイラ「HipHop Virtual Machine」、Facebookがオープンソースで公開

    PHPのJITコンパイラ「HipHop Virtual Machine」、Facebookがオープンソースで公開 HipHop Virtual Machineは、PHPを高速に実行するためにPHPのコードをC/C++に変換してg++でコンパイルし、バイナリコードにするHiphop compiler(hphpc)と、PHPのインタプリタであるHipHop interpreter (hphpi)を組み合わせたもの。PHPのコードをダイナミックにバイナリコードへと変換することで、高速な実行を目指しています。 コンパイラと同等以上の実行速度へ HipHopはFacebookが開発し、オープンソースとして公開しています。今回のHipHop Virtual Machineも、これらの開発の延長線上にあるものです。 Our experiences with hphpc led us to start e

    PHPのJITコンパイラ「HipHop Virtual Machine」、Facebookがオープンソースで公開
  • 1