书栈网 · BookStack 本次搜索耗时 0.010 秒,为您找到 4321 个相关结果.
  • Testing apps

    Testing apps wasm_bindgen_test Testing apps wasm_bindgen_test Rust Wasm 工作组维护着一个名为 wasm_bindgen_test 的 crate ,该 crate 使您可以以类似于内置 #[test] 过程宏的方式在浏览器中运行测试。 Rust Wasm工作组的文档...
  • 嵌入 Deno

    嵌入式 Deno 嵌入式 Deno Deno 由多个部分组成,其中之一是 deno_core 。这是一个 rust crate,可以用作 Rust 应用中的嵌入式 JavaScript 运行时。 Deno 建立在 deno_core 的基础上。 Deno crate 发布于 crates.io 。 您可以通过 docs.rs 查阅其 API...
  • 16.4. 使用Sync 与 Send Traits 的可扩展并发

    使用 Sync 和 Send trait 的可扩展并发 通过 Send 允许在线程间转移所有权 Sync 允许多线程访问 手动实现 Send 和 Sync 是不安全的 总结 使用 Sync 和 Send trait 的可扩展并发 ch16-04-extensible-concurrency-sync-and-send...
  • 性能比较:循环对迭代器

    性能对比:循环 VS 迭代器 总结 性能对比:循环 VS 迭代器 ch13-04-performance.md commit 2bcb126815a381acc3d46b0d6fc382cb4c98fbc5 为了决定使用哪个实现,我们需要知道哪个版本的 search 函数更快:直接使用 for 循环的版本还是使用迭代器的版本。 我们运...
  • 模式匹配

    1096 2018-02-06 《RustPrimer 中文版》
    模式匹配 模式匹配 除了我们常见的控制语句之外,Rust还提供了一个更加强大的关键字——match 。但是,需要指出的一点是,match只是匹配,要发挥其全部威力,还需要模式的配合。本章,我们就将的对Rust的模式匹配进行一番探索。 本章内容: match关键字 模式 pattern
  • 5.2. Demo apps

    Demo apps Demo apps In this chapter, we will cover two demo apps. We will build them from Rust source code, build OCI images around them, and then publish the images to Docker ...
  • 3.1.7. Command interface

    Command interface Command interface WASI enables WebAssembly programs to call standard library functions in the host operating system. It does so through a fine-grained securit...
  • Building from source

    295 2021-07-18 《Deno v1.11.5 Manual》
    Building from source Cloning the Repository Prerequisites Building Deno Building Building from source Below are instructions on how to build Deno from source. If you just w...
  • Building from source

    241 2021-07-18 《Deno v1.11.3 Manual》
    Building from source Cloning the Repository Prerequisites Building Deno Building Building from source Below are instructions on how to build Deno from source. If you just w...
  • Building from source

    173 2022-04-17 《Deno v1.20.5 Manual》
    Building deno from source Cloning the Repository Prerequisites Building Deno Building Building deno from source Below are instructions on how to build Deno from source. If...