Skip to content

Commit 915d85c

Browse files
committed
Translate "Ruby 3.2.0 Preview 1 Released" to ko
1 parent f510edb commit 915d85c

File tree

1 file changed

+65
-65
lines changed

1 file changed

+65
-65
lines changed
Lines changed: 65 additions & 65 deletions
Original file line numberDiff line numberDiff line change
@@ -1,152 +1,152 @@
11
---
22
layout: news_post
3-
title: "Ruby 3.2.0 Preview 1 Released"
3+
title: "Ruby 3.2.0 Preview 1 릴리스"
44
author: "naruse"
5-
translator:
5+
translator: "shia"
66
date: 2022-04-03 00:00:00 +0000
7-
lang: en
7+
lang: ko
88
---
99

1010
{% assign release = site.data.releases | where: "version", "3.2.0-preview1" | first %}
1111

12-
We are pleased to announce the release of Ruby {{ release.version }}. Ruby 3.2 adds many features and performance improvements.
12+
Ruby {{ release.version }} 릴리스를 알리게 되어 기쁩니다. Ruby 3.2는 많은 기능과 성능 향상을 포함하고 있습니다.
1313

14+
## WASI 기반 웹어셈블리 지원
1415

15-
## WASI based WebAssembly support
16-
17-
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 basic and bootstrap test suites not using Thread API.
16+
WASI에 기반해 웹어셈블리를 지원하는 첫 이식판입니다. 이를 통해 CRuby 바이너리는 웹 브라우저, 서버리스 엣지 환경, 그 이외의 웹어셈블리/WASI를 사용가능한 환경에서 동작할 수 있습니다. 현재 이 이식판은 스레드 API이외의 기본적인 테스트와 부트스트랩 테스트 스위트를 통과합니다.
1817

1918
![](https://i.imgur.com/opCgKy2.png)
2019

21-
### Background
20+
### 배경
2221

23-
[WebAssembly (WASM)](https://webassembly.org/) is originally introduced to run programs safely and fast in web browsers. But its objective - running programs efficiently with security on various environment - is long wanted not only by web but also by general applications.
22+
[웹어셈블리 (WASM)](https://webassembly.org/)는 본래 웹 브라우저에서 프로그램을 안전하고 빠르게 실행하기 위해서 만들어졌습니다. 하지만 그 목적 중 하나인 프로그램을 다양한 환경에서 안전하고 효율적으로 실행하는 것은 웹 뿐만이 아니라 일반적인 애플리케이션도 바라던 것입니다.
2423

2524
[WASI (The WebAssembly System Interface)](https://wasi.dev/) is designed for such use cases. Though such applications need to communicate with operating systems, WebAssembly runs on a virtual machine which didn't have a system interface. WASI standardizes it.
25+
[WASI (The WebAssembly System Interface)](https://wasi.dev/)는 이러한 용도를 위해 설계되었습니다. 이러한 애플리케이션은 운영체제와 통신해야합니다만, 웹어셈블리는 시스템 인터페이스를 가지지 않는 가상 머신 위에서 동작합니다. WASI는 이 인터페이스를 표준화합니다.
2626

27-
WebAssembly/WASI Support in Ruby intends to leverage those projects. It enables Ruby developers to write applications which runs on such promised platform.
27+
Ruby의 웹어셈블리/WASI 지원은 이러한 프로젝트들을 활용하기 위함입니다. 이를 통해 Ruby 개발자들이 기대받는 플랫폼에서 움직이는 애플리케이션을 작성할 수 있습니다.
2828

29-
### Use case
29+
### 사용 예시
3030

31-
This support encourages developers can utilize CRuby in WebAssembly environment. An example use case of it is [TryRuby playground](https://try.ruby-lang.org/playground/)'s CRuby support. Now you can try original CRuby in your web browser.
31+
이는 개발자가 웹어셈블리 환경에서 CRuby를 활용할 수 있도록 돕습니다. 하나의 예로, [TryRuby playground](https://try.ruby-lang.org/playground/) CRuby 지원이 있습니다. 이제 CRuby를 웹 브라우저 상에서 직접 사용해볼 수 있습니다.
3232

33-
### Technical points
33+
### 기술적인 부분
3434

35-
Today’s WASI and WebAssembly itself has some missing features to implement Fiber, exception, and GC because it’s still evolving and also for security reasons. So CRuby fills the gap by using Asyncify, which is a binary transformation technique to control execution in userland.
35+
현재 WASI와 웹어셈블리 자체에는 Fiber, 예외 처리, GC를 구현하기 위한 일부 기능이 부족합니다. 이는 여전히 개발중이라는 점도 있지만, 보안때문이기도 합니다. 그래서 CRuby는 유저랜드에서의 실행을 제어하기 위한 바이너리 변환 기술인 Asyncify를 사용해 그 차이를 매꿉니다.
3636

37-
In addition, we built [a VFS on top of WASI](https://github.com/kateinoigakukun/wasi-vfs/wiki/Getting-Started-with-CRuby) so that we can easily pack Ruby apps into a single .wasm file. This makes distribution of Ruby apps a bit easier.
37+
나아가서 Ruby 애플리케이션을 간단하게 단일 .wasm 파일로 패키징할 수 있도록 [WASI 상에 VFS](https://github.com/kateinoigakukun/wasi-vfs/wiki/Getting-Started-with-CRuby)를 구현했습니다. 이는 Ruby 애플리케이션의 배포를 쉽게 해줄 것입니다.
3838

3939

40-
### Related links
40+
### 관련 링크
4141

4242
* [Add WASI based WebAssembly support #5407](https://github.com/ruby/ruby/pull/5407)
4343
* [An Update on WebAssembly/WASI Support in Ruby](https://itnext.io/final-report-webassembly-wasi-support-in-ruby-4aface7d90c9)
4444

45-
## Regexp timeout
45+
## 정규표현식 타임아웃
4646

47-
A timeout feature for Regexp matching is introduced.
47+
정규표현식 일치 처리 중에 타임아웃이 가능해졌습니다.
4848

4949
```ruby
5050
Regexp.timeout = 1.0
5151

5252
/^a*b?a*$/ =~ "a" * 50000 + "x"
53-
#=> Regexp::TimeoutError is raised in one second
53+
#=> 1초 후에 Regexp::TimeoutError
5454
```
5555

56-
It is known that Regexp matching may take unexpectedly long. If your code attempts to match an possibly inefficient Regexp against an untrusted input, an attacker may exploit it for efficient Denial of Service (so-called Regular expression DoS, or ReDoS).
56+
정규표현식 일치는 기대와는 다르게 시간이 오래 걸리는 경우가 있습니다. 신뢰할 수 없는 입력에 대해서 비효율적일 가능성이 있는 정규표현식을 일치검사하고 있다면, 공격자는 이를 이용해 효율적으로 서비스 거부 공격(이를 정규표현식 DoS, 또는 ReDoS라고 불립니다)이 가능합니다.
5757

58-
The risk of DoS can be prevented or significantly mitigated by configuring `Regexp.timeout` according to the requirements of your Ruby application. Please try it out in your application and welcome your feedback.
58+
Ruby 애플리케이션의 요구사항에 맞는 `Regexp.timeout`을 설정해 DoS에 대한 위험을 예방하거나 상당히 완화할 수 있습니다. 애플리케이션에 직접 설정해보세요. 피드백도 환영합니다.
5959

60-
Note that `Regexp.timeout` is a global configuration. If you want to use different timeout settings for some special Regexps, you may want to use `timeout` keyword for `Regexp.new`.
60+
`Regexp.timeout`은 전역 설정임에 주의하세요. 일부의 툭수한 정규표현식에 대해서만 다른 타임아웃 설정을 사용하고 싶다면, `Regexp.new``timeout` 키워드를 사용할 수 있습니다.
6161

6262
```ruby
6363
Regexp.timeout = 1.0
6464

65-
# This regexp has no timeout
65+
# 이 정규표현식은 타임아웃 설정이 없습니다.
6666
long_time_re = Regexp.new("^a*b?a*$", timeout: nil)
6767

68-
long_time_re =~ "a" * 50000 + "x" # never interrupted
68+
long_time_re =~ "a" * 50000 + "x" # 타임아웃이 발생하지 않습니다.
6969
```
7070

71-
The original proposal is https://bugs.ruby-lang.org/issues/17837
71+
기능 제안 티켓: https://bugs.ruby-lang.org/issues/17837
7272

7373

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

76-
### No longer bundle 3rd party sources
76+
### 서드파티 소스코드를 더이상 내장하지 않음
7777

78-
* We no longer bundle 3rd party sources like `libyaml`, `libffi`.
78+
* `libyaml`이나 `libffi`와 같은 서드파티의 소스코드를 내장하지 않기로 결정했습니다.
7979

80-
* libyaml source has been removed from psych. You may need to install `libyaml-dev` with Ubuntu/Debian platform. The package name is different each platforms.
80+
* psych 에 포함되어 있던 libyaml의 소스 코드는 삭제되었습니다. Ubuntu/Debian 환경이라면 직접 `libyaml-dev`를 설치해야합니다. 이 패키지의 이름은 각 환경마다 다를 수 있습니다.
8181

82-
* libffi will be removed from `fiddle` at preview2
82+
* `fiddle`에 포함되어 있던 libffi는 preview2에서 삭제될 예정입니다.
8383

84-
### Language
84+
### 언어
8585

86-
* Find pattern is no longer experimental.
86+
* 검색 패턴은 이제 정식 기능입니다.
8787

8888

89-
## Performance improvements
89+
## 성능 향상
9090

9191

9292

93-
## Other notable changes since 3.1
93+
## 그 이외의 3.1 이후로 주목할 만한 변경
9494

9595
* Hash
96-
* Hash#shift now always returns nil if the hash is
97-
empty, instead of returning the default value or
98-
calling the default proc. [[Bug #16908]]
96+
* Hash#shift는 이제 해시가 비어있다면
97+
기본 값이나 기본 프록을 호출한 결과값을 반환하는 대신
98+
언제나 nil을 반환합니다. [[Bug #16908]]
9999

100100
* MatchData
101-
* MatchData#byteoffset has been added. [[Feature #13110]]
101+
* MatchData#byteoffset이 추가되었습니다. [[Feature #13110]]
102102

103103
* Module
104-
* Module.used_refinements has been added. [[Feature #14332]]
105-
* Module#refinements has been added. [[Feature #12737]]
106-
* Module#const_added has been added. [[Feature #17881]]
104+
* Module.used_refinements가 추가되었습니다. [[Feature #14332]]
105+
* Module#refinements가 추가되었습니다. [[Feature #12737]]
106+
* Module#const_added가 추가되었습니다. [[Feature #17881]]
107107

108108
* Proc
109-
* Proc#dup returns an instance of subclass. [[Bug #17545]]
110-
* Proc#parameters now accepts lambda keyword. [[Feature #15357]]
109+
* Proc#dup은 서브클래스의 인스턴스를 반환합니다. [[Bug #17545]]
110+
* Proc#parameters는 이제 람다 키워드를 받습니다. [[Feature #15357]]
111111

112112
* Refinement
113-
* Refinement#refined_class has been added. [[Feature #12737]]
113+
* Refinement#refined_class가 추가되었습니다. [[Feature #12737]]
114114

115115
* Set
116-
* Set is now available as a builtin class without the need for `require "set"`. [[Feature #16989]]
117-
It is currently autoloaded via the `Set` constant or a call to `Enumerable#to_set`.
116+
* Set은 이제 `require "set"`할 필요 없이 사용 가능한 내장 클래스입니다. [[Feature #16989]]
117+
현재는 `Set` 정수를 사용하거나 `Enumerable#to_set`을 호출하면 자동으로 로딩됩니다.
118118

119119
* String
120-
* String#byteindex and String#byterindex have been added. [[Feature #13110]]
121-
* Update Unicode to Version 14.0.0 and Emoji Version 14.0. [[Feature #18037]]
122-
(also applies to Regexp)
123-
* String#bytesplice has been added. [[Feature #18598]]
120+
* String#byteindex와 String#byterindex가 추가되었습니다. [[Feature #13110]]
121+
* 유니코드 버전이 14.0.0, 에모지 버전이 14.0으로 갱신되었습니다. [[Feature #18037]]
122+
(이는 정규표현식에도 적용됩니다)
123+
* String#bytesplice가 추가되었습니다. [[Feature #18598]]
124124

125125
* Struct
126-
* A Struct class can also be initialized with keyword arguments
127-
without `keyword_init: true` on `Struct.new` [[Feature #16806]]
126+
* `keyword_init: true` 없이 `Struct.new`에 키워드 인수를 넘겨
127+
Struct 클래스를 초기화할 수 있습니다. [[Feature #16806]]
128128

129129

130-
### Standard libraries updates
130+
### 표준 라이브러리 갱신
131131

132-
* The following default gem are updated.
132+
* 다음 기본 젬이 갱신되었습니다.
133133

134134
* TBD
135135

136-
* The following bundled gems are updated.
136+
* 다음 내장 젬이 갱신되었습니다.
137137

138138
* TBD
139139

140-
* The following default gems are now bundled gems. You need to add the following libraries to `Gemfile` under the bundler environment.
140+
* 다음 기본 gem은 이제 내장 gem이 됩니다. 사용하려면 번들러 환경에서 `Gemfile`에 다음 라이브러리들을 추가해야 합니다.
141141

142142
* TBD
143143

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

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

151151
## Download
152152

@@ -171,8 +171,8 @@ since Ruby 3.1.0!
171171
SHA256: {{ release.sha256.zip }}
172172
SHA512: {{ release.sha512.zip }}
173173

174-
## What is Ruby
174+
## Ruby는
175175

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

0 commit comments

Comments
 (0)