並び順

ブックマーク数

期間指定

  • から
  • まで

1 - 29 件 / 29件

新着順 人気順

TruffleRubyの検索結果1 - 29 件 / 29件

  • Parallel and Thread-Safe Ruby at High-Speed with TruffleRuby

    These are the slides of my keynote at RubyKaigi 2018: http://rubykaigi.org/2018/presentations/eregontp.html#jun02 Array and Hash are used in every Ruby program. Yet, current implementations either prevent the use of them in parallel (the global interpreter lock in MRI) or lack thread-safety guarantees (JRuby and Rubinius raise an exception on concurrent Array append). Concurrent::Array from concur

      Parallel and Thread-Safe Ruby at High-Speed with TruffleRuby
    • GitHub - oracle/truffleruby: A high performance implementation of the Ruby programming language, built on GraalVM.

      You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session. You switched accounts on another tab or window. Reload to refresh your session. Dismiss alert

        GitHub - oracle/truffleruby: A high performance implementation of the Ruby programming language, built on GraalVM.
      • Benchmarking CRuby, MJIT, YJIT, JRuby and TruffleRuby

        Benchmarking CRuby, MJIT, YJIT, JRuby and TruffleRuby In this blog post we benchmark many Ruby versions and the latest Ruby Just-in-Time compilers (JITs) on the newest Ruby benchmark suite, yjit-bench. As a teaser, the geometric mean speedups compared to CRuby 3.1 on these 14 benchmarks are: MJIT 1.26x, YJIT 1.39x, JRuby 1.86x and TruffleRuby 6.23x. Read on to find more about the benchmarks and ga

          Benchmarking CRuby, MJIT, YJIT, JRuby and TruffleRuby
        • 週刊Railsウォッチ(20170127)わかりやすいAWSサービス名、Rails DBは便利、TruffleRubyの驚異的速度ほか|TechRacho by BPS株式会社

          2017.01.27 週刊Railsウォッチ(20170127)わかりやすいAWSサービス名、Rails DBは便利、TruffleRubyの驚異的速度ほか こんにちは、hachi8833です。先週の更新情報が一段落付いたので平常運転?に戻ります。それでは今週も行ってみましょう。 Railsコアから切り離されたAction Pack gem 2種が更新 ソース: Rails公式ニュース Action Pack Page Caching gem Action Pack Action Caching gem 一同で確認したところ、この2つのgemがRailsのコアから切り出されたのはRails 4のときでした。そのとき以来のまとまった更新ということになります。 現在のRailsでは上の2つの代わりにRussian Doll Caching(旧fragment caching)がデフォルトです。

            週刊Railsウォッチ(20170127)わかりやすいAWSサービス名、Rails DBは便利、TruffleRubyの驚異的速度ほか|TechRacho by BPS株式会社
          • GitHub - postmodern/ruby-install: Installs Ruby, JRuby, Rubinius, TruffleRuby or MRuby

            You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session. You switched accounts on another tab or window. Reload to refresh your session. Dismiss alert

              GitHub - postmodern/ruby-install: Installs Ruby, JRuby, Rubinius, TruffleRuby or MRuby
            • GitHub - okuramasafumi/alba: Alba is a JSON serializer for Ruby, JRuby and TruffleRuby.

              You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session. You switched accounts on another tab or window. Reload to refresh your session. Dismiss alert

                GitHub - okuramasafumi/alba: Alba is a JSON serializer for Ruby, JRuby and TruffleRuby.
              • TruffleRuby on the Substrate VM - Kevin Menard's Weblog

                Test suites like this are generally hard on optimizing runtimes. They always start in a cold state, they run for a short period of time, and in the case of JVM-based languages they incur a high degree of overhead when spawning new processes. For this test suite, which has 2,121 specs and 3,824 assertions, TruffleRuby on the SVM is 6.6 times faster than TruffleRuby on the JVM, shaving almost a full

                • Running Rack and Rails Faster with TruffleRuby

                  Video at https://youtu.be/0ykPiPAKZL8?t=16104 Code at https://github.com/eregon/rsb/tree/bench Presentation at RubyKaigi 2020 https://rubykaigi.org/2020-takeout/speakers#eregontp Optimizing Rack and Rails applications with a just-in-time (JIT) compiler is a challenge. For example, MJIT does not speed up Rails currently. TruffleRuby tackles this challenge. We have been running the Rails Simpler Ben

                    Running Rack and Rails Faster with TruffleRuby
                  • TruffleRuby Native: Fast Even for Short Scripts

                    There seems to be essentially 2 categories in these benchmarks. Scripts which take less than 1 second and on which none of the implementations with a JIT runs faster than MRI trunk. But the JIT implementations also don’t take more than 1 second, so it’s likely not a big difference to the user. For scripts which run for more than 1 second, TruffleRuby Native saves a significant amount of time (exce

                      TruffleRuby Native: Fast Even for Short Scripts
                    • TruffleRuby

                      TruffleRuby started as my internship project at Oracle Labs in early 2013. It is an implementation of the Ruby programming language on the JVM, using the Graal dynamic compiler and the Truffle AST interpreter framework. TruffleRuby can achieve peak performance well beyond that possible in JRuby at the same time as being a significantly simpler system. In early 2014 it was open sourced and integrat

                      • 週刊Railsウォッチ(20200907前編)スライド『Rails 6.1で新しく入る機能について』、Railsコミュニティサーベイ、TruffleRubyでZeitwerkが動いたほか|TechRacho by BPS株式会社

                        2020.09.07 週刊Railsウォッチ(20200907前編)スライド『Rails 6.1で新しく入る機能について』、Railsコミュニティサーベイ、TruffleRubyでZeitwerkが動いたほか こんにちは、hachi8833です。RubyKaigi Takeout 2020が無事開催されましたね。主催者/登壇者/参加者/スポンサーの皆さまお疲れさまでした! 1日目のライブ動画冒頭に映ったBPS株式会社のスポンサー表示です↓。 各記事冒頭には⚓でパーマリンクを置いてあります: 社内やTwitterでの議論などにどうぞ 「つっつきボイス」はRailsウォッチ公開前ドラフトを(鍋のように)社内有志でつっついたときの会話の再構成です👄 今回のつっつき会はRubyKaigi Takeout 2020前日ということもあり、つとめて軽くしました。 ところが録画に失敗してしまったため今回

                          週刊Railsウォッチ(20200907前編)スライド『Rails 6.1で新しく入る機能について』、Railsコミュニティサーベイ、TruffleRubyでZeitwerkが動いたほか|TechRacho by BPS株式会社
                        • 週刊Railsウォッチ:TruffleRubyでdig_fetchを実装、ruby/debug gem、AWSハンズオン教材ほか(20210901後編)|TechRacho by BPS株式会社

                          こんにちは、hachi8833です。遅ればせながら私もRubyKaigi Takeout 2021のTシャツを注文しました。 衣服を買ったのは久しぶりな気がする…… pic.twitter.com/JgCRafrFdL — yancya (@yancya) August 25, 2021 参考: Novelties - RubyKaigi Takeout 2021 週刊Railsウォッチについて 各記事冒頭には🔗でパーマリンクを置いてあります: 社内やTwitterでの議論などにどうぞ 「つっつきボイス」はRailsウォッチ公開前ドラフトを(鍋のように)社内有志でつっついたときの会話の再構成です👄 お気づきの点がありましたら@hachi8833までメンションをいただければ確認・対応いたします🙏 TechRachoではRubyやRailsなどの最新情報記事を平日に公開しています。Tec

                            週刊Railsウォッチ:TruffleRubyでdig_fetchを実装、ruby/debug gem、AWSハンズオン教材ほか(20210901後編)|TechRacho by BPS株式会社
                          • Galaaz を触ってみた(TruffleRuby + ggplot2 で散布図を描いてみた) - Qiita

                            日本語での言及がまだないようだったので TruffleRuby + Galaaz の人柱やってみました。GraalVM, R, ggplot2 について詳しくない人が見様見真似で書いています。 (このグラフは graalvm-demos に入っているデモコードを実行して描いたもの) Galaaz GraalVM を使って R の機能を Ruby から使うための gem。 作者の Rodrigo Botafogo さんによる解説記事。これらの記事で Galaaz の存在を知りました。 graalvm-demos This repository contains several small applications. These programs illustrate the capabilities of GraalVM GraalVM を使うとこんなことができるよ、というデモを集めたリポジ

                              Galaaz を触ってみた(TruffleRuby + ggplot2 で散布図を描いてみた) - Qiita
                            • TruffleRuby

                              GraalVM for JDK 22 (Latest) GraalVM for JDK 23 (Early Access) GraalVM for JDK 21 GraalVM for JDK 20 GraalVM for JDK 17 GraalVM 22.3 GraalVM 22.2 GraalVM 22.1 GraalVM 22.0 GraalVM 21.3 Dev Build Home Latest Reference Manual TruffleRuby TruffleRuby is the GraalVM high-performance implementation of the Ruby programming language. Getting Started # TruffleRuby comes in two distributions: Native Standal

                              • Optimizing Ruby Lazy Initialization in TruffleRuby with Deoptimization

                                Opens in a new windowOpens an external siteOpens an external site in a new window Shopify's involvement with TruffleRuby began half a year ago, with the goal of furthering the success of the project and Ruby community. TruffleRuby is an alternative implementation of the Ruby language (where the reference implementation is CRuby, or MRI) developed by Oracle Labs. TruffleRuby has high potential in s

                                  Optimizing Ruby Lazy Initialization in TruffleRuby with Deoptimization
                                • [jruby] TruffleRuby Status, start of 2017

                                  Chris Seaton chris at chrisseaton.com Sat Jan 14 20:39:03 JST 2017 Previous message: [jruby] JRuby 1.7.25 & 26 - redhat 7 issues with Process.spawn & kill Next message: [jruby] Deoptimization Strategy Document Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] Hello all, This year has been a real turning point for JRuby+Truffle as we continue to progress on completeness and begin to ru

                                  • A first naïve look at TruffleRuby · Issue #1054 · oracle/truffleruby

                                    I wanted to try out TruffleRuby, so I took raw notes as I went, and thought it would be maybe useful to report them (like a kind of onboarding experience). Please feel free to close the issue or explode it into multiple parts, but at least this can be linked if other outsiders are willing to try it out. My interest for TruffleRuby comes from the fact I'm doing data processing with Ruby (using Kiba

                                      A first naïve look at TruffleRuby · Issue #1054 · oracle/truffleruby
                                    • How does TruffleRuby work

                                      2019/4/19に行われたRubyKaigi2019でのLT登壇資料です。 Truffleがどのような方針で最適化を行うかという話をしました。

                                        How does TruffleRuby work
                                      • Benchmarking CRuby, MJIT, YJIT, JRuby, and TruffleRuby

                                        原文はこちら。 The original article was written by Benoit Daloze (TruffleRuby Lead at Oracle Labs). https://medium.com/graalvm/benchmarking-cruby-mjit-yjit-jruby-and-truffleruby-6a7178ca6906 このブログでは、最新のRubyベンチマークスイートであるyjit-benchを使い、多くのバージョンのRubyと最新のRuby Just-in-Timeコンパイラ(JIT)のベンチマークを行っています。 yjit-bench : Set of benchmarks for the YJIT CRuby JIT compiler https://github.com/Shopify/yjit-bench これらの14のベンチマーク

                                          Benchmarking CRuby, MJIT, YJIT, JRuby, and TruffleRuby
                                        • 週刊Railsウォッチ(20190319-2/2後編)BrowserStackは優秀、QuarkusとTruffleRubyとJRuby、最近のGPS事情ほか|TechRacho by BPS株式会社

                                          2019.03.20 週刊Railsウォッチ(20190319-2/2後編)BrowserStackは優秀、QuarkusとTruffleRubyとJRuby、最近のGPS事情ほか こんにちは、hachi8833です。Rails Developers Meetupはもう明後日ですね。 いよいよ明後日の開催となったRailsdm 2019ですが、全セッションの質疑応答はAMA(エーエムエー)を通して行います。全セッションの事前質問も投稿可能ですので、気になることはどんどん投稿してみて下さい(シャイなあなたのために匿名投稿も可能にしてます) #railsdm2019https://t.co/8rHbzvm2I0 — Railsdm (@railsdm) March 20, 2019 各記事冒頭には⚓でパーマリンクを置いてあります: 社内やTwitterでの議論などにどうぞ 「つっつきボイス」は

                                            週刊Railsウォッチ(20190319-2/2後編)BrowserStackは優秀、QuarkusとTruffleRubyとJRuby、最近のGPS事情ほか|TechRacho by BPS株式会社
                                          • Careful what you measure: 2.1 times slower to 4.2 times faster – MJIT versus TruffleRuby

                                              Careful what you measure: 2.1 times slower to 4.2 times faster – MJIT versus TruffleRuby
                                            • TruffleRuby in Shopify CI

                                              Shopify is deeply committed to the future of Ruby. One of our key investments is in TruffleRuby — a high-performance implementation of the Ruby language based on cutting edge compiler research. While there are now several JIT compilers available for CRuby, they’re somewhat constrained by CRuby’s architecture. The same approach that allows CRuby to start up quickly and run fast during warm-up also

                                                TruffleRuby in Shopify CI
                                              • 加藤和彦さんのツイート: "TrufflerubyなるRuby処理系を初めて知りました。Ruby 2.4の約8倍。JRubyはGIL逃れのために私も使っていますが,その約4倍の性能向上とは恐るべしですね。公開先のGithubを

                                                ツイートに位置情報を追加する 位置情報と一緒にツイートした場合、Twitterはその位置情報も保存します。 毎回ツイートする際に、位置情報を付加する/付加しないを選択することができ、いつでも過去の位置情報を全て削除することも可能です。 詳細はこちら

                                                • GraalVMでのTruffleRubyの使用

                                                  GraalVMでのTruffleRubyの使用 GraalVMは、TruffleRubyを実行するプラットフォームです。 GraalVMをインストールすると、--nativeと--jvmの両方のランタイム構成でTruffleRubyを実行できます。 依存性 TruffleRubyを正しく実行するには、TruffleRubyの依存性をインストールする必要があります。 Community EditionとEnterprise Edition GraalVMには、オープンソースのCommunity Editionと、それよりもパフォーマンスおよびスケーラビリティに優れたEnterprise Editionがあります。比較については、Webサイトを参照してください。 ベース・イメージのインストール GraalVMは、高パフォーマンスの言語ランタイムのプラットフォームを提供するベース・イメージから始

                                                  • Ruby の Enumerable を再実装するときに正解が見たくなったら TruffleRuby の実装を見るとわかりやすい - Qiita

                                                    Enumerable の再実装やってると正解が見たくなる 仲間で集まって Ruby の Enumerable のメソッドを再実装する遊びをよくやっているんだけど、書いたら答え合わせがしたくなる。そういうときは CRuby の実装 を見るのが一番なんだけど、Cが読めないとかなり辛い。 例: Enumerable#collect の CRuby の実装(?) static VALUE enum_collect(VALUE obj) { VALUE ary; int min_argc, max_argc; RETURN_SIZED_ENUMERATOR(obj, 0, 0, enum_size); ary = rb_ary_new(); min_argc = rb_block_min_max_arity(&max_argc); rb_lambda_call(obj, id_each, 0, 0,

                                                      Ruby の Enumerable を再実装するときに正解が見たくなったら TruffleRuby の実装を見るとわかりやすい - Qiita
                                                    • Benoit Daloze on Twitter: "I was wondering if my talk about parallelism with @TruffleRuby at @rubykaigi 2018 would be accepted, and it turns o… https://t.co/LBEwH82ipl"

                                                      I was wondering if my talk about parallelism with @TruffleRuby at @rubykaigi 2018 would be accepted, and it turns o… https://t.co/LBEwH82ipl

                                                        Benoit Daloze on Twitter: "I was wondering if my talk about parallelism with @TruffleRuby at @rubykaigi 2018 would be accepted, and it turns o… https://t.co/LBEwH82ipl"
                                                      • JRubyからTruffleRubyへの移行

                                                        JRubyからTruffleRubyへの移行 gemおよびアプリケーションでTruffleRubyを試す場合は、TruffleRubyチームに連絡することをお薦めします。 デプロイメント JRubyから移行する場合、TruffleRubyを使用する最も簡単な方法は、TruffleRuby JVMスタンドアロンをインストールすることです。 TruffleRubyのJava相互運用性機能が不要な場合は、TruffleRubyネイティブ・スタンドアロンをインストールできます。 JavaからのRubyの使用 JRubyでは、JSR 223 (javax.scriptとも呼ばれる)、Beanスクリプト・フレームワーク(BSF)、JRuby Embed (Red Bridgeとも呼ばれる)、JRuby直接埋込みAPIなど、RubyをJavaに埋め込むための様々な方法がサポートされています。 Truff

                                                        • TruffleRubyを動かしてみた - Qiita

                                                          RubyKaigi 2018でも発表のあったらしいOracle製の高速Ruby実装「TruffleRuby」を動かしてみた。 最初はこちらの記事と同じようにやろうとしたけど、Mac上でDockerイメージのビルドがうまくいかなかったので、公式ドキュメントを参考にAmazon Linux上で直に動かしてみた。 [追記] gem install nokogiriしようとしたら「LLVMが必要だ」と言われて、yum install llvm clangしたもののunsupported clang version: 3.6.2。やっぱり公式にサポートされているディストリビューションを使ったほうがよさそう。 公式ドキュメントより Community Edition Linuxのみ productionで使ってもOK Enterprise Edition LinuxとMac両方あり 評価だけならタダだ

                                                            TruffleRubyを動かしてみた - Qiita
                                                          • Ubuntu 20.04 LTSにtruffleruby 21.1.0をインストールする - Qiita

                                                            毎度、ググっても出てこない小ネタを取り扱っております。 本記事は個人的な見解であり、筆者の所属するいかなる団体にも関係ございません。 0. はじめに Ruby好きです。あまり得意ではないのですが、Ruby好きです。 しかし、ここ6年ほど触ってきませんでした。 特段、必要なかったというのもありますが、簡単なスクリプトを書くにはBashで十分だったのとディストリビューションに入っているRubyが古かったりして使いづらくなったり、スピード的に満足できなかったりして使わなくなっていました。一時期JRubyも使ってみようとしましたが、1回目の起動時間の重さに使わなくなっていました。 しかし、GraalVMで動くtrufflerubyというのがあると知りました。 パフォーマンスがよかったりするらしいので久しぶりに使ってみるかと思ったのが発端です。 Ruby https://www.graalvm.or

                                                              Ubuntu 20.04 LTSにtruffleruby 21.1.0をインストールする - Qiita
                                                            1