Bun all-in-one, with AssemblyScript as a webassembly language! #6205
Replies: 5 comments
-
I would love to have this in bun. |
Beta Was this translation helpful? Give feedback.
-
yes, go for it , vas y mon gars ! |
Beta Was this translation helpful? Give feedback.
-
If they conside this they should also accept normal wasm files because assemblyscript has nothing to do with eebassembly on its own |
Beta Was this translation helpful? Give feedback.
-
+1 - this would be great. |
Beta Was this translation helpful? Give feedback.
-
Should start with wasm tbh |
Beta Was this translation helpful? Give feedback.
-
Today, Bun.js is truly a game changer.
In past years, we were forced to choose the best tool from a vast number of options for our projects. Bun introduces native tools that are not only significantly faster than older alternatives but also easier to use. Some of them even require no configuration at all.
Today, Bun.js can run
TypeScript
,JSX
, andTSX
without any configuration. That’s why I propose to the Bun team to add support for the .as extension for AssemblyScript files, making Bun a compiler, a transpiler, and a WebAssembly environment.Why this idea?
WebAssembly is widely used today—on servers, in front-end applications for complex operations and design, and even to enhance the performance of graphical applications.
For JavaScript developers who want to experiment with WebAssembly without using Rust or C++, AssemblyScript is a great alternative due to its TypeScript-friendly syntax.
So my idea is to integrate a complete WebAssembly environment into Bun.js, with AssemblyScript as the entry point. To differentiate AssemblyScript files from JavaScript and TypeScript files, I suggest using the .as extension for all AssemblyScript files.
This is a dream of mine, and I would be thrilled if you respond favorably to my idea.
Beta Was this translation helpful? Give feedback.
All reactions