Git Product home page Git Product logo

iq-scm / wasm-learning Goto Github PK

View Code? Open in Web Editor NEW

This project forked from second-state/wasm-learning

0.0 0.0 0.0 472.72 MB

Building Rust functions for Node.js to take advantage of Rust's performance, WebAssembly's security and portability, and JavaScript's ease-of-use. Demo code and recipes.

Home Page: https://www.secondstate.io/articles/getting-started-with-rust-function/

Shell 0.68% JavaScript 2.05% Python 1.01% C 0.14% Go 0.17% Rust 79.10% TypeScript 0.09% HTML 16.66% Dockerfile 0.07% WebAssembly 0.03%

wasm-learning's Introduction

Learning WebAssembly, Rust, and Node.js

Brought to you by the Open source dev team at Second State. Follow us on Twitter, Facebook, LinkedIn, YouTube, or Medium.

On the server side in Node.js

Node.js examples

Developers: Getting started building Rust + JavaScript hybrid apps for Node.js.

  • Rust's performance
  • WebAssembly's security and portability
  • JavaScript's ease-of-use

Quickstart: Fork this repository and start editing the source code files on GitHub. Learn more.

Hello World

Function input and return values

Passing and return values of arbitary types from Node.js to Rust

Calling Node.js functions from Rust

RSA public key encryption

Machine learning with k-means

Inside the web browser

Those examples demonstrate how to access WASM programs from the JS engine inside web browsers.

A basic example to perform numeric computation in WASM

An example to manipulate strings in a WASM program

Learning Rust

Getting started

Command line input and output

wasm-learning's People

Contributors

alabulei1 avatar alfaevc avatar byteshiva avatar dlcmh avatar hydai avatar juntao avatar l-jasmine avatar mileyfu avatar o3ol avatar q82419 avatar satacker avatar tieway59 avatar tpmccallum avatar xxchan avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.