ผมขออภัยล่วงหน้า หาก title ของบทความนี้ไม่ได้เป็น most accurate (แม่นยำที่สุด) แต่จะ serve its purpose (ทำหน้าที่) ได้ เพราะคุณจะพบเร็วๆ นี้ อย่างไรก็ตาม ผมอยากพูดถึงการ run operating systems อื่นๆ นอกจาก OS ของคุณ บน OS ของคุณ ปกติเราเรียกว่า virtualization
แต่เป็น broad term (คำกว้าง) ที่ครอบคลุมทุกอย่าง เรามี thin-app virtualization, bare-metal provisioning, dandy software เช่น VirtualBox และ VMware Player และ hardcore candidates ใน Linux space แล้วมี simulation ซึ่งเป็นอีกอย่าง entirely (แยกต่างหาก) Emulators ก็ขอ honorable mention (การกล่าวถึงอย่างกิตติมศักดิ์hesis) ตัวอย่าง typical จะรวม DOSBox และ PCSX2 ตอนนี้ running OS ใน browser ยังไง?
แนะนำ JSLinux
คุณรู้จัก Fabrice Bellard ไหม ผู้เขียน QEMU? เขาคือผู้ชายด้านหลัง awesome little Linux emulator นี้ รันเป็น pure Javascript application เปิด browser โปรด และเพลิดเพลินกับ wonders ของ modern coding มันคือ real Linux จริงๆ พร้อม commands และอื่นๆ
แนะนำ Virtual x86
Another great little product ค่อนข้าง crude (ดิบ/粗糙) กว่า JSLinux แต่มี features และ options มากกว่า Virtual x86 มาพร้อม predefined profiles หลายตัว รวมถึง OSs เช่น KolibriOS, generic Linux 2.6, FreeDOS, Windows 1.0 (เชื่อหรือไม่) และ options น่าสนใจอื่นๆ
จากนั้นคุณสามารถ setup ระบบของตัวเอง พร้อม CD, floppy และ hard disk images ของตัวเอง คุณยังสามารถเปลี่ยน boot order, define memory และ video RAM และสุดท้าย ส่ง commands และ arguments ไปยังระบบผ่าน serial console
หลังจาก select desired OS Virtual x86 อาจใช้เวลานาทีหลายนาที downloading base image และรันมัน rather neat (ค่อนข้างเรียบง่าย) deal นี้ มาดู several predefined examples กัน
อ่านเพิ่มเติม
เพื่อไม่ spam มากเกินไป ผมตัดสินใจ post most of the links ไปที่ relevant articles ที่นี่ แทนที่จะวางใน opening paragraphs หากคุณ care เกี่ยวกับ virtualization technologies ที่กล่าวมา กรุณาไปดู:
VirtualBox 4 review
VMware Player 4 review
VirtualBox & KVM side-by-side
VirtualBox networking & sharing guide
And more, more, more. Take a look at the virtualization section.
สรุป
Mark my words (จดจำนึกคำพูดของผม) All this wondrous advancement ใน technology และ hardware acceleration ใน browsers ทั้งหมดอาจช่วยให้คุณเพลิดเพลินกับ 3D donkey pr0n อย่าง vivid (สดใส/ชัดเจน) แต่ beauty ของ Javascript meant for something else (มีไว้สำหรับสิ่งอื่น) ในความจริง วันหนึ่ง เมื่อ computers ได้ powerful มากพอ และ Javascript engines slick (ลื่น/ราบ) มากพอ คุณจะสามารถรัน virtual machines เป็น another tab ใน Internet software โปรดของคุณ นี่คือการ predict the future (พยากรณ์อนาคต) ของผม
JSLinux และ Virtual x86 เป็น great examples ของ trend นี้ อีกทั้งยัง showcase (แสดงให้เห็น) ว่าบางคน smart (ฉลาด) แค่ไหน และอะไรสามารถ achieve (บรรลุ) ได้ด้วย rigorous coding (การเขียนโค้ดอย่างเข้มงวด) นี่ truly amazing (น่าทึ่งจริงๆ) well ตอนนี้คุณมี food for thought (อาหารให้คิด) และ new games เพลิดเพลินไป
ขอแสดงความนับถือ