Skip to main content

Benx Shen's Library tagged language   View Popular

03 Jul 07

石頭閒語:如何區分動態語言和靜態語言 - 樂多日誌

  • 如果程式影像在載入前便確立並儲存,那麼是靜態語言[If the image of program which including op code and data is static in disk before loaded, we call it 'static language'.]。這句話對學過作業系統概論或組合語言的人比較容易理解。因為在組合語言中,要求程序員設置 code 節區, data 節區等內容載入記憶體的位置。所以我們很容易聯想記憶體中的程式影像儲存在檔案系統中的情形。與之相對的是,若程式影像在載入後才建立,則是動態語言。
  • 動態語言還有一個特點,即「互動式程式設計(interactive programming)」。動態語言程式的載入器都包含了語法解析的能力,所以很複雜且龐大,我們一般直接稱為解譯器(Interpreter)。在載入程式碼之後,依然可以接受使用者輸入程式碼。當其接受程式碼後,便立即解譯並改變程式影像之內容。
19 Sep 06

Canvas is a template generator b

  • Canvas is a template generator based on the Groovy language. It uses the familiar Velocity Java API to bind variables and allows you to use the full expressivity of Groovy inside your templates. You can download Canvas here. - benxshen on 2006-09-19
1 - 5 of 5
Showing 20 items per page

Diigo is about better ways to research, share and collaborate on information. Learn more »

Join Diigo