Google

แม้ว่าภายในกูเกิลนั้นจะใช้งานภาษา C++ และ Python อย่างหนักก็ตาม แต่ทั้งสองภาษาก็ยังมีข้อจำกัดอยู่บางส่วน ภาษา C++ นั้นต้องเสียเวลาในการคอมไพล์นานในการแก้ไขแต่ละครั้ง ส่วนภาษา Python นั้นมีปัญหาเรื้อรังในการรองรับมัลติคอร์ เพื่อแก้ปัญหานี้กูเกิลจึงเสนอ "ทางสายกลาง" ให้กับเราๆ ท่านๆ ด้วยภาษา Go

ภาษา Go เป็นภาษาที่ต้องการการคอมไพล์ เช่นเดียวกับภาษา C++ แต่มีข้อดีกว่าหลายประการคือ

  • คอมไพล์เร็วมาก กูเกิลโชว์ให้ดูว่าการคอมไพล์โค้ดนับแสนบรรทัดทำได้ภายใน 10 วินาที บนโน้ตบุ๊ก
  • มีระบบจัดการหน่วยความจำในตัว ไม่ต้องจัดการคืนตัวแปรเอง
  • มี type เช่นเดียวกับ C++
  • รองรับมัลติคอร์เต็มรูปแบบ สนับสนุนการใช้ Coroutine แบบเดียวกับ Erlang

ดาวน์โหลดใช้งานได้เลยตอนนี้ ที่ Go

มันเกี่ยวอะไรกับวีซ่าเปล่าหว่า

ที่มา - ArsTechnica, InformationWeek

Hiring! บริษัทที่น่าสนใจ

Carmen Software company cover
Carmen Software
Hotel Financial Solutions
Next Innovation (Thailand) Co., Ltd. company cover
Next Innovation (Thailand) Co., Ltd.
We are web design with consulting & engineering services driven the future stronger and flexibility.
KKP Dime company cover
KKP Dime
KKP Dime บริษัทในเครือเกียรตินาคินภัทร
Kiatnakin Phatra Financial Group company cover
Kiatnakin Phatra Financial Group
Financial Service
Fastwork Technologies company cover
Fastwork Technologies
Fastwork.co เว็บไซต์ที่รวบรวม ฟรีแลนซ์ มืออาชีพจากหลากหลายสายงานไว้ในที่เดียวกัน
Thoughtworks Thailand company cover
Thoughtworks Thailand
Thoughtworks เป็นบริษัทที่ปรึกษาด้านเทคโนโยลีระดับโลกที่คว้า Great Place to Work 3 ปีซ้อน
Iron Software company cover
Iron Software
Iron Software is an American company providing a suite of .NET libraries by engineer for engineers.
CLEVERSE company cover
CLEVERSE
Cleverse is a Venture Builder. Our team builds several tech companies.
Nipa Cloud company cover
Nipa Cloud
#1 OpenStack cloud provider in Thailand with our own data center and software platform.
Bangmod Enterprise company cover
Bangmod Enterprise
The leader in Cloud Server and Hosting in Thailand.
CIMB THAI Bank company cover
CIMB THAI Bank
MOVING FORWARD WITH YOU - CIMB is the leading ASEAN Bank
Bangkok Bank company cover
Bangkok Bank
Bangkok Bank is one of Southeast Asia's largest regional banks, a market leader in business banking
MuvMi (Urban Mobility Tech Co.,Ltd.) company cover
MuvMi (Urban Mobility Tech Co.,Ltd.)
Shape the future of urban mobility towards affordable, clean, and safe solutions
T.N. Digital Solution Co., Ltd. company cover
T.N. Digital Solution Co., Ltd.
TNDS has been involving in every first move of banking’s major digital transformation.
KBTG - KASIKORN Business-Technology Group company cover
KBTG - KASIKORN Business-Technology Group
KBTG - "The Technology Company for Digital Business Innovation"
Siam Commercial Bank Public Company Limited company cover
Siam Commercial Bank Public Company Limited
"Let's start a brighter career future together"
Icon Framework co.,Ltd. company cover
Icon Framework co.,Ltd.
Global Standard Platform for Real Estate แพลตฟอร์มสำหรับธุรกิจอสังหาริมทรัพย์ครบวงจร มาตรฐานระดับโลก
REFINITIV company cover
REFINITIV
The Financial and Risk business of Thomson Reuters is now Refinitiv
H LAB company cover
H LAB
Re-engineering healthcare systems through intelligent platforms and system design.
The Gang Technology Co., Ltd. company cover
The Gang Technology Co., Ltd.
We're a Digital Agency that helps our customers transform their business into digital with ease.
LTMH company cover
LTMH
LTMH มุ่งเน้นการพัฒนาผลิตภัณฑ์ที่สามารถช่วยพันธมิตรของเราให้บรรลุเป้าหมาย
Seven Peaks company cover
Seven Peaks
We Drive Digital Transformation
Wisesight (Thailand) Co., Ltd. company cover
Wisesight (Thailand) Co., Ltd.
The Best Choice For Handling Social Media · High Expertise in Social Data · Most Advanced and Secure
MOLOG Tech company cover
MOLOG Tech
We are Modern Logistic Platform, Specialize in WMS, OMS and TMS.
Data Wow Co.,Ltd company cover
Data Wow Co.,Ltd
We enable our clients to realize increased productivity by solving their most complex issues by Data
LINE Company Thailand company cover
LINE Company Thailand
LINE, the world's hottest mobile messaging platform, offers free text and voice messaging + Call
LINE MAN Wongnai company cover
LINE MAN Wongnai
Join our journey to becoming No.1 food platform in Thailand

น่าจะขึ้นอยู่กับการเขียนด้วยแหละครับ

... แต่อย่างน้อยก็น่าจะเร็วกว่า Python เพราะรองรับมัลติคอร์

เมื่อไม่นานมานี้ ผมเห็นที่ทำงานพูดถึง golang แต่ผมเพิ่งทราบว่าเป็นกูเกิล กูเกิลน่าจะผลักดันได้แรงกว่า Erlang หรือเปล่า น่าสนใจครับ

javaboom Wed, 11/11/2009 - 17:29

In reply to by lew

Erlang เป็นภาษาที่น่าสนมากครับ แต่ผมก็แปลกใจเหมือนกันว่าทำไม developer ที่ทำงานเกี่ยวกับ HPC (ที่ผมรู้จัก) ไม่เห็นมีใครใช้ Erlang เลย ส่วนใหญ่ยังใช้ที่เป็นไลบรารีมากกว่าอย่าง TBB กับ OpenMP และที่ยังไม่ทิ้งเลยก็ MPI และก็ตอนนี้เริ่มมีให้เห็นเพิ่มทีละนิดคือ CUDA และก็ Hadoop (แต่ Hadoop เหมาะกับมัลติคอมพิวเตอร์มากกว่า)

หรือว่าในแง่ learning curve แล้ว เขาเสียเวลาเล่นไลบรารีที่วิ่งอยู่บนภาษาที่คุ้นเคยมากกว่าเล่นภาษาใหม่อย่าง Erlang ??? อย่างไรก็ดี ผมมองว่าการเขียนโปรแกรมแบบ HPC (เช่น มัลติคอร์ / มัลติเทรด / แบบขนาน) นั้น learning curve มันหนักตรงการศึกษา programming model มากกว่า เพราะ Erlang และ Golang รวมไปถึงไลบรารีที่ผมกล่าวข้างต้นต่างมี programming model สำหรับการพัฒนาโปรแกรมแบบ HPC เฉพาะตัวของมันเอง ดังนั้น developer น่าจะสนใจที่ programming model ที่ตนถนัดหรือเห็นว่ามันง่ายมากกว่า ดังนั้น ถ้า Golang มี programming model ที่เข้าใจได้ง่าย พร้อมกับภาษาที่เป็นที่คุ้นเคยอยู่แล้ว มันก็น่าสนใช่น้อย ... ผมเคยเสียเวลาเล่น Cell SDK มา คิดว่าน่าจะง่าย แต่พอเอาเข้าจริงๆเสียเวลามากกว่าเขียน MPI อีกครับ

lew Wed, 11/11/2009 - 17:51

In reply to by javaboom

ผมว่า programming model มันไม่ต่างกันมากนะครับ coroutine+channel แต่ที่ผมขัดใจ Erlang มากๆ คือ Syntax แปลกประหลาดกับ pattern matching ที่ผมไม่เห็นภาพว่าทำไมต้องทำอย่างนั้น

พยายามมาสักพัก หมดแรงไปเรียบร้อยครับ

เอ้าแล้วสิ มี OS ของตนเอง ตอนนี้จะมีภาษาของตนเองอีก

นี้อาจเป็นนาทีทองของโอกาสแห่งการเรียนรู้สิ่งที่อาจจะเป็นนวัตกรรมในอนาคต

นึกขึ้นได้อย่างนึง

เหมือนเคยได้ยิน google บอกว่าจะช่วยพัฒนา python ให้เร็วขึ้นกว่าเดิม แบบนี้ไม่กลายเป็นว่ามาพัฒนาภาษาใหม่แทนรึครับ

โครงการนั้นก็ยังอยู่ครับ

จริงๆ แล้วส่วนของ Go นี่แทบจะไม่เกี่ยวกับ Python เลย ผมอ่านๆ แล้วมันกลายเป็นการเอา Erlang มาทำให้เป็น C-Like Syntax มากกว่า

คุ้นชื่อเยอะเลย

  • Ken Thompson
  • Rob Pike
  • Robert Griesemer
  • Russ Cox

แถม revision แรกสุดยังเป็น hello world ภาษา B

changeset:   0:f6182e5abf5e
user:        Brian Kernighan <bwk>
date:        Tue Jul 18 19:05:45 1972 -0500
summary:     hello, world

changeset:   1:b66d0bf8da3e
user:        Brian Kernighan <bwk>
date:        Sun Jan 20 01:02:03 1974 -0400
summary:     convert to C

changeset:   2:ac3363d7e788
user:        Brian Kernighan <research!bwk>
date:        Fri Apr 01 02:02:04 1988 -0500
summary:     convert to Draft-Proposed ANSI C

changeset:   3:172d32922e72
user:        Brian Kernighan <bwk@research.att.com>
date:        Fri Apr 01 02:03:04 1988 -0500
summary:     last-minute fix: convert to ANSI C

changeset:   4:4e9a5b095532
user:        Robert Griesemer <gri@golang.org>
date:        Sun Mar 02 20:47:34 2008 -0800
summary:     Go spec starting point.