{"repo":"mlang-dev/m","free":true,"listed":false,"github":"https://github.com/mlang-dev/m","clone":"git clone https://github.com/mlang-dev/m.git","description":"an expressive and efficient programming language for WebAssembly","language":"C","stars":46,"topics":["compiler","programming-language","game-development","c","llvm","webassembly","wasm","webgpu"],"license":"MIT","category":"game-templates","readme_excerpt":"m (mlang) Mlang, also known as M, is a versatile, statically-typed programming language enhanced with type inference, specifically crafted for compiling to WebAssembly. It natively supports the WebAssembly Component Model and Canonical ABI, aiming to streamline development for this platform. While Mlang's syntax shares similarities with Python, offering a familiar and user-friendly experience, it is not entirely aligned with Python's syntax. The design philosophy of Mlang centers around merging C-level performance with Python's simplicity, striking a balance between efficiency and ease of use. This approach positions Mlang as a compelling option for developers seeking high-performance capabilities coupled with a straightforward, Python-esque coding experience for WebAssembly applications. Mlang is designed to manage memory ownership and borrow lifetimes at compile time, similar to Rust. This approach eliminates the need for a garbage collector, leading to more predictable and stable performance. By doing so, Mlang achieves zero-cost abstraction, where its safety and efficiency features do not impose any runtime overhead, ensuring both performance optimization and memory safety. m code plotting mandelbrot set You can try mlang to run the following m code in the browser. The code will yield the following image: You can zoom in to see more details at https://mlang.dev. Development: vscode dev container (no manual installation) https://user-images.githubusercontent.com/6968989/22","default_branch":null,"files":null,"tree":[],"storefront":"/r/mlang-dev","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/mlang-dev/m/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}