面向對象程序設計語言 Objeck 2.1.2 發布

jopen 13年前發布 | 11K 次閱讀 面向對象

Objeck 是一個計算機面向對象程序設計語言,Objeck 把所有的數據類型都當成是對象,包含一個編譯器和虛擬機,具有內存管理和JIT編譯器。

項目地址:http://code.google.com/p/objeck-lang/

Objeck 2.1.2 發布了,該版本修復了 XML 和 ODBC 庫的一些 bug;另外 ODBC 庫現在作為一個獨立的包提供下載。

示例代碼:

bundle Default {
  class SayHello{
    function : Main(args : String[]), Nil {
      "Hello World!"->PrintLine();
    }
  }
}

支持平臺

語言特性

  • Support for object-oriented programming (virtual classes, interfaces, enums and methods)
  • Support for polymorphic methods and functions
  • Support for high-order functions
  • Class library support (console, strings, files, threads, sockets, directories, vectors, linked lists, b-trees, http, xml, etc.)
  • Interactive debugger
  • Automatic memory management (mark and sweep garbage collection)
  • Native runtime JIT support for IA-32 and AMD64 architectures
  • Local compiler optimizations (short-circuit logic, method inlining, constant folding, strength reduction and instruction simplification)


面向對象程序設計語言 Objeck 2.1.2 發布

 本文由用戶 jopen 自行上傳分享,僅供網友學習交流。所有權歸原作者,若您的權利被侵害,請聯系管理員。
 轉載本站原創文章,請注明出處,并保留原始鏈接、圖片水印。
 本站是一個以用戶分享為主的開源技術平臺,歡迎各類分享!