ProtoDef-io / node-protodefc

node.js ProtoDef implementation using protodefc and protodefc-prebuilt
MIT License
2 stars 0 forks source link

Use wasm-bindgen #5

Closed ghost closed 6 years ago

ghost commented 6 years ago

Include a native/ directory that uses https://github.com/rustwasm/wasm-bindgen to wrap ProtoDefc, then have a script which only runs that build when a release is being made (or when in development)

When the release is made, only the JavaScript and the WASM blob will be released, meaning no end-user will need to have Rust installed, yet they can still enjoy the same native speeds.

rom1504 commented 6 years ago

Ok

On Thu, May 31, 2018, 03:43 mhsjlw notifications@github.com wrote:

Include a native/ directory that uses https://github.com/rustwasm/wasm-bindgen to wrap ProtoDefc, then have a script which only runs that build when a release is being made (or when in development)

When the release is made, only the JavaScript and the WASM blob will be released, meaning no end-user will need to have Rust installed, yet they can still enjoy the same native speeds.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/ProtoDef-io/node-protodefc/issues/5, or mute the thread https://github.com/notifications/unsubscribe-auth/ACPN_rB0M-BDo2y9pJwhEoYc6e3IxbRPks5t30rSgaJpZM4UUSTa .

ghost commented 6 years ago

Alright, once https://github.com/ProtoDef-io/protodefc/pull/19 and https://github.com/ProtoDef-io/protodefc/pull/16 are merged, we are ready to roll.