Menu
  • Blog
  • Archive
    • Motorcycle Safety Riding | 機車安全駕駛 | 機車防禦駕駛
    • A Day A Python Standard Library
    • IOTA
    • Opinion | 媒體投書 | 個人觀點
  • Projects
  • Album
  • Teaching
  • Signature
  • About Me

louie_lu's blog.

人生是個無盡的深淵

標籤: bytecode

Python 底層運作 01 – 虛擬機器與 Byte Code

In Python-internalsTags bytecode, CPython, python3.72017-04-11Leave a comment louie.lu

你可曾想過這段 Python 程式碼是如何運作的? [crayon-600a39d7800ac454677788/] Python 作為 interpreted language,其運作可以分為兩個大項,Compiler 以及 Virtual Machine。Compiler 負責將輸入的語法做分析,轉換成 AST (Abstract Syntax Tree),再轉換成 CFG,最後依照 CFG 輸 …

Continue Reading

Site Footer