Live data from Hacker News

Moonbit: Fast, compact and user friendly language for WebAssembly

moonbitlang.com

31–40 of 162 posts

Re: Moonbit: Fast, compact and user friendly language for WebAssembly

#32

Earlier quoted context omitted.

Because Moonbit is a modern language, while AssemblyScript is carrying forward the mistakes of the past. For example, Moonbit supports pattern matching and most language constructs are expressions. AS doesn't have pattern matching and consists primarily of statements. Moonbit has algebraic data types; it's not clear to me that AS does. There might be other differences at runtime, but it's difficult to tell from just…

Go is also an old-school statement based language though.

I was responding to the question "So why use Moonbit over AssemblyScript?"

Re: Moonbit: Fast, compact and user friendly language for WebAssembly

#33

Hi, I am the lead of this project, you can try it now with our online IDE, https://try.moonbitlang.com (F5 to run) The docs are available https://github.com/moonbitlang/moonbit-docs , the compiler would be publicly available when we reach the beta status (expected to be the end of Q2 in 2024). Feel free to ask me any question

Your docs at https://moonbitlang.com/docs/syntax/ are unreadable due to the text and background colour

Re: Moonbit: Fast, compact and user friendly language for WebAssembly

#34

That’s not how you’d implement fibonacci in Go

That's not how you'd implement it in rust either. It's a pretty bad benchmark. From my experience, I'd guess it's lack of tail recursion and the switch statement. That one can be slow in Go.

It is however a good teaser for Moonbit.

Re: Moonbit: Fast, compact and user friendly language for WebAssembly

#35

Hi, I am the lead of this project, you can try it now with our online IDE, https://try.moonbitlang.com (F5 to run) The docs are available https://github.com/moonbitlang/moonbit-docs , the compiler would be publicly available when we reach the beta status (expected to be the end of Q2 in 2024). Feel free to ask me any question

Oh hey. Wasn't you the lead developer of Bucklescript/Rescript compiler? This gonna be epic.

Re: Moonbit: Fast, compact and user friendly language for WebAssembly

#36

Hi, I am the lead of this project, you can try it now with our online IDE, https://try.moonbitlang.com (F5 to run) The docs are available https://github.com/moonbitlang/moonbit-docs , the compiler would be publicly available when we reach the beta status (expected to be the end of Q2 in 2024). Feel free to ask me any question

Your docs at https://moonbitlang.com/docs/syntax/ are unreadable due to the text and background colour

[deleted]

Re: Moonbit: Fast, compact and user friendly language for WebAssembly

#37

Hi, I am the lead of this project, you can try it now with our online IDE, https://try.moonbitlang.com (F5 to run) The docs are available https://github.com/moonbitlang/moonbit-docs , the compiler would be publicly available when we reach the beta status (expected to be the end of Q2 in 2024). Feel free to ask me any question

Your docs at https://moonbitlang.com/docs/syntax/ are unreadable due to the text and background colour

I may also point to the image on the announce page is 4.7 MB.

Re: Moonbit: Fast, compact and user friendly language for WebAssembly

#38

Hi, I am the lead of this project, you can try it now with our online IDE, https://try.moonbitlang.com (F5 to run) The docs are available https://github.com/moonbitlang/moonbit-docs , the compiler would be publicly available when we reach the beta status (expected to be the end of Q2 in 2024). Feel free to ask me any question

Oh hey. Wasn't you the lead developer of Bucklescript/Rescript compiler? This gonna be epic.

Yes. Moonbit is heavily influenced by BuckleScript/ReScript. We learned a lot from our previous experience, that's why we are shipping our IDE even in the pre-alpha release. We also learned to how to make type checking fast and parallelisable.

Re: Moonbit: Fast, compact and user friendly language for WebAssembly

#39
I like it a lot tbh b/c it looks a lot like Go.

Unfortunately Go is unusuable as wasm target for browsers due its huge binary. The browser needs a lot of time to download and parse it. Not to mention it starts to crash if your app is large enough(i.e a complete SPA in Go only).

Re: Moonbit: Fast, compact and user friendly language for WebAssembly

#40

Hi, I am the lead of this project, you can try it now with our online IDE, https://try.moonbitlang.com (F5 to run) The docs are available https://github.com/moonbitlang/moonbit-docs , the compiler would be publicly available when we reach the beta status (expected to be the end of Q2 in 2024). Feel free to ask me any question

I think people would like to know about licenses, pricing, and control over the project. Perhaps your commercial strategy doesn't benefit from divulging that information now, but secrecy and uncertainty can kill interest.
Post reply on HN