面向對象編程語言 Objeck 2.0.3 發布
Objeck 是一個計算機面向對象程序設計語言,Objeck 把所有的數據類型都當成是對象,包含一個編譯器和虛擬機,具有內存管理和JIT編譯器。
示例代碼:
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.0.3 發布了,該版本修復了三個關鍵的bug,這些bug會導致垃圾收集掃描inline方法是讓虛擬機崩潰。
項目地址:http://code.google.com/p/objeck-lang/
本文由用戶 fmms 自行上傳分享,僅供網友學習交流。所有權歸原作者,若您的權利被侵害,請聯系管理員。
轉載本站原創文章,請注明出處,并保留原始鏈接、圖片水印。
本站是一個以用戶分享為主的開源技術平臺,歡迎各類分享!