Replies: 2 comments
-
@ni00, it makes sense, and thanks for your purpose. Actually, I’ve already tried using Bun.js to compile the MQTT CLI — it’s really fast and lightweight. But as you mentioned, Bun.js also brings a lot of uncertainties. Although it’s evolving rapidly, there are still risks. Node.js is a very stable one. I’ve also been considering trying Zig or Golang to build the CLI for better performance, but that doesn’t align well with our current JS tech stack. So my suggestion is that we could release a Related issue: #1740 |
Beta Was this translation helpful? Give feedback.
-
@ni00 Thank you for your suggestions! Here's our technical plan regarding the packaging strategy: Current Approach |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
I am considering whether BunJS can be used to compile and bundle MQTTX-CLI, which might bring the following advantages:
However, this approach might also have some potential issues:
So I will do some testing in my spare time, @ysfscream @Red-Asuka , what do you think about the feasibility and value of this idea? Or should we wait until v2 to do the testing?
Reference link: https://bun.sh/docs/bundler/executables
Beta Was this translation helpful? Give feedback.
All reactions