Code Monkey home page Code Monkey logo

bazel_rust_wasm_azure_functions's Introduction

Bazel + Rust + WASM + Azure = ❤️

How-to Bazel

  1. Install bazelisk from https://github.com/bazelbuild/bazelisk
  2. Build the app: bazelisk build //src:hello_world_wasm
  3. Run the app: bazelisk run //src:hello_world_wasm
  4. Run with logs: VERBOSE_LOGS=1 bazelisk run //src:hello_world_wasm --sandbox_debug
  5. View the deps graph: bazelisk query --noimplicit_deps 'deps(//src:hello_world_wasm)' --output graph | dot -Tpng > docs/graph.png

deps graph

Generate and deploy Azure Function

  1. Install the hexa CLI from https://hexa.run
  2. Generate a function project: hexa init --just=functions
  3. Review functions/wasmify/wasm_gen/index.ts and functions/wasmify/wasm_gen/wasm_loader.ts
  4. Deploy the function app: hexa deploy

Credits

This project uses a public list of nouns and adjectives found on this project: https://github.com/fnichol/names/tree/master/data. Please send a PR if you would like to remove any of the offensive adjectives or nouns (I will merge them immediately).

bazel_rust_wasm_azure_functions's People

Contributors

manekinekko avatar

Watchers

 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.