Google

นอกเหนือจาก Android, ChromeOS, Fuchsia ล่าสุดกูเกิลเปิดตัวระบบปฏิบัติการใหม่ (อีกแล้ว) ชื่อ KataOS สำหรับอุปกรณ์ฝังตัวที่เน้นความปลอดภัยสูง (กูเกิลใช้คำเรียกว่า secure operating system) เพื่อใช้งานประมวลผล machine learning ที่ปลายทาง (ambient ML หรือ AmbiML)

โครงการนี้เป็นผลงานวิจัยของ Google Research เลือกใช้เคอร์เนล seL4 ที่มีอยู่ก่อนแล้ว เป็นโครงการ microkernel แบบยูนิกซ์ที่เน้นความปลอดภัยสูง (อ่านบทความ Wikipedia ประกอบ) จากนั้นกูเกิลเขียนส่วนที่เหลือเกือบทั้งหมดด้วยภาษา Rust ที่อุดช่องโหว่เรื่องความปลอดภัยของหน่วยความจำ

แนวคิดของ KataOS คือการยืนยันได้ (verifiably) ว่าชิ้นส่วนต่างๆ ของ OS ปลอดภัยจริง (ด้วยอัลกอริทึมทางคณิตศาสตร์)

KataOS ถือเป็นชิ้นส่วนหนึ่งของ Project Sparrow โครงการใหญ่ที่ต้องการสร้างต้นแบบฮาร์ดแวร์ที่รัน KataOS โดยใช้ชิป root-of-trust จากโครงการ OpenTitan ที่เป็นสถาปัตยกรรม RISC-V อีกทีหนึ่ง แต่ก็บอกว่าจะรองรับสถาปัตยกรรมที่เป็น ARM64 ด้วยในอนาคต โดยเป้าหมายสุดท้ายคือต้องการโอเพนซอร์สทุกอย่าง ทั้งฮาร์ดแวร์และซอฟต์แวร์ออกสู่สาธาณะ

ที่มา - Google Open Source

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

macxide Tue, 18/10/2022 - 16:51

In reply to by lew

ผมว่ายังไม่ mass ในตลาดผู้ใช้งานกลุ่ม end user เท่าไหร่เลยคับ ดูกระแสมันไม่บูม ต้องรอดูสักพักยาวๆเลย

forl Tue, 18/10/2022 - 18:24

In reply to by macxide

ไม่ mass ในกลุ่มผู้ใช้ทั่วไปไม่ได้แปลว่ามันแป๊กนะครับ OS แต่ละตัวมีกลุ่มผู้ใช้แตกต่างกันไป

กลุ่ม end user หลักคือตลาดการศึกษานี่ในสหรัฐฯ ครองตลาดค่อนข้างเยอะมาก ในไทยเองบางโรงเรียนที่บังคับให้มีคอมพิวเตอร์ทุกคนผมก็เคยเห็นบังคับ Chromebook บ้างแล้วนะครับ

ของเราบังคับใน notebook ส่วนตัวในโรงเรียนกันน้อย ก็เห็นน้อยตามไปด้วย

โค๊ด Rust ปรกติก็ Unsafe เยอะอยู่แล้วนี่ครับ (ฮา) ล้อเล่นนะครับ

ผมว่า พอมันเป็น OS มันต้องเล่นกับระดับล่างเยอะ การที่มันมี Unsafe เยอะผมว่ามันก็ไม่น่าแปลกนะ

คือสำหรับผม มันเหมือนคนใช้ Typescript แต่ใช้ดัน any เสียส่วนใหญ่น่ะครับ
แบบเลือกใช้ Rust เพราะมันมี feature memory by default แต่ดันไม่ใช้
ผมละงง

ผมยังคิดว่า โค๊ดระดับล่าง เช่นพวกติดต่อกับฮาร์ดแวร์ หรือส่วนจัดการหน่วยความจำ ยังมีความจำเป็นต้องเป็น unsafe code อยู่มากครับ เพราะมันต้องมีการจัดการเมมโมรี่โดยตรงอยู่ อาจจะเป็นพวก memory-mapping อะไรงี้

หรืออาจจะเป็นส่วนที่ต้องคุยกับ library ที่มาจากภาษา C ก็ต้องเป็น unsafe ครับ ถ้าผมจำไม่ผิดนะ

แต่ส่วนที่อยู่ข้างบนนั้น ก็เป็น safe code ปรกติไป

ถ้าเคยเขียน C# มาก่อน ก็คอนเซพท์เดียวกันเลยครับ โค๊ดข้างล่างอาจจะต้อง unsafe ส่วนข้างบนก็ใช้ขั้นตอนปรกติไป อะไรงี้ครับ

(ปล. kernel developer หรือ rust developer มาอ่านเจอคงกุมขมับ ไอ้นี่มันไม่รู้จริงนี่หว่า ฮา)

ที่จริงผมก็ไม่ได้มีปัญหาอะไรกับ unsafe หรอกครับ
แค่ขัดใจนิดหน่อย เวลาคนชอบโทษภาษาโน้นนี้ว่าไม่ปลอดภัย ทั้งที่คนเขียนให้ไม่ปลอดภัยก็คือตนเอง
แล้วพอมาใช้ภาษาที่มันปลอดภัยกว่า ก็ดันเขียนให้มันไม่ปลอดภัยอีก
แทนที่จะศึกษาสักหน่อยว่ามันมีอะไรบ้างที่ทำให้ไม่ปลอดภัย ดันไปโทษภาษา
คือเรื่อง unsafe memory มันก็มี pattern อยู่ไม่ถึง 20 อย่าง
รู้ไว้ก็ไม่เสียหายใช้ได้กับทุกภาษา
Segmentation fault แค่อันนี้หน้าเดียวก็เกือบครบแล้ว

จะว่าไป ตอน C++ เริ่มมี smart pointer ช่วยจัดการเมมโมรี่ คนส่วนใหญ่ก็ยังใช้ new/delete กันนะ ส่วนใหญ่คือมันชินมือกว่า และมันก็ชัดเจนกว่าด้วยว่า ตรงไหนมัน allocate ตรงไหนมัน free อะไรแบบนี้

ก็ใช้เวลานานกว่าคนจะเลิกใช้ ซึ่งตอนนี้เองโค๊ดใหม่ๆ ถามว่ายังมีคนใช้ raw pointer อยู่ไหม บอกเลยว่าก็ยังเยอะครับ แค่ลดลงไปมากเท่านั้นเอง

มี code ที่อยู่นอก unsafe เยอะ เช่น ในไฟล์นี้ มี unsafe 4 ที่แต่ละที่ก็มี code ข้างในบรรทัดเดียว ประเด็นคือใช้ unsafe กี่ครั้งก็ตาม แต่ถ้ามี code อยู่นอก unsafe มากพอก็ใข้ได้

ถ้าสนใจคุยเรื่อง Rust ต่อเรียนเชิญที่กลุ่มที่ Telegramอีกทางครับ