home.social

#moonbit โ€” Public Fediverse posts

Live and recent posts from across the Fediverse tagged #moonbit, aggregated by home.social.

  1. ๐Ÿ“ฐ GitHub Actions ไบ’ๆ›ใฎใƒญใƒผใ‚ซใƒซใ‚ฟใ‚นใ‚ฏใƒฉใƒณใƒŠใƒผใ‚’ไฝœใฃใŸ (๐Ÿ‘ 87)

    ๐Ÿ‡ฌ๐Ÿ‡ง actrun: Run GitHub Actions workflows locally. Written in MoonBit, cross-compiled for npx/native/docker execution
    ๐Ÿ‡ฐ๐Ÿ‡ท actrun: GitHub Actions ์›Œํฌํ”Œ๋กœ์šฐ๋ฅผ ๋กœ์ปฌ์—์„œ ์‹คํ–‰. MoonBit๋กœ ์ž‘์„ฑ, npx/๋„ค์ดํ‹ฐ๋ธŒ/๋„์ปค ๋ชจ๋‘ ์ง€์›

    ๐Ÿ”— zenn.dev/mizchi/articles/intro

    #GitHubActions #MoonBit #Zenn

  2. A year or so ago, I posted about an intriguing, new #programming language called #MoonBit, which I discovered on the #wasm site. MoonBit is designed expressly for edge, cloud, and IoT. It has all the much-adored OCamlisms. And despite my dislike of ALGOLish blocky syntax, I say without reservation that MoonBitโ€™s syntax is tastefully designed. In other words, MoonBit is #ReasonML done right.

    Of late, this language has matured rather quickly. Its toolchain is refined. Documentation is comprehensiveโ€”a rarity amongst new languages. Yet, the website conservatively claims to be not yet production-ready. Humbleโ€”good on them.

    But despite this refreshing humility, the examples include an implementation of the ฮป-calculus and the graph reduction G-machine. ๐Ÿ’ช

    Anyone who likes #OCaml but wants an โ€œon the edgeโ€, lightweight, wasmy language should give MoonBit a try.

    moonbitlang.com

  3. The Firefly Zero game jam is now official! Build a game for the Firefly Zero handheld game console on the weekend of January 17-19.

    Build a game in any of the supported languages: Rust, Go, Lua, Zig, C, C++, TypeScript, AssemblyScript, Elixir, MoonBit

    Documentation and SDKโ€™s are available on the website. Itโ€™s very easy to get going and no prior experience is necessary.

    More information is available on the Itch.io page:
    itch.io/jam/firefly-jam

    Read more about the Firefly Zero handheld game console on their website:
    fireflyzero.com/

    #GameDev #retrogame #retrogamedev #Rust #RustLang #Go #GoLang #Lua #zig #TypeScript #AssemblyScript #Elixir #MoonBit #FireflyZero

  4. The Firefly Zero game jam is now official! Build a game for the Firefly Zero handheld game console on the weekend of January 17-19.

    Build a game in any of the supported languages: Rust, Go, Lua, Zig, C, C++, TypeScript, AssemblyScript, Elixir, MoonBit

    Documentation and SDKโ€™s are available on the website. Itโ€™s very easy to get going and no prior experience is necessary.

    More information is available on the Itch.io page:
    itch.io/jam/firefly-jam

    Read more about the Firefly Zero handheld game console on their website:
    fireflyzero.com/

    #GameDev #retrogame #retrogamedev #Rust #RustLang #Go #GoLang #Lua #zig #TypeScript #AssemblyScript #Elixir #MoonBit #FireflyZero

  5. The Firefly Zero game jam is now official! Build a game for the Firefly Zero handheld game console on the weekend of January 17-19.

    Build a game in any of the supported languages: Rust, Go, Lua, Zig, C, C++, TypeScript, AssemblyScript, Elixir, MoonBit

    Documentation and SDKโ€™s are available on the website. Itโ€™s very easy to get going and no prior experience is necessary.

    More information is available on the Itch.io page:
    itch.io/jam/firefly-jam

    Read more about the Firefly Zero handheld game console on their website:
    fireflyzero.com/

  6. The Firefly Zero game jam is now official! Build a game for the Firefly Zero handheld game console on the weekend of January 17-19.

    Build a game in any of the supported languages: Rust, Go, Lua, Zig, C, C++, TypeScript, AssemblyScript, Elixir, MoonBit

    Documentation and SDKโ€™s are available on the website. Itโ€™s very easy to get going and no prior experience is necessary.

    More information is available on the Itch.io page:
    itch.io/jam/firefly-jam

    Read more about the Firefly Zero handheld game console on their website:
    fireflyzero.com/

    #GameDev #retrogame #retrogamedev #Rust #RustLang #Go #GoLang #Lua #zig #TypeScript #AssemblyScript #Elixir #MoonBit #FireflyZero

  7. The Firefly Zero game jam is now official! Build a game for the Firefly Zero handheld game console on the weekend of January 17-19.

    Build a game in any of the supported languages: Rust, Go, Lua, Zig, C, C++, TypeScript, AssemblyScript, Elixir, MoonBit

    Documentation and SDKโ€™s are available on the website. Itโ€™s very easy to get going and no prior experience is necessary.

    More information is available on the Itch.io page:
    itch.io/jam/firefly-jam

    Read more about the Firefly Zero handheld game console on their website:
    fireflyzero.com/

    #GameDev #retrogame #retrogamedev #Rust #RustLang #Go #GoLang #Lua #zig #TypeScript #AssemblyScript #Elixir #MoonBit #FireflyZero

  8. Good news, everyone! You can now make Firefly Zero games using (a subset of TypeScript), (language designed specifically for ), and (experimental).

    In total, we now support 8 languages. More than any other real game console before. Show must go on!

    docs.fireflyzero.com/dev/getti

  9. #MoonBit looks like a really interesting new #ProgrammingLanguage :awesome:

    moonbitlang.com/

    Especially its functional, data-oriented design and #WASM support stand out to me.

    Looks _a lot_ like #Rust, but more functional in style. โœจ

    It is expected to reach 1.0 this year. ๐Ÿ‘€

    #FunctionalProgramming #RustLang #MoonBitLang #DoD #DataOrientedDesign

  10. Despite its JavaScripty syntax, I really like #MoonBit, a new OO-FP #programming language. It targets Erlang BEAM.

    It has serious potentials. But then, that could be said about almost every new language. I hope it takes flight.

    docs.moonbitlang.com/en/latest

  11. Good summary of Moonbit, a new programming language with build in WASM support and designed so that it is very compatible with AI models.

    blog.vigoo.dev/posts/moonbit-w

    I am still toying around with it, but find it very interesting, especially the infrastructure- and tooling suppport. It really has some nifty ideas, e.g. for white and black box tests, structural typing and more.

    Would be curious if I find people here, you would be willing to implement a library together.

    #moonbit #programming

  12. Since the #Moonbit #JavaScript backend post (moonbitlang.com/blog/js-suppor) is trending, I thought I'd compare #PureScript backend optimizer (github.com/aristanetworks/pure) output to see how it fares. The results were pretty good!

    With basically this PureScript code -
    ```
    run = fromArray
    >>> flatMapF (fromArray <<< _.members)
    >>> filterF _.gender
    >>> mapF (\x -> min 100 (x.score + 5))
    >>> mapF grade
    >>> filterF (_ == 'A')
    >>> foldF (\_ x -> x+1) 0
    ```

    the benchmark results are as follows. PureScript is roughly 6x faster than plain JS, and 6x slower than Moonbit output ( -

    ```
    โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ฌโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ฌโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ฌโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ฌโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ฌโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”
    โ”‚ (index) โ”‚ Task Name โ”‚ ops/sec โ”‚ Average Time (ns) โ”‚ Margin โ”‚ Samples โ”‚
    โ”œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ผโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ผโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ผโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ผโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ผโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ค
    โ”‚ 0 โ”‚ 'Moonbit' โ”‚ '34,67,542' โ”‚ 288.38869989829305 โ”‚ 'ยฑ0.06%' โ”‚ 1733772 โ”‚
    โ”‚ 1 โ”‚ 'Plain Js' โ”‚ '74,816' โ”‚ 13365.983827421464 โ”‚ 'ยฑ0.54%' โ”‚ 37409 โ”‚
    โ”‚ 2 โ”‚ 'Kotlin Js' โ”‚ '1,90,241' โ”‚ 5256.474017304151 โ”‚ 'ยฑ0.38%' โ”‚ 95121 โ”‚
    โ”‚ 3 โ”‚ 'PureScript' โ”‚ '4,99,456' โ”‚ 2002.1768597161156 โ”‚ 'ยฑ0.70%' โ”‚ 249729 โ”‚
    โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ดโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ดโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ดโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ดโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ดโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜
    ```

    #FunctionalProgramming #Frontend #Benchmarks