Skip to content

Commit

Permalink
Translate ko/news/_posts/2023-09-14-ruby-3-3-0-preview2-released.md t…
Browse files Browse the repository at this point in the history
…o ko
  • Loading branch information
riseshia committed Sep 14, 2023
1 parent 6b2dd8f commit 17fdce3
Showing 1 changed file with 74 additions and 74 deletions.
148 changes: 74 additions & 74 deletions ko/news/_posts/2023-09-14-ruby-3-3-0-preview2-released.md
Original file line number Diff line number Diff line change
@@ -1,120 +1,120 @@
---
layout: news_post
title: "Ruby 3.3.0-preview2 Released"
title: "Ruby 3.3.0-preview2 릴리스"
author: "naruse"
translator:
translator: "shia"
date: 2023-09-14 00:00:00 +0000
lang: en
lang: ko
---

{% assign release = site.data.releases | where: "version", "3.3.0-preview2" | first %}

We are pleased to announce the release of Ruby {{ release.version }}. Ruby 3.3 adds a new pure-Ruby JIT compiler named RJIT, uses Lrama as a parser generator, and many performance improvements especially YJIT.
Ruby {{ release.version }} 릴리스를 알리게 되어 기쁩니다. Ruby 3.3은 RJIT으로 명명된 새로운 순수 Ruby JIT 컴파일러를 추가하고, 파서 생성기로 Lrama를 사용하며, 특히 YJIT에서 많은 성능 향상이 있습니다.

## RJIT

* Introduced a pure-Ruby JIT compiler RJIT and replaced MJIT.
* RJIT supports only x86\_64 architecture on Unix platforms.
* Unlike MJIT, it doesn't require a C compiler at runtime.
* RJIT exists only for experimental purposes.
* You should keep using YJIT in production.
* If you are interested in developing JIT for Ruby, please check out [k0kubun's presentation on Day 3 of RubyKaigi](https://rubykaigi.org/2023/presentations/k0kubun.html#day3).
* 순수 Ruby JIT 컴파일러 RJIT을 도입하고 MJIT을 대체했습니다.
* RJIT은 Unix 플랫폼에서 x86\_64 아키텍처만 지원합니다.
* MJIT과 달리 런타임에 C 컴파일러가 필요하지 않습니다.
* RJIT은 실험 목적으로 존재합니다.
* 프로덕션 환경에서는 YJIT을 계속 사용해야 합니다.
* Ruby용 JIT 개발에 관심이 있다면 [RubyKaigi 2023 3일차에 있었던 k0kubun의 발표](https://rubykaigi.org/2023/presentations/k0kubun.html#day3)를 확인하세요.

## Use Lrama instead of Bison
## Bison을 Lrama로 대체

* Replace Bison with [Lrama LALR parser generator](https://github.com/yui-knk/lrama) [Feature #19637](https://bugs.ruby-lang.org/issues/19637)
* If you have interest, please see [The future vision of Ruby Parser](https://rubykaigi.org/2023/presentations/spikeolaf.html)
* Bison 대신 [Lrama LALR 파서 생성기](https://github.com/yui-knk/lrama)를 사용하도록 변경했습니다. [Feature #19637](https://bugs.ruby-lang.org/issues/19637)
* 관심이 있다면 [Ruby 파서의 미래 비전](https://rubykaigi.org/2023/presentations/spikeolaf.html)을 참고하세요.

## YJIT

* Major performance improvements over 3.2
* Support for splat and rest arguments has been improved.
* Registers are allocated for stack operations of the virtual machine.
* More calls with optional arguments are compiled.
* Exception handlers are also compiled.
* Instance variables no longer exit to the interpreter
with megamorphic Object Shapes.
* Unsupported call types no longer exit to the interpreter.
* 3.2 버전 대비 성능 대폭 향상
* 스플랫과 나머지 인자 지원이 개선되었습니다.
* 가상 머신의 스택 연산을 위해 레지스터가 할당됩니다.
* 선택적 인수가 포함된 더 많은 호출이 컴파일됩니다.
* 예외 처리기도 컴파일됩니다.
* 클래스의 인스턴스 변수가 가지는 객체 형상의 조합이 매우 복잡한 경우에도
컴파일되기 전의 바이트 코드로 전환되지 않습니다.
* 지원되지 않는 호출 타입은 이제 컴파일되기 전의 바이트 코드로 전환되지 않습니다.
* `Integer#!=`, `String#!=`, `Kernel#block_given?`, `Kernel#is_a?`,
`Kernel#instance_of?`, `Module#===` are specially optimized.
* Now more than 3x faster than the interpreter on optcarrot!
* Metadata for compiled code uses a lot less memory.
* Generate more compact code on ARM64
* Option to start YJIT in paused mode and then later enable it manually
* `--yjit-pause` and `RubyVM::YJIT.resume`
* This can be used to enable YJIT only once your application is done booting
* `ratio_in_yjit` stat produced by `--yjit-stats` is now avaiable in release builds,
a special stats or dev build is no longer required.
* Exit tracing option now supports sampling
`Kernel#instance_of?`, `Module#===`은 특별히 최적화되었습니다.
* 이제 optcarrot에서 인터프리터보다 3배 이상 빠릅니다!
* 컴파일된 코드의 메타데이터가 훨씬 적은 메모리를 사용합니다.
* ARM64에서의 코드 생성 개선
* 일시 중지 모드에서 YJIT을 시작한 다음 나중에 수동으로 재개하는 옵션 추가
* `--yjit-pause` `RubyVM::YJIT.resume`
* 애플리케이션 부팅이 완료된 후에만 YJIT을 재개할 수 있습니다.
* `--yjit-stats`로부터 생성된 `ratio_in_yjit` 통계는 릴리스 빌드에서도 이용가능하며,
특수한 통계나 개발 빌드는 더 이상 필요하지 않습니다.
* 종료 추적 옵션이 이제 샘플링을 지원합니다.
* `--trace-exits-sample-rate=N`
* More thorough testing and multiple bug fixes
* 보다 철저한 테스트와 여러 버그 수정



## Other Notable New Features
## 그 이외의 주목할 만한 새 기능

### Language
### 언어



## Performance improvements
## 성능 향상

* `defined?(@ivar)` is optimized with Object Shapes.
* `defined?(@ivar)`가 객체 형상에 맞게 최적화되었습니다.

## Other notable changes since 3.2
## 그 이외의 3.2 이후로 주목할 만한 변경

### IRB

IRB has received several enhancements, including but not limited to:
IRB에 여러 기능 강화가 있습니다. 다음과 같은 내용이 포함됩니다.

- Advanced `irb:rdbg` integration that provides an equivalent debugging experience to `pry-byebug` ([doc](https://github.com/ruby/irb#debugging-with-irb)).
- Pager support for commands like `ls` and `show_cmds`.
- More accurate and helpful information provided by the `ls` and `show_source` commands.
- 고급 `irb:rdbg` 통합 기능은 `pry-byebug`와 동등한 디버깅 경험을 제공합니다. ([doc](https://github.com/ruby/irb#debugging-with-irb)).
- `ls``show_cmds`와 같은 명령어에서 페이징을 지원합니다.
- `ls``show_source` 명령어에서 더 정확하고 유용한 정보를 제공합니다.

In addition, IRB has also undergone extensive refactoring and received dozens of bug fixes to facilitate easier future enhancements.
또한, IRB는 앞으로의 개선을 더 쉽게 하기 위해 방대한 리팩토링과 수십 개의 버그를 수정했습니다.

## Compatibility issues
## 호환성 문제

Note: Excluding feature bug fixes.
주의: 기능 버그 수정은 포함되어 있지 않습니다.

### Removed constants
### 삭제된 상수

The following deprecated constants are removed.
폐기 예정이었던 상수가 삭제됩니다.



### Removed methods
### 삭제된 메서드

The following deprecated methods are removed.
폐기 예정이었던 메서드가 삭제됩니다.



## Stdlib compatibility issues
## Stdlib 호환성 문제

### `ext/readline` is retired
### `ext/readline` 폐기

* We have `reline` that is pure Ruby implementation compatible with `ext/readline` API. We rely on `reline` in the future. If you need to use `ext/readline`, you can install `ext/readline` via rubygems.org with `gem install readline-ext`.
* We no longer need to install libraries like `libreadline` or `libedit`.
* 우리는 `ext/readline` API와 호환되는 순수 Ruby 구현인 `reline`을 가지고 있습니다. 앞으로는 `reline`에 의존할 것입니다. `ext/readline`을 사용해야 하는 경우, `gem install readline-ext`를 사용하여 rubygems.org를 통해 `ext/readline`을 설치할 수 있습니다.
* 이제 더 이상 `libreadline` 또는 `libedit`과 같은 라이브러리를 설치할 필요가 없습니다.

## C API updates
## C API 변경

### Updated C APIs
### 갱신된 C API

The following APIs are updated.
다음 API가 갱신됩니다.



### Removed C APIs
### 삭제된 C API

The following deprecated APIs are removed.
다음 폐기 예정인 API가 삭제됩니다.



## Standard library updates
### 표준 라이브러리 갱신

RubyGems and Bundler warn if users require gem that is scheduled to become the bundled gems in the future version of Ruby.
사용자가 미래의 Ruby 버전에서 내장될 예정의 gem을 직접 불러올 때 RubyGems와 Bundler가 경고 문구를 출력합니다.

The following default gems are updated.
다음 기본 gem이 갱신되었습니다.

* RubyGems 3.5.0.dev
* bigdecimal 3.1.4
Expand All @@ -136,7 +136,7 @@ The following default gems are updated.
* uri 0.12.2
* yarp 0.9.0

The following bundled gems are updated.
다음 내장 gem이 갱신되었습니다.

* minitest 5.19.0
* test-unit 3.6.1
Expand All @@ -147,22 +147,22 @@ The following bundled gems are updated.
* typeprof 0.21.8
* debug 1.8.0

The following default gem is now bundled.
다음 기본 gem이 내장됩니다.

* racc 1.7.1

See GitHub releases like [Logger](https://github.com/ruby/logger/releases) or
changelog for details of the default gems or bundled gems.
기본 gem 또는 내장 gem에 대한 자세한 내용은 [Logger](https://github.com/ruby/logger/releases)와 같은
GitHub 릴리스 또는 변경 로그에서 확인하세요.

See [NEWS](https://github.com/ruby/ruby/blob/{{ release.tag }}/NEWS.md)
or [commit logs](https://github.com/ruby/ruby/compare/v3_2_0...{{ release.tag }})
for more details.
더 자세한 내용은 [NEWS](https://github.com/ruby/ruby/blob/{{ release.tag }}/NEWS.md)
[커밋 로그](https://github.com/ruby/ruby/compare/v3_2_0...{{ release.tag }})
확인해 주세요.

With those changes, [{{ release.stats.files_changed }} files changed, {{ release.stats.insertions }} insertions(+), {{ release.stats.deletions }} deletions(-)](https://github.com/ruby/ruby/compare/v3_2_0...{{ release.tag }}#file_bucket)
since Ruby 3.2.0!
이러한 변경사항에 따라, Ruby 3.2.0 이후로 [파일 {{ release.stats.files_changed }}개 수정, {{ release.stats.insertions }}줄 추가(+), {{ release.stats.deletions }}줄 삭제(-)](https://github.com/ruby/ruby/compare/v3_2_0...{{ release.tag }}#file_bucket)
이루어졌습니다!


## Download
## 다운로드

* <{{ release.url.gz }}>

Expand All @@ -185,8 +185,8 @@ since Ruby 3.2.0!
SHA256: {{ release.sha256.zip }}
SHA512: {{ release.sha512.zip }}

## What is Ruby
## Ruby는

Ruby was first developed by Matz (Yukihiro Matsumoto) in 1993,
and is now developed as Open Source. It runs on multiple platforms
and is used all over the world especially for web development.
Ruby는 1993년에 Matz(마츠모토 유키히로) 씨가 처음 개발했고,
현재는 오픈 소스로서 개발되고 있습니다. 여러 플랫폼에서 동작하며,
특히 웹 개발에서 전 세계적으로 이용되고 있습니다.

0 comments on commit 17fdce3

Please sign in to comment.