The Lobster Programming Language
16 days ago
- #programming
- #game-development
- #open-source
- Lobster is a general-purpose programming language with a focus on game development and graphical applications.
- It combines static typing and compile-time memory management with a lightweight, terse syntax.
- Features include flow-sensitive type inference, compile-time reference counting, and lightweight blocks for anonymous functions.
- Supports vector operations, unified overloading, dynamic dispatch, and immutable inline structs.
- Offers Python-style indentation-based syntax with C-style flavoring.
- Implementation choices include JIT execution or C++ compilation for speed, with reference counting and lifetime analysis.
- Includes a graphical debugger, dynamic code loading, and is faster than Python and Lua.
- Portable across multiple platforms (Windows, Linux, Mac, iOS, Android, WebAssembly).
- High-level OpenGL interface, 3D mesh construction, GLSL shaders, and FreeType text rendering.
- Comes with libraries for A* pathfinding and game GUIs, and supports modular extension with C++.