Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings
Discussion options

With projects like wasmedge runtime does this library help enable compiling c# to WASM dlls executable by such runtimes?

You must be logged in to vote

Replies: 1 comment · 2 replies

Comment options

The actual compilation to WASM is handled by .NET (https://github.com/dotnet/runtime/tree/main/src/mono/wasm).

This project main goals are:

  1. Make it possible to use the compiled libraries in any JavaScript environment (.NET currently supports web browsers only)
  2. Provide a user-friendly workflow for consuming the compiled libraries in JS: packing everything into single-file UMD library on publish, generating boilerplate interop code in both C# and JS, generating TypeScript definitions for the bindings, etc.
You must be logged in to vote
2 replies
@schaveyt
Comment options

For point 1, is that the same as saying.."runs in Nodejs"?

@elringus
Comment options

There are other cases. For example, web extensions for VS Code, which can't use any node modules or window/document browser APIs. That's my primary use case for this project at the moment.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
🙏
Q&A
Labels
None yet
2 participants
Morty Proxy This is a proxified and sanitized view of the page, visit original site.