Jump to content

MoonBit (programming language)

From Wikipedia, the free encyclopedia
This is an old revision of this page, as edited by Frap (talk | contribs) at 19:50, 15 March 2025 (Add template). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.
MoonBit
ParadigmFunctional
Typing disciplineStrong
Implementation languageRust
LicenseAGPL
Filename extensions.mbt
Websitewww.moonbitlang.com
Influenced by
Rust

MoonBit is a general-purpose programming language.[1][2]

Features

MoonBit follows the design principles of "fast, simple, and extensible" and supports functional programming, parallel computing, procedural programming, and object-oriented programming styles.[3]

Language design

MoonBit has a syntax similar to Rust and is a strongly typed language featuring pattern matching, static types, and type inference to enforce strict data type constraints. Unlike Rust, which does not use garbage collection, MoonBit includes a garbage collector and adopts the WasmGC proposal.[4][3]

Seminar

On September 26, 2023, IoT Thrust Seminar | Moonbit For Cloud And Edge Using Wasm was held at Hong Kong University of Science and Technology.[5]

Competition

In November 2024, the MoonBit Global Programming Innovation Challenge Concludes at Hetao Shenzhen Park.[6]

References

  1. ^ Fei, Haoxiang; Zhang, Yu; Zhang, Hongbo; Wang, Yanlin; Liu, Qing (2024-09-10). "MoonBit: Explore the Design of an AI-Friendly Programming Language". Proceedings of the 1st International Workshop on Large Language Models for Code. LLM4Code '24. New York, NY, USA: Association for Computing Machinery: 79–83. doi:10.1145/3643795.3648376. ISBN 979-8-4007-0579-3.
  2. ^ "MoonBit Documentation — MoonBit v0.1.20250310 documentation". docs.moonbitlang.com. Retrieved 2025-03-15.
  3. ^ a b "MoonBit". www.moonbitlang.com. Retrieved 2025-03-15.
  4. ^ moonbitlang/core, moonbitlang, 2025-03-15, retrieved 2025-03-15
  5. ^ "IoT Thrust Seminar | Moonbit For Cloud And Edge Using Wasm". University Events (in Simplified Chinese). 2023-09-26. Retrieved 2025-03-15.
  6. ^ "1888进11角逐桂冠!MoonBit全球编程创新挑战赛圆满落幕!_深圳新闻网". www.sznews.com. Retrieved 2025-03-15.