Skip to content
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

Todo: 在 React 使用 Rust 编写的函数 #239

Open
MuYunyun opened this issue Sep 11, 2023 · 2 comments
Open

Todo: 在 React 使用 Rust 编写的函数 #239

MuYunyun opened this issue Sep 11, 2023 · 2 comments
Labels

Comments

@MuYunyun
Copy link
Owner

MuYunyun commented Sep 11, 2023

目标

使用 Rust 实现批量压缩图片功能。

  1. 了解 WebAssembly,了解 WebAssembly 的使用;
  2. 掌握将 Rust 转换为 WebAssembly 的方法;
  3. 在浏览器中调用步骤 2 中的方法;

项目:[WIP]RustInReact

链接

  1. Rust 学习笔记 1
  2. Rust 学习笔记 2
  3. 实现一个简单的基于 WebAssembly 的图片处理应用
  4. 使用 Rust + WASM 进行 Web 开发

WebAssembly 工具

  1. wabt: 将代码从文本格式编译为二进制以支持在浏览器中执行。

其它

Rust 生态 UI 框架

  1. tauri
  2. slint
@MuYunyun
Copy link
Owner Author

Node 中使用 Rust

  • ffi-napi
  • napi-rs

Copy link

stale bot commented Mar 17, 2024

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the wontfix label Mar 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant