タグ

ブックマーク / www.ruby-lang.org (46)

  • Ruby 3.2.0 リリース

    Posted by naruse on 25 Dec 2022 Ruby 3.2.0 が公開されました。Ruby 3.2では多くの機能を追加するとともに、様々な改善が行われています。 WASIベースのWebAssemblyサポート WASIベースのWebAssemblyへのコンパイルがサポートされました。これにより、ブラウザやサーバーレスエッジ環境、その他のWebAssembly/WASI環境でCRubyのバイナリが利用できるようになります。現在この移植版はThread API以外のbasic testとbootstrap testをパスしています。 Background もともとWebAssembly (Wasm)が導入されたのは、プログラムをブラウザの上で安全かつ高速に実行するためでした。しかし、様々な環境で安全かつ効率的にプログラムを実行するという目的は、Webだけでなく一般的なアプ

    Nyoho
    Nyoho 2022/12/25
    🎉
  • Ruby 3.2.0 RC 1 リリース

    Posted by naruse on 6 Dec 2022 Ruby 3.2.0 Release Candidate 1 が公開されました。Ruby 3.2では多くの機能を追加しています。 WASIベースのWebAssemblyサポート WASIベースのWebAssemblyへのコンパイルがサポートされました。これにより、ブラウザやサーバーレスエッジ環境、その他のWebAssembly/WASI環境でCRubyのバイナリが利用できるようになります。現在この移植版はThread API以外のbasic testとbootstrap testをパスしています。 Background もともとWebAssembly (Wasm)が導入されたのは、プログラムをブラウザの上で安全かつ高速に実行するためでした。しかし、様々な環境で安全かつ効率的にプログラムを実行するという目的は、Webだけでなく一般

    Nyoho
    Nyoho 2022/12/07
    関係ないけどこのターミナルの下のtmuxかなんかのバーのエメラルドグリーンいいね。
  • Ruby 3.2.0 Preview 2 Released

    Posted by naruse on 9 Sep 2022 We are pleased to announce the release of Ruby 3.2.0-preview2. Ruby 3.2 adds many features and performance improvements. WASI based WebAssembly support This is an initial port of WASI based WebAssembly support. This enables a CRuby binary to be available on Web browser, Serverless Edge environment, and other WebAssembly/WASI embedders. Currently this port passes basi

    Nyoho
    Nyoho 2022/09/09
  • Ruby 3.1.0 リリース

    Posted by naruse on 25 Dec 2021 Ruby 3.1系初のリリースである、Ruby 3.1.0 が公開されました。Ruby 3.1は3.0と高い互換性を保ちながら、多くの機能を追加しています。 YJIT: New experimental in-process JIT compiler Ruby 3.1では、Shopifyが開発した新しいプロセス内JITコンパイラであるYJITをマージしました。 2018年のRuby 2.6でMJITをマージして以来、そのパフォーマンスは年々改善され、去年にはRuby3x3を無事達成しました。比較的大規模なOptcarrotベンチマークでは輝かしい高速化を達成したMJITですが、一方で現実の業務アプリケーションの性能はこれまで改善出来ていませんでした。 近年Shopifyは彼らのRailsアプリケーションを高速化するため、Rub

    Nyoho
    Nyoho 2021/12/26
    debug.gemの統合使ってみたい(Emacsでという意味で)
  • Ruby 3.0.2 Released

    Posted by nagachika on 7 Jul 2021 Ruby 3.0.2 has been released. This release includes security fixes. Please check the topics below for details. CVE-2021-31810: Trusting FTP PASV responses vulnerability in Net::FTP CVE-2021-32066: A StartTLS stripping vulnerability in Net::IMAP CVE-2021-31799: A command injection vulnerability in RDoc See the commit logs for details. Download https://cache.ruby-la

    Nyoho
    Nyoho 2021/07/08
  • Ruby 3.0.0 リリース

    Posted by naruse on 25 Dec 2020 Ruby 3.0系初のリリースである、Ruby 3.0.0 が公開されました。 これまで、Ruby3に向けてパフォーマンスの改善、並行処理、静的解析という3つの目標を掲げて、活発に開発が行われてきました。特にパフォーマンスの改善については、Ruby 3x3 として「Ruby3はRuby2の3倍速くする」ことを目指してきました。 Ruby 3.0では開発の指標の一つとしてきたOptcarrotベンチマークで3倍を達成するとともに、以下のような取り組みが行われています。 benchmark-driver.github.io/hardware.html に書かれている環境で計測されました。 8c510e4095 が Ruby 3.0 として使われています。環境やベンチマークによっては3倍にならないかもしれません。 Ruby 3 では

    Nyoho
    Nyoho 2020/12/25
    🎉㊗️
  • Ruby 3.0.0-preview2 リリース

    Posted by naruse on 8 Dec 2020 Ruby 3.0に向けてフィードバックを得るためのリリースである、Ruby 3.0.0-preview2が公開されました。 Ruby 3.0には、多くの新しい機能やパフォーマンスの改善が含まれます。 その一部を以下に紹介します。 静的解析 RBS RBSはRubyプログラムの型を記述するための言語です。 TypeProfなどの型検査ツールを初めとする静的解析を行うツールは、RBSを利用することでRubyプログラムをより精度良く解析することができます。 RBSでは、Rubyプログラムのクラスやモジュールの型を定義します。メソッドやインスタンス変数、定数とその型、継承やmixinなどの関係などが記述できます。 RBSはRubyプログラムに頻出するパターンをサポートするように設計されており、ユニオン型、メソッドオーバーロード、ジェネリ

    Nyoho
    Nyoho 2020/12/09
  • Ruby 2.7.0 Released

    Posted by naruse on 25 Dec 2019 We are pleased to announce the release of Ruby 2.7.0. It introduces a number of new features and performance improvements, most notably: Pattern Matching REPL improvement Compaction GC Separation of positional and keyword arguments Pattern Matching [Experimental] Pattern matching, a widely used feature in functional programming languages, is introduced as an experim

    Nyoho
    Nyoho 2019/12/26
    🎉
  • Ruby 2.7.0-preview1 リリース

    Posted by naruse on 30 May 2019 Ruby 2.7シリーズの最初のプレビュー版である、Ruby 2.7.0-preview1をリリースします。 プレビュー版は、年末の正式リリースに向け、新たな機能を試し、フィードバックを集めるために提供されています。 Ruby 2.7.0-preview1では、多くの新しい機能やパフォーマンスの改善が含まれています。 その一部を以下に紹介します。 Compaction GC 断片化したメモリをデフラグするCompaction GCが導入されました。 一部のマルチスレッドなRubyプログラムを長期間動かし、マーク&スイープ型GCを何度も実行していると、メモリが断片化してメモリ使用量の増大や性能の劣化を招くことが知られています。 Ruby 2.7ではGC.compact というメソッドを導入し、ヒープをコンパクションすることが出来

    Nyoho
    Nyoho 2019/05/31
  • Ruby 2.6.1 リリース

    Posted by naruse on 30 Jan 2019 Ruby 2.6.1 がリリースされました。 大きな多バイト文字列を送ると Net::Protocol::BufferedIO#write で NoMethodError が発生する問題 が修正されました。 その他いくつかの不具合修正も含まれます。詳細は commit log を参照してください。 ダウンロード https://cache.ruby-lang.org/pub/ruby/2.6/ruby-2.6.1.tar.gz SIZE: 16742207 bytes SHA1: 416842bb5b4ca655610df1f0389b6e21d25154f8 SHA256: 17024fb7bb203d9cf7a5a42c78ff6ce77140f9d083676044a7db67f1e5191cb8 SHA512: 89e

    Nyoho
    Nyoho 2019/01/31
  • Ruby 2.6.0 Released

    Posted by naruse on 25 Dec 2018 We are pleased to announce the release of Ruby 2.6.0. It introduces a number of new features and performance improvements, most notably: A new JIT compiler. The RubyVM::AbstractSyntaxTree module. JIT [Experimental] Ruby 2.6 introduces an initial implementation of a JIT (Just-In-Time) compiler. The JIT compiler aims to improve the performance of Ruby programs. Unlike

    Nyoho
    Nyoho 2018/12/25
    じっと待っていました!
  • Ruby 2.5.3 リリース

    Posted by nagachika on 18 Oct 2018 Ruby 2.5.3 がリリースされました。 バージョン 2.5.2 のパッケージファイルにはパッケージングのミスによりビルドに必要ないくつかのファイルが含まれていませんでした。 2.5.2 のパッケージの問題についての詳細は [Bug #15232] を参照してください。 パッケージファイルの作りなおしのため 2.5.3 をリリースしました。今回のリリースでは 2.5.2 以降追加のバグ修正等は含まれていません。 ダウンロード https://cache.ruby-lang.org/pub/ruby/2.5/ruby-2.5.3.tar.bz2 SIZE: 14159874 bytes SHA1: d47ede7dab79de25fcc274dfcad0f92f389a4313 SHA256: 228a787ba68a

    Nyoho
    Nyoho 2018/10/19
    あらら昨日2.5.2をビルドしたばかりでそうだったのか。今日もビルドしよう。
  • Ruby 2.5.2 リリース

    Posted by nagachika on 17 Oct 2018 Ruby 2.5.2 がリリースされました。 このリリースには以下の脆弱性修正が含まれています。 CVE-2018-16396: Array#pack および String#unpack の一部のフォーマット指定においてtaintフラグが伝播しない脆弱性について CVE-2018-16395: OpenSSL::X509::Name の同一性判定が機能していない脆弱性について その他いくつかの不具合修正も含まれます。詳細は commit log を参照してください。 ダウンロード https://cache.ruby-lang.org/pub/ruby/2.5/ruby-2.5.2.tar.bz2 SIZE: 13592827 bytes SHA1: 562d6b8be5a0804ed7617bb0465b288d44b

    Nyoho
    Nyoho 2018/10/18
  • Ruby 2.6.0-preview2 Released

    Posted by naruse on 31 May 2018 Ruby 2.6.0に向けた二回目のプレビューである、Ruby 2.6.0-preview2がリリースされました。 Ruby 2.6.0-preview2は、重要な新機能であるJITを含むため、例年よりも早期にリリースすることにしました。 その一部を以下に紹介します。 JIT Ruby 2.6ではJIT (Just-in-time) コンパイラが導入されました。 JITコンパイラはあらゆるRubyプログラムの実行を高速化することを目的としています。 他言語の一般的なJITコンパイラと異なり、RubyのJITコンパイラはC言語のソースコードをファイルとしてディスクに書き、通常のCコンパイラを用いてネイティブコードに変換することでJITコンパイルを行うという手法を用いています。(参考: MJIT organization by V

    Nyoho
    Nyoho 2018/06/01
  • Ruby 2.5.0 Released

    Posted by naruse on 25 Dec 2017 We are pleased to announce the release of Ruby 2.5.0. Ruby 2.5.0 is the first stable release of the Ruby 2.5 series. It introduces many new features and performance improvements. The notable changes are as follows: New Features rescue/else/ensure are now allowed to be used directly with do/end blocks. [Feature #12906] Add yield_self to yield given block in its conte

    Nyoho
    Nyoho 2017/12/26
  • Ruby 2.4.2 リリース

    Posted by nagachika on 14 Sep 2017 Ruby 2.4.2 がリリースされました。 このリリースにはいくつかの脆弱性修正が含まれています。 CVE-2017-0898: Kernel.sprintf におけるバッファーアンダーランへの対応 CVE-2017-10784: WEBrick の BASIC 認証におけるエスケープシーケンス挿入への対応 CVE-2017-14033: OpenSSL の ASN1 デコードにおけるバッファーアンダーランへの対応 CVE-2017-14064: JSON の生成時におけるヒープ暴露への対応 RubyGems の複数の脆弱性への対応 添付の libyaml を 0.1.7 に更新 その他多くのバグ修正も含まれます。詳細は commit log を参照してください。 既知の不具合について(2017年9月15日追記) Ru

    Nyoho
    Nyoho 2017/09/15
  • RubyGems の複数の脆弱性について

    Posted by usa on 29 Aug 2017 Ruby の標準添付ライブラリである RubyGems に、複数の脆弱性が発見されました。 RubyGems の公式ブログにて報告されています。 詳細 以下の脆弱性が報告されています。 a DNS request hijacking vulnerability. (CVE-2017-0902) an ANSI escape sequence vulnerability. (CVE-2017-0899) a DoS vulnerability in the query command. (CVE-2017-0900) a vulnerability in the gem installer that allowed a malicious gem to overwrite arbitrary files. (CVE-2017-0901

    Nyoho
    Nyoho 2017/08/30
    このあと無茶苦茶 “gem update --system” した
  • Ruby 2.4.1 Released

    Posted by naruse on 22 Mar 2017 We are pleased to announce the release of Ruby 2.4.1. This is the first TEENY version release of the stable 2.4 series. See commit logs for details. Download https://cache.ruby-lang.org/pub/ruby/2.4/ruby-2.4.1.tar.bz2 SIZE: 12571597 bytes SHA1: b0bec75c260dcb81ca386fafef27bd718f8c28ad SHA256: ccfb2d0a61e2a9c374d51e099b0d833b09241ee78fc17e1fe38e3b282160237c SHA512: 1

    Nyoho
    Nyoho 2017/03/23
  • Ruby 2.4.0 Released

    Posted by naruse on 25 Dec 2016 We are pleased to announce the release of Ruby 2.4.0. Ruby 2.4.0 is the first stable release of the Ruby 2.4 series. It introduces many new features, for example: Introduce hash table improvement (by Vladimir Makarov) Improve the internal structure of hash table (st_table) by introducing open addressing and an inclusion order array. This improvement has been discuss

    Nyoho
    Nyoho 2016/12/25
    Congrats. Is binding#irb more useful than binding.pry?
  • Ruby 2.3.3 Released

    Posted by nagachika on 21 Nov 2016 Ruby 2.3.3 has been released. This release contains a bug fix concerning Refinements and Module#prepend. The combined use of Module#refine and Module#prepend to the same class could cause an unexpected NoMethodError. This is a regression on Ruby 2.3.2 released last week. See Bug #12920 for details. There are some other bugfixes, too. See the ChangeLog for details

    Nyoho
    Nyoho 2016/11/21
    rbenv install 2.3.3 なう < Ruby 2.3.3 Released