Skip to content

Commit 658baba

Browse files
committed
Translate 01.0
1 parent 22b1131 commit 658baba

File tree

2 files changed

+14
-13
lines changed

2 files changed

+14
-13
lines changed

th/01.0.md

Lines changed: 12 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,21 @@
1-
# 1 Go Environment Configuration
1+
# 1 การตั้งค่าสภาพแวดล้อมของ Go
22

3-
Welcome to the world of Go, let's start exploring!
3+
ยินดีต้อนรับสู่โลกของ Go, เรามาเริ่มต้นกันเลย!
44

5-
Go is a fast-compiled, garbage-collected, concurrent systems programming language. It has the following advantages:
5+
Go เป็นภาษาประเภทคอมไพล์ที่ทำงานได้อย่างรวดเร็ว มีระบบ garbage collection สนับสนุนระบบ concurrent ซึ่งทำให้เกิดข้อได้เปรียบกว่าภาษาอื่น ดังนี้:
66

7-
- Compiles a large project within a few seconds.
8-
- Provides a software development model that is easy to reason about, avoiding most of the problems associated with C-style header files.
9-
- Is a static language that does not have levels in its type system, so users do not need to spend much time dealing with relations between types. It is more like a lightweight object-oriented language.
10-
- Performs garbage collection. It provides basic support for concurrency and communication.
11-
- Designed for multi-core computers.
7+
- คอมไพล์โปรเจ็คขนาดใหญ่ได้ในเวลาไม่กี่วินาที
8+
- จัดเตรียมรูปแบบในการพัฒนาซอฟท์แวร์แบบที่เข้าใจได้ง่าย โดยหลีกเลี่ยงปัญหาที่เกิดกับ header files ในภาษาซี
9+
- เป็นภาษาประเภท static ที่ไม่ได้มี levels ในระบบชนิดข้อมูล (type) ทำให้ผู้ใช้ไม่จำเป็นต้องเสียเวลาในการจัดการกับความสัมพันธ์ระหว่างชนิดข้อมูล (type) ซึ่งอันที่จริงแล้วก็คล้ายกับเป็นภาษาแบบ object-oriented ชนิดกลายๆ นั่นเอง
10+
- มี garbage collection และสนับสนุนการทำ concurrency และการสื่อสาร
11+
- ออกแบบมาเพื่อรองรับกับคอมพิวเตอร์แบบหลายคอร์ (multi-core computers)
1212

13-
Go is a compiled language. It combines the development efficiency of interpreted or dynamic languages with the security of static languages. It is going to be the language of choice for modern, multi-core computers with networking. For these purposes, there are some problems that need to inherently be resolved at the level of the language of choice, such as a richly expressive lightweight type system, a native concurrency model, and strictly regulated garbage collection. For quite some time, no packages or tools have emerged that have aimed to solve all of these problems in a pragmatic fashion; thus was born the motivation for the Go language.
13+
Go เป็นภาษาประเภทที่ต้องคอมไพล์ ซึ่งได้หลอมรวมประสิทธิภาพในการพัฒนาของภาษาที่ทำงานในแบบ interpreter หรือเรียกอีกอย่างหนึ่งว่าภาษาแบบ dynamic กับความปลอดภัยในแบบของภาษา static เอาไว้ด้วยกัน นับเป็นทางเลือกในการพัฒนาสำหรับคอมพิวเตอร์สมัยใหม่ที่ทำงานแบบหลายคอร์ (multi-core) และเชื่อมต่อกันด้วยระบบเครือข่าย และจากเป้าหมายที่กล่าวมานี้จึงมีปัญหาบางอย่างที่จำเป็นต้องแก้ในระดับของภาษาเอง ยกตัวอย่างเช่น การสนับสนุนรูปแบบชนิดข้อมูลแบบเบา (lightweight type), สนับสนุนรูปแบบการทำงานแบบ concurrency ในตัวเอง และมีการทำ garbage collection ที่ถูกควบคุมอย่างเคร่งครัด
14+
ซึ่งเป็นเวลาระยะหนึ่งแล้วที่ไม่มี packages หรือเครื่องมือที่ออกแบบมาเพื่อแก้ปัญหาเหล่านี้อย่างจริงจังในทางปฎิบัติ นี่จึงเป็นที่มาของแรงบันดาลใจในการสร้างภาษา Go ขึ้นมา
1415

15-
In this chapter, I will show you how to install and configure your own Go development environment.
16+
ในบทนี้, ผมจะแสดงการติดตั้งและการตั้งค่าสภาพแวดล้อมในการพัฒนาของ Go
1617

1718
## Links
1819

1920
- [Directory](preface.md)
20-
- Next section: [Installation](01.1.md)
21+
- บทถัดไป: [การติดตั้ง](01.1.md)

th/preface.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
- 1.[Go environment configuration](01.0.md)
1+
- 1.[การตั้งค่าสภาพแวดล้อมของ Go](01.0.md)
22
- 1.1. [Installation](01.1.md)
33
- 1.2. [$GOPATH and workspace](01.2.md)
44
- 1.3. [Go commands](01.3.md)
@@ -93,4 +93,4 @@
9393
- 14.5. [Multi-language support](14.5.md)
9494
- 14.6. [pprof](14.6.md)
9595
- 14.7. [Summary](14.7.md)
96-
- Appendix A [References](ref.md)
96+
- Appendix A [References](ref.md)

0 commit comments

Comments
 (0)