New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add WebAssembly category #1269

Merged
merged 1 commit into from Mar 1, 2018

Conversation

Projects
None yet
3 participants
@fitzgen
Copy link
Member

fitzgen commented Feb 27, 2018

I did not add this under web-programming because there is nothing inherently "Web-y" about wasm: it can be used as a general arch-independent binary format, as parity exemplifies.

Examples crates that would use this category (some of which are not actually published on crates.io yet, but the point stands):

  • parity-wasm
  • wasmi
  • wee_alloc
  • wasm-bindgen
  • wasm-gc
  • wasm-nm
  • wasm-snip
  • svelte
  • binaryen
  • wabt
Add WebAssembly category
I did not add this under `web-programming` because there is nothing inherently "Web-y" about wasm: it can be used as a general arch-independent binary format, as parity exemplifies.

Examples crates that would use this category (some of which are not actually published on crates.io yet, but the point stands):

* `parity-wasm`
* `wasmi`
* `wee_alloc`
* `wasm-bindgen`
* `wasm-gc`
* `wasm-nm`
* `wasm-snip`
* `svelte`
* `binaryen`
* `wabt`
@fitzgen

This comment has been minimized.

Copy link
Member

fitzgen commented Feb 27, 2018

r? @carols10cents

If you're not a good person to ask for review, please redirect me to someone who is. Thanks!

@jtgeibel

This comment has been minimized.

Copy link
Member

jtgeibel commented Feb 28, 2018

Great idea @fitzgen! Looking at your list, here are some ideas I had for possible subcategories.

Crate Description Subcategory
parity-wasm WebAssembly binary format serialization/deserialization/interpreter dev or top-level wasm
wasmi WebAssembly interpreter dev or top-level wasm
wee_alloc The Wasm-Enabled, Elfin Allocator no-std
wasm-bindgen Interoperating JS and Rust code js
wasm-gc A CLI tool to garbage collect webassembly modules dev
wasm-nm Print the symbols that are imported in and exported from a wasm file dev
wasm-snip Replace a wasm function with an unreachable dev
svelte A code size profiler dev
binaryen Compiler infrastructure and toolchain library for WebAssembly, in C++ dev (not on crates.io)
wabt The WebAssembly Binary Toolkit (also C/C++) dev (not on crates.io)
  • web - specific to the web platform
  • js - assumes a JS host environment, but not necessarily web
  • no-std - needs a better name since some parts of std do work in wasm, but basically crates that make no assumptions about the host
  • dev - just like the root development-tools, or maybe put a wasm subcategory under there?

Maybe the js subcategory doesn't make sense yet. It may be better to wait and see how things evolve beyond the wasm32-unknonwn-unknown target before trying to place points on the no-std to web continuum.

@fitzgen

This comment has been minimized.

Copy link
Member

fitzgen commented Feb 28, 2018

I figured that

  • we can just do the initial category for now, and as you say, wait and see how things evolve

  • for sub categories like "dev" we can label crates with both the "wasm" category and the "development-tools" category

Happy to defer to crates.io folks' judgement in either case :)

@jtgeibel

This comment has been minimized.

Copy link
Member

jtgeibel commented Feb 28, 2018

Sounds good to me @fitzgen. I'm also interested in the wasm working group you're leading and I've followed the rust-wasm repo. I think that would be a good place to discuss potential sub-categories further.

bors: r+

bors-voyager bot added a commit that referenced this pull request Feb 28, 2018

Merge #1269
1269: Add WebAssembly category r=jtgeibel

I did not add this under `web-programming` because there is nothing inherently "Web-y" about wasm: it can be used as a general arch-independent binary format, as parity exemplifies.

Examples crates that would use this category (some of which are not actually published on crates.io yet, but the point stands):

* `parity-wasm`
* `wasmi`
* `wee_alloc`
* `wasm-bindgen`
* `wasm-gc`
* `wasm-nm`
* `wasm-snip`
* `svelte`
* `binaryen`
* `wabt`
@bors-voyager

This comment has been minimized.

Copy link
Contributor

bors-voyager bot commented Mar 1, 2018

@bors-voyager bors-voyager bot merged commit 53fdc6e into rust-lang:master Mar 1, 2018

2 checks passed

bors Build succeeded
continuous-integration/travis-ci/pr The Travis CI build passed
Details
@fitzgen

This comment has been minimized.

Copy link
Member

fitzgen commented Mar 1, 2018

\o/

@fitzgen fitzgen deleted the fitzgen:patch-1 branch Mar 1, 2018

@carols10cents

This comment has been minimized.

Copy link
Member

carols10cents commented Mar 1, 2018

And deployed! https://crates.io/categories/wasm

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment