Lobster is an open-source, statically typed programming language designed for game development and graphical applications. It combines compile-time memory management (reference counting with lifetime analysis), flow-sensitive type inference, and a lightweight Python-style indentation syntax. Key features include anonymous functions that look like control structures, immutable inline structs, vector operations, unified overloading and dynamic dispatch, and a built-in engine supporting OpenGL, SDL, and multiple platforms including WebAssembly. Code can run via JIT or be compiled to C++ for extra performance. The page provides syntax examples covering blocks, type system, dynamic dispatch, and a Sierpinski triangle rendering demo.

8m read timeFrom strlen.com
Post cover image
Table of contents
FeaturesExamples

Sort: