ผมได้ไปอ่านบทความ 5 reasons the D programming language is a great choice for development เจอประเด็นน่าสนใจสองสามประเด็นดังนี้
คอมไพเลอร์ LDC (LLVM-based D compiler) เป็นคอมไพเลอร์หนึ่งในภาษา D ที่ถูกออกแบบมา ให้เป็นคอมไพเลอร์ภาษา D แบบพกพา โดยใช้ LLVM เป็น backend ใช้ BSD-licensed
สามารถโหลดคอมไพเลอร์ LDC ได้ที่ https://github.com/ldc-developers/ldc/releases
การใช้งาน
หลังที่ทำการติดตั้งคอมไพเลอร์ GDC แล้ว สามารถคอมไพล์โค้ดภาษา D ได้ ดังนี้
เอกสาร https://archive.fosdem.org/2014/schedule/event/ldccompiler/attachments/slides/366/export/events/attachments/ldccompiler/slides/366/FOSDEM_2014.pdf
สามารถโหลดคอมไพเลอร์ LDC ได้ที่ https://github.com/ldc-developers/ldc/releases
การใช้งาน
หลังที่ทำการติดตั้งคอมไพเลอร์ GDC แล้ว สามารถคอมไพล์โค้ดภาษา D ได้ ดังนี้
ldc2 ไฟล์.d
เอกสาร https://archive.fosdem.org/2014/schedule/event/ldccompiler/attachments/slides/366/export/events/attachments/ldccompiler/slides/366/FOSDEM_2014.pdf
ความคิดเห็น
แสดงความคิดเห็น