@tomayac Why would anybody compile #JS to #WASM when there is #AssemblyScript? There are also JS runtimes in WASM: @boa_engine, Javy, Dukweb and QuickJS-emscripten.
@tomayac Why would anybody compile #JS to #WASM when there is #AssemblyScript? There are also JS runtimes in WASM: @boa_engine, Javy, Dukweb and QuickJS-emscripten.
🛠️ #Modus: A New #Opensource Serverless Framework
🚀 Powered by #WebAssembly for high-speed execution and secure sandboxing
💻 Multi-language support with #Go and #AssemblyScript compatibility
🤖 Seamless #AI model integration with auto-generated #API endpoints
🔒 Built-in authentication and natural language search capabilities
🌐 Optimized for sub-second response times in #serverless environments
Learn more: https://github.com/hypermodeinc/modus https://docs.hypermode.com/modus
Getting started with Modus: https://www.youtube.com/watch?v=3CcJTXTmz88
Navmesh, lightmaps и lightprobes: реализация и использование в Playcanvas
В этой небольшой заметке хотелось бы поделиться результатами реализаций нескольких технологий из gamdev-а. В основном коснёмся двух тем. Первая тема - это использование navmesh-ей для нахождения путей в пространстве трёхмерной сцены. Вторая тема - это использование lightmap и lightprob-ов для освещения динамических объектов. По каждой из этих тем обсудим немного теории и то, как всё это можно использовать в браузерном игровом 3d-движке Playcanvas.
https://habr.com/ru/articles/783174/
#playcanvas #3dgraphic #gamedev #navmesh #lightmap #lightprobe #webassembly #assemblyscript
@developit Looks much more appealing than MicroPython, but I’m also thinking:
Can maybe #DeviceScript become an alternative to #AssemblyScript for those wanting to compile JS-style code to actual WASM rather than run the JS-code in a WASM compiled JS-runtime?
Time will tell!
I was stumbling around #AssemblyScript's site, looking for the place that project decisions are documented / discussed. There is a promising repo linked in one of the threads about the file extension and it is just gone, can't find a replacement. I did notice though their biggest sponsor by far is a #web3 platform, so not great. The top of that gihub PR was perhaps a clue to that.
Wow, this discussion on adding #AssemblyScript as a language on Github is wild
https://github.com/github/linguist/pull/5640
"...implemented things like Operator Overloading / SIMD / Reference Types / [...] that will never will be in TypeScript. Also it's incompatible..."
vs
"As an AssemblyScript contributor, [...] having to replicate the hundreds of errors that TypeScript lints for in the AssemblyScript compiler would be both costly [...] I'd be happy to voice and reiterate my stance on this in the Discord."
I did g..gle "Why does #AssemblyScript use the file extension ts?" like an old man and was pleased to find it was as I expected. An early convenience to trick #Typescript tooling that has many unfortunate and predictable issues.
Apparently #AssemblyScript is like #Typescript the way JavaScript is like Java, only confusingly. Even #VSCode is confused. To be fair, the file extensions are the same which is an interesting decision...
Considered using #AssemblyScript for #ultramark and distributing it as #WebAssembly, but I unfortunately don't think the size constraints I have in mind would be feasible...
The README is quite accurate.
WebAssembly: Go vs Rust vs AssemblyScript vs TypeScript vs Javascript
https://ecostack.dev/posts/wasm-tinygo-vs-rust-vs-assemblyscript/
#wasm #webassambly #javascript #js #es6 #typescript #rust #wasmpack #go #golang #tinygo #assemblyscript #performance #speed #size #runtime
I thought I’d try adding #assemblyscript support to tauri-bindgen today, but it doesn’t support promises yet sooo, no luck 🤷♂️
But I added #ReScript support so that’s something cool!
On #benchmarking #WebAssembly (via #AssemblyScript) and #JavaScript to check #performance-gains of #WASM on #V8:
“Is WebAssembly Magic Performance Pixie Dust?”, Surma (https://surma.dev/things/js-to-asc/).
@digital I know you were joking.
I'm helping at https://github.com/ColinEberhardt/assemblyscript-temporal , where we try to port a future JS API to #AssemblyScript, since AS doesn't have Date yet and Temporal is nicer anyway.
It's me! #AssemblyScript
🤯
RT @dcodeIO@twitter.com
The #AssemblyScript compiler compiled to #WebAssembly using the AssemblyScript compiler compiled to WebAssembly now produces the exact same binary as the AssemblyScript compiler compiled to WebAssembly using the AssemblyScript compiler compiled to #JavaScript. ☯️
Compiling #6502 Specs to #AssemblyScript...
https://blog.scottlogic.com/2020/08/26/codegen-6502-webassembly.html
#WebAssembly on #nRF51 with Arduino-based #AssemblyScript...