|
1 |
| -# 1 Go Environment Configuration |
| 1 | +# 1 การตั้งค่าสภาพแวดล้อมของ Go |
2 | 2 |
|
3 |
| -Welcome to the world of Go, let's start exploring! |
| 3 | +ยินดีต้อนรับสู่โลกของ Go, เรามาเริ่มต้นกันเลย! |
4 | 4 |
|
5 |
| -Go is a fast-compiled, garbage-collected, concurrent systems programming language. It has the following advantages: |
| 5 | +Go เป็นภาษาประเภทคอมไพล์ที่ทำงานได้อย่างรวดเร็ว มีระบบ garbage collection สนับสนุนระบบ concurrent ซึ่งทำให้เกิดข้อได้เปรียบกว่าภาษาอื่น ดังนี้: |
6 | 6 |
|
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) |
12 | 12 |
|
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 ขึ้นมา |
14 | 15 |
|
15 |
| -In this chapter, I will show you how to install and configure your own Go development environment. |
| 16 | +ในบทนี้, ผมจะแสดงการติดตั้งและการตั้งค่าสภาพแวดล้อมในการพัฒนาของ Go |
16 | 17 |
|
17 | 18 | ## Links
|
18 | 19 |
|
19 | 20 | - [Directory](preface.md)
|
20 |
| -- Next section: [Installation](01.1.md) |
| 21 | +- บทถัดไป: [การติดตั้ง](01.1.md) |
0 commit comments