Claude

Nicholas Carlini นักวิจัยจาก Anthropic สาธิตการทำงานของ Claude Opus 4.6 ที่เพิ่งเปิดตัวขึ้นมา โดยสร้างคอมไพเลอร์ภาษา C ด้วย Rust ขึ้นมาใหม่ อาศัย Claude Code รวม 16 ตัวช่วยกันเขียนโค้ดกว่าแสนบรรทัด คิดเป็นค่าใช้ Claude ทั้งหมด 20,000 ดอลลาร์ โดยสามารถคอมไพล์ Linux 6.9 ได้สำเร็จบนซีพียู x86, Arm, และ RISC-V

แนวทางการใช้ AI เป็นทีมเช่นนี้ทำให้กระบวนการพัฒนาเร็วขึ้นมาก แต่ก็ต้องแน่ใจว่าไม่แย่งงานกันทำ โดยมีการแจกงานเอาไว้ในโฟลเดอร์ current_task อธิบายงานแต่ละส่วน จากนั้นเปิดให้ agent แต่ละตัวมารับงานไปทำ กระบวนการรับงานควบคุมด้วย git ทีม AI บางตัวมีหน้าที่แก้เอกสารให้ตรงกับโค้ดเท่านั้น

บทเรียนจากการสร้างคอมไพล์เลอร์นี้ เป็นแนวทางสำหรับการใช้ LLM พัฒนาโครงการขนาดใหญ่ได้อีกหลายอย่าง เช่น

  1. เขียนชุดทดสอบคุณภาพสูง ช่วยให้ Claude แก้ปัญหาได้ตรงประเด็น
  2. ชุดทดสอบควรอ่านง่าย ไม่พิมพ์ข้อความที่ไม่เกี่ยวข้องจำนวนมาก เพื่อให้ Claude ทำงานได้ง่ายขึ้น
  3. แยกงานให้ขาดจากกัน ชุดทดสอบทำงานแยกกัน เช่น พยายามคอมไพล์คนละโปรแกรมเพื่อดูปัญหา
  4. แยกหน้าที่ agent แต่ละตัว นอกจากการเขียนโค้ดแล้ว Carlini ยังมี agent ทำหน้าที่เฉพาะ เช่น ตัวตรวจโค้ดซ้ำ, agent ปรับปรุงประสิทธิภาพ, agent วิจารณ์โค้ด

แม้โครงการจะทำงานได้สำเร็จ แต่ Carlini ก็ระบุว่ามาถึงขีดจำกัดของ Claude แล้ว เพราะผ่านชุดทดสอบของ GCC ที่ 99% หลังจากนี้เมื่อพยายามเพิ่มฟีเจอร์หรือแก้ไขบั๊กก็มักจะทำให้จุดอื่นพังเพิ่ม

หลังโครงการนี้ประกาศออกมา ก็มีเสียงแสดงความไม่พอใจเล็กน้อยว่าทำไม Anthropic จึงเลือกสร้างคอมไพล์เลอร์ภาษา C ด้วย Rust แทนที่จะเขียนด้วย C/C++ เช่นที่ผ่านมา

ที่มา - Anthropic

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

ก็มีเสียงแสดงความไม่พอใจเล็กน้อยว่าทำไม Anthropic จึงเลือกสร้างคอมไพล์เลอร์ภาษา C ด้วย Rust แทนที่จะเขียนด้วย C/C++ เช่นที่ผ่านมา

ส่วนตัวผมว่าถ้าเขียนด้วยภาษาเดิมมันมีโอกาสที่ AI จะเอาโค้ดเก่ามาใส่สูง เปลี่ยนภาษาเนี่ยแหละวัดได้หน่อยว่ามันทำได้

ดูโฆษณาเกินไปหน่อย
Compiler มันแค่โปรแกรม parse text + คำนวน requirement แล้วก็แปลไปที่ target opcode
ไม่ได้ต้องทำงาน logic คลุมเครือ แบบ program ทั่วไป
และมันไม่ได้ต้องการ performance อะไรมาก และอีกอย่าง Compiler C เป็นภาษาที่ไม่มีอะไร
ถ้าเป็น Compiler ภาษาอื่นน่าจะได้ผลแย่กว่า

big50000 Thu, 12/02/2026 - 00:55

Put yourself in Claude’s shoes

นี่แหละปัญหาที่จะยังเป็น กขค. ที่จะทำให้ Agentic AI มันมีประโยชน์จริง ๆ ในสภาพแวดล้อมการทำงานจริง และเป็นกับทุกโซลูชันที่ผมเคยเห็นมา คือเราต้องมานั่งทำความเข้าใจกับโมเดลและวางกระบวนการทำงานให้มัน ซึ่งก็ยังต้องมี Learning Curve ทุก ๆ ครั้งที่เปลี่ยนเจ้า แบบนี้เอามาใช้กับโลกจริงที่มักติดกับดัก Tech Debt ยาก

ผมมองว่า ถ้ามี AI Solution เจ้าไหนที่กล้าทำเกี่ยวกับโซลูชันการดูแลโปรเจกต์เก่ากับพวกซ่อมบำรุงระบบต่อยอดระบบเดิมได้ เจ้านั้นจะเนื้อหอมมาก

ปล. อย่าว่าแต่วางผังงานใหญ่ ๆ เลย แค่คุยธรรมดา ๆ ความรู้ Prompt Engineering กับโมเดลเจ้าหนึ่งก็ใช่ว่าจะใช้กับอีกเจ้าได้ 100% ต้องเดินอ้อม Quirk ของโมเดลอยู่ตลอด ไอ้พวกคำแนะนำที่บอกให้ "อย่าใช้แต่โมเดลเดียว ให้ใช้ตัวที่ทำงานให้เราได้ดีในงานนั้น" กลายเป็นว่ามันมาเพิ่มภาระต้องมาเรียนรู้วิธีสื่อสารกับมันอยู่เรื่อย ๆ อย่าง Gemini เนื่ยผมว่ามันเก่งโคตรกับงาน Mixed Language แต่พอถามคำถามผสมภาษาจริง ๆ ชอบหลุดไปคุยอีกภาษา ซึ่งผมไม่เคยเจอปัญหานี้กับ Claude เลย บางทีต้องเขียนพรอมต์ใส่รูปภาพแล้วส่งเข้าไปถึงจะตอบตรงภาษาที่ต้องการ