From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on dcvr.yhbt.net X-Spam-Level: X-Spam-Status: No, score=-4.0 required=3.0 tests=AWL,BAYES_00, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,UNPARSEABLE_RELAY shortcircuit=no autolearn=ham autolearn_force=no version=3.4.2 Received: from neon.ruby-lang.org (neon.ruby-lang.org [221.186.184.75]) by dcvr.yhbt.net (Postfix) with ESMTP id 256D31F4B4 for ; Wed, 30 Dec 2020 22:59:23 +0000 (UTC) Received: from neon.ruby-lang.org (localhost [IPv6:::1]) by neon.ruby-lang.org (Postfix) with ESMTP id D1778120B00; Thu, 31 Dec 2020 07:58:31 +0900 (JST) Received: from xtrwkhkc.outbound-mail.sendgrid.net (xtrwkhkc.outbound-mail.sendgrid.net [167.89.16.28]) by neon.ruby-lang.org (Postfix) with ESMTPS id 6C797120AF8 for ; Thu, 31 Dec 2020 07:58:30 +0900 (JST) Received: by filterdrecv-p3mdw1-7474cd8bfd-mjf6h with SMTP id filterdrecv-p3mdw1-7474cd8bfd-mjf6h-19-5FED063F-11 2020-12-30 22:59:11.210249034 +0000 UTC m=+1727812.743775312 Received: from herokuapp.com (unknown) by ismtpd0018p1iad2.sendgrid.net (SG) with ESMTP id PxR-JTh1TvyZbs-YEBB9vg for ; Wed, 30 Dec 2020 22:59:11.128 +0000 (UTC) Date: Wed, 30 Dec 2020 22:59:11 +0000 (UTC) From: nobu@ruby-lang.org Message-ID: References: Mime-Version: 1.0 X-Redmine-MailingListIntegration-Message-Ids: 77723 X-Redmine-Project: ruby-master X-Redmine-Issue-Tracker: Feature X-Redmine-Issue-Id: 17490 X-Redmine-Issue-Author: k0kubun X-Redmine-Sender: nobu X-Mailer: Redmine X-Redmine-Host: bugs.ruby-lang.org X-Redmine-Site: Ruby Issue Tracking System X-Auto-Response-Suppress: All Auto-Submitted: auto-generated X-SG-EID: =?us-ascii?Q?q8Dly+pU2+3ektTtZVXgZtbJPXwqo7p86jCsvYTW4BzH1wkxgGfiXyFbMFpeJV?= =?us-ascii?Q?ewGCqmS5qGsn3au647z6fn9D9ytd53FAtfdJnpu?= =?us-ascii?Q?D5UiHKkFuhE+HFgOWjWuNKT8OT9hFyEdB7nw8cT?= =?us-ascii?Q?p26OgWZJXj=2Feq6BxwFNXgGGm=2FBijDxFJXLcdBhC?= =?us-ascii?Q?Lmi6p+NM9ApdV8MZgKG=2FzNH9L2dLS1W2jJra1AQ?= =?us-ascii?Q?jhJgNqGoiY3ofHnXg=3D?= To: ruby-core@ruby-lang.org X-Entity-ID: b/2+PoftWZ6GuOu3b0IycA== X-ML-Name: ruby-core X-Mail-Count: 101821 Subject: [ruby-core:101821] [Ruby master Feature#17490] Rename RubyVM::MJIT to RubyVM::JIT X-BeenThere: ruby-core@ruby-lang.org X-Mailman-Version: 2.1.15 Precedence: list Reply-To: Ruby developers List-Id: Ruby developers List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: ruby-core-bounces@ruby-lang.org Sender: "ruby-core" Issue #17490 has been updated by nobu (Nobuyoshi Nakada). Eregon (Benoit Daloze) wrote in #note-2: > If we'd consider RubyVM is CRuby-specific, then it seems fine. Yes. ``` /* * Document-class: RubyVM * * The RubyVM module only exists on MRI. +RubyVM+ is not defined in * other Ruby implementations such as JRuby and TruffleRuby. ``` ---------------------------------------- Feature #17490: Rename RubyVM::MJIT to RubyVM::JIT https://bugs.ruby-lang.org/issues/17490#change-89648 * Author: k0kubun (Takashi Kokubun) * Status: Open * Priority: Normal ---------------------------------------- ## Background In my understanding, MJIT is a codename like YARV which many people outside Ruby community are not familiar with, so I've used JIT in NEWS or release notes to avoid explaining the "M" part whenever we release a new version. However, because we have the name "MJIT" in one of our constants, we've had some naming inconsistency. For instance, --jit is not --mjit and it's not consistent. ## Proposal Have the same constant as `RubyVM::JIT`, deprecate `RubyVM::MJIT` from Ruby 3.1, and remove the old one in Ruby 3.2. -- https://bugs.ruby-lang.org/