nazar-pc / noise-c.wasm Goto Github PK
View Code? Open in Web Editor NEWrweather/noise-c compiled to WebAssembly using Emscripten and optimized for small size
rweather/noise-c compiled to WebAssembly using Emscripten and optimized for small size
I appreciate that noise-c.wasm has been optimized for size however the web assembly is still quite a lot to send over the wire at 156KB. I am new to wasm, would it be possible to split that binary into multiple wasm's so WebPack tree shaking could remove any features I'm not using?
I expect to only use Curve 25519 ECDH, AESGCM and Blake2B for my application. So another option might be to [somehow] make a custom build with the other algorithms (eg. NewHope, SHA2) removed from the library. Is there any semi-reasonable way to do that?
How can I go about using this library with a more recent version of Noise specification?
Hello,
Please where is the best methode :
Creat all my game with C code and convert it to wasm.
Or
Coding the most part of the game in C and import some code from javascript.
Or
Coding the most part of the game in javascript and import some code from C.
Thanks in advance.
Hello. I develop extension for both chrome and safari. I've got a problem with lib in Safari. I import noise-c.wasm
to background script. Every time get an error:
both async and sync fetching of the wasm failed
While everything works fine in chrome.
I use noise-c.wasm 0.2.0 (However, this problem present in version 0.3.0 either)
Please, I'd be happy to receive any advice
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.