0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 3 years have passed since last update.

OTP 24.0 Release / OTP 24.0 リリース(直訳)

Last updated at Posted at 2021-05-14

元ページ: https://www.erlang.org/news/148

直訳。基本的に機械的に翻訳サービスで翻訳しています。

OTP 24

Erlang/OTP 24 is a new major release with new features, improvements as well as a few incompatibilities.

Erlang/OTP 24は新しいメジャーリリースで、新機能、改良点、そしていくつかの非互換性があります。

Below are some of the highlights of the release:

今回のリリースのハイライトをご紹介します:

Highlights

compiler

  • The compiler will now inline funs that are used only once immediately after their definition.
  • コンパイラは、一度しか使用されない funs をその定義の直後にインライン化するようになりました。
  • Compiler warnings and errors now include column numbers in addition to line numbers.
  • コンパイラの警告やエラーに、行番号に加えて列番号が含まれるようになりました。
  • Variables bound between the keywords 'try' and 'of' can now be used in the clauses following the 'of' keyword
    (that is, in the success case when no exception was raised).
  • キーワード 'try''of' の間に束縛された変数は,キーワード 'of' に続く節で使用できるようになりました。
    (例外が発生しなかった場合の成功例)。
  • Generators in list and binary comprehensions will now
    raise a {bad_generator,Generator} exception if the
    generator has an incorrect type
    Similarly, when a
    filter does not evaluate to a boolean, a
    {bad_filter,Filter} exception will be raised.
  • リストとバイナリ内包のジェネレーターが 誤った型のジェネレーターを使用した場合、{bad_generator,Generator}という例外を発生させるようになりました。ジェネレータの型が正しくない場合、例外が発生します。
    同様に、フィルタが フィルタがブール値に評価されない場合は bad_filter,Filter}` という例外が発生します。
  • Warnings for expressions whose result was ignored that could be suppressed by
    using the anonymous variable '_' can now be suppressed with a variable beginning with '_'.
  • 無名変数 '_' で抑えられていた、結果が無視された式の警告を、'_' で始まる変数で抑えられるようになりました。
  • Selective receive optimization will now be applied much
    more often.
  • 選択的な受信最適化がより頻繁に行われるようになる より頻繁に適用されるようになりました。
  • The new recv_opt_info compile flag can be used to print diagnostics relating to this optimization.
    You can read more about the selective receive optimization in the Efficiency Guide.
  • 新しい recv_opt_info コンパイルフラグを使用すると、この最適化に関連する診断結果を表示することができます。
    選択的受信最適化の詳細については、Efficiency Guide を参照してください。

erts, kernel, stdlib

  • hex encoding and decoding functions added in the binary module
  • バイナリモジュールで追加された16進数のエンコードおよびデコード機能
  • The BeamAsm JIT-compiler has been added to Erlang/OTP and will give a significant performance boost for many applications.
    The JIT-compiler is enabled by default on most x86 64-bit platforms that have a C++ compiler that can compile C++17.
    To verify that a JIT enabled emulator is running you can use erlang:system_info(emu_flavor).
  • BeamAsm JIT-compilerがErlang/OTPに追加され、多くのアプリケーションのパフォーマンスを大幅に向上させます。
    JITコンパイラーはC++17をコンパイルできるC++コンパイラーを持っているほとんどのx86 64ビットプラットフォームでデフォルトで有効になっています。
    JITが有効なエミュレータが動いているかどうかを確認するには、erlang:system_info(emu_flavor)を使います。
  • A compatibility adaptor for gen_tcp to use the new socket API has been implemented (gen_tcp_socket).
  • 新しいソケット API を使用するための gen_tcp の互換性アダプタが実装されました (gen_tcp_socket)。
  • Extended error information for failing BIF calls as proposed in EEP 54 has been implemented.
  • EEP 54 で提案された、BIF 呼び出し失敗時の拡張エラー情報が実装されました。
  • Process aliases as outlined by EEP 53 has been introduced.
  • EEP53で説明されているプロセス・エイリアスが導入されました。
  • Implementation of EEP 56 in supervisor. It adds the concept of significant children as well as the auto_shutdown supervisor flag. See the supervisor manual page for more information.
  • EEP 56のsupervisorへの実装です。これにより、重要な子供の概念や、auto_shutdownのsupervisorフラグが追加されています。詳しくはsupervisorのマニュアルページをご覧ください。

ftp

  • Add support for FTPES (explicit FTP over TLS).
  • FTPES(explicit FTP over TLS)のサポートを追加しました。

ssl

  • Make TLS handshakes in Erlang distribution concurrent.
    TLS connections now support EdDSA certificates.
  • ErlangディストリビューションでのTLSハンドシェイクを同時進行にしました。
    TLS接続がEdDSA証明書をサポートするようになりました。

wx

  • The application has been completely rewritten in order to use wxWidgets version 3 as its base.
    Added support for wxWebView.
  • アプリケーションは、wxWidgetsバージョン3をベースに完全に書き換えられました。
    wxWebViewのサポートを追加しました。

edoc

  • EDoc is now capable of emitting EEP-48 doc chunks. This means that, with some configuration, community projects can now provide documentation for shell_docs the same way that OTP libraries did since OTP 23.0.
  • EDoc は EEP-48 doc チャンクを出力することができるようになりました。これにより、コミュニティプロジェクトは、OTP 23.0 以降の OTP ライブラリと同じように shell_docs のドキュメントを提供できるようになりました。

For more details about new features and potential incompatibilities see
新機能や潜在的な非互換性についての詳細は

Pre built versions for Windows can be fetched here:
Windows用のプリビルド版は、こちらからダウンロードできます。

https://erlang.org/download/otp_win32_24.0.exe
https://erlang.org/download/otp_win64_24.0.exe

Online documentation can be browsed here:
オンラインドキュメントはこちらからご覧いただけます。

The Erlang/OTP source can also be found at GitHub on the official Erlang repository,
Erlang/OTPのソースは、GitHubのErlang公式リポジトリでもご覧いただけます。
https://github.com/erlang/otp

Many thanks to all the contributors.
ご協力いただいた方々に感謝いたします。

0
0
2

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?