กลับสู่คอร์สเรียน
AI015 มืออาชีพ

บทนำสู่การเขียนโปรแกรมจูเลีย

คู่มือที่ครอบคลุมเกี่ยวกับภาษาโปรแกรมจูเลีย ซึ่งเป็นภาษาทั่วไปแบบไดนามิกที่มีประสิทธภาพสูง ซึ่งเหมาะอย่างยิ่งสำหรับการคำนวณเชิงวิทยาศาสตร์และเชิงตัวเลข หลักสูตรนี้ครอบคลุมตั้งแต่ไวยากรณ์พื้นฐานและชนิดข้อมูล ไปจนถึงหัวข้อขั้นสูง เช่น การเขียนโปรแกรมในระดับสูง (metaprogramming) โครงสร้างข้อมูลแบบเฟรม (data frames) การเชื่อมต่อเครือข่าย และการเชื่อมต่อกับฐานข้อมูล

4.9
30.0h
913 ผู้เรียน
10 lessons
0 การถูกใจ
ปัญญาประดิษฐ์
เริ่มเรียน

ภาพรวมคอร์สเรียน

📚 สรุปเนื้อหา

คู่มือที่ครอบคลุมเกี่ยวกับภาษาโปรแกรมจูเลีย (Julia) ซึ่งเป็นภาษาโปรแกรมแบบไดนามิกทั่วไปที่มีประสิทธภาพสูง โดยเหมาะอย่างยิ่งสำหรับการคำนวณทางวิทยาศาสตร์และเชิงตัวเลข หลักสูตรนี้ครอบคลุมตั้งแต่ไวยากรณ์พื้นฐานและประเภทข้อมูล ไปจนถึงหัวข้อขั้นสูง เช่น การเขียนโปรแกรมในระดับเมตา (metaprogramming), โครงสร้างข้อมูลแบบตารางข้อมูล (data frames), การเชื่อมต่อเครือข่าย และการเชื่อมต่อฐานข้อมูล

เชี่ยวชาญการคำนวณทางวิทยาศาสตร์ระดับสูง ด้วยความเร็วเหมือนภาษา C แต่ใช้งานง่ายเหมือนภาษา Python

ผู้เขียน: บริษัท ทิวторีสพอยต์ (ไอ) พีวีที จำกัด

คำขอบคุณ: สิทธิ์การใช้งาน 2020 โดย ทิวเตอร์สพอยต์ (ไอ) พีวีที จำกัด ทุกเนื้อหาและกราฟิกเป็นทรัพย์สินของ ทิวเตอร์สพอยต์

🎯 เป้าหมายการเรียนรู้

  1. กำหนดนิยามของภาษาโปรแกรมจูเลีย พร้อมระบุคุณสมบัติหลักและบริบททางประวัติศาสตร์
  2. แยกแยะความแตกต่างระหว่างจูเลียกับภาษาคำนวณทางเทคนิคอื่น ๆ ทั้งในด้านประสิทธิภาพและไวยากรณ์
  3. ติดตั้งและตั้งค่าสภาพแวดล้อมจูเลียและชุดคำสั่ง (REPL) ได้อย่างสำเร็จบนระบบปฏิบัติการ Linux, Windows และ macOS
  4. ใช้แนวทางสไตล์ของจูเลียในการตั้งชื่อตัวแปร และใช้คอมเมนต์แบบบรรทัดเดียว/หลายบรรทัดเพื่อเอกสารโค้ด
  5. สร้างอาร์เรย์ประเภทต่าง ๆ และมิติต่าง ๆ โดยใช้ช่วง (range objects), ตัวสร้าง (generators), การรวม (comprehensions) และฟังก์ชันภายใน เช่น zeros() และ ones()
  6. ดำเนินการดัชนีอาร์เรย์ขั้นสูงและเปลี่ยนแปลงข้อมูลโดยใช้ตรรกะแบบบูลีน คำสั่ง end และฟังก์ชันที่มีเครื่องหมายตกใจ (เช่น push!, splice!)
  7. สร้างและจัดการทูเพิล (Tuples) และทูเพิลที่มีชื่อ (Named Tuples) รวมถึงการใช้งานในรูปแบบอาร์กิวเมนต์แบบคำสำคัญของฟังก์ชัน
  8. ระบุและจัดการพฤติกรรมการเกินค่าจำนวนเต็ม (integer overflow) และข้อผิดพลาดจากการหาร โดยใช้ประเภทข้อมูลมาตรฐานและประเภทความแม่นยำสูงแบบไม่จำกัด
  9. วิเคราะห์การแสดงผลของจำนวนทศนิยม รวมถึงค่าศูนย์ที่มีเครื่องหมาย ค่าพิเศษ (NaN, Inf) และค่าเครื่องจักร (machine epsilon)
  10. ดำเนินการและผสมผสานการดำเนินการทางคณิตศาสตร์ บิตเวส และการอัปเดต เพื่อจัดการประเภทข้อมูล

บทเรียน

Lesson

This lesson introduces the Julia programming language and its ability to solve the "two-language problem" by providing high-level, readable syntax that executes with the speed of low-level languages. Students will learn how to set up their development environment and understand how Julia’s LLVM-based compilation eliminates the need to rewrite prototypes for production.

This lesson introduces the fundamentals of Julia programming, focusing on variable naming conventions, type inference, and the use of snake_case. Students will also learn how to manage the Julia environment, execute scripts using the include() function, and implement proper documentation standards through single and multi-line comments.

This lesson introduces tuples in Julia as fixed-length, immutable collections that ensure data integrity by preventing accidental modifications. Students will learn how to define and index tuples, utilize tuple unpacking, and leverage their performance advantages for storing fixed-size data.

This lesson introduces the landscape of operators in Julia, covering arithmetic, bitwise, and logical operations, as well as the use of compound updating assignments. Students will learn how to apply these operators effectively while managing type-specific behaviors and operator precedence to solve computational problems.

This lesson explores the distinction between Julia’s 32-bit Char primitives and immutable UTF-8 Strings, emphasizing their unique type hierarchies and memory handling. Students will learn to perform character arithmetic, implement functional transformations, and optimize text processing through efficient byte-based indexing and SubString views.

This lesson explores flow control in Julia, focusing on implementing complex conditional logic, iterative loops, and key-value data structures. Students will also learn to leverage Julia's multiple dispatch system and the Dates module to manage and manipulate temporal data types efficiently.

This lesson explores the Julia Dates module, focusing on the hierarchical management of temporal data through Date, Time, and DateTime types. Students will learn to perform precise calendar arithmetic, utilize stream-based I/O, and apply metaprogramming techniques to build flexible, reusable code.

This lesson introduces the Julia visualization ecosystem, focusing on the Plots.jl metapackage that provides a unified syntax for various rendering backends. Students will learn how to switch between backends like GR and UnicodePlots to optimize workflows for both high-resolution graphical output and terminal-based data analysis.

This lesson explores the four pillars of scientific computing in Julia: high-performance data handling, statistical rigor, modular architecture, and versatile graphics. Students will learn how to integrate diverse data streams, apply weighted statistical metrics, and utilize various libraries for both low-level and declarative data visualization.

This lesson explores Julia’s networking and database ecosystem, focusing on using the Multiple Dispatch paradigm to interface with high-performance tools like Gaston and PGFPlots for data visualization and reporting. It also introduces practical byte-stream communication, contrasting the reliability of TCP and Named Pipes with the speed-focused nature of UDP.