Hacker GitHub

← All repos

koute/stdweb

View on GitHub ↗ ★ 3,452 Rust

A standard library for the client-side Web

15 mentions on Hacker News by 14 people: 3 stories, 12 comments · first 2017-04-24 · latest 2018-07-31

Mentions per year 15 mentions · busiest year 2018 (8)
20082026
  1. Yes. For a while, you've been able to embed JavaScript wrappers using stdweb ( https://github.com/koute/stdweb ). There are pre-built libraries covering much of the DOM. But you may need to submit PRs if you get heavily into <video> or…
  2. How it compares to stdweb ( https://github.com/koute/stdweb ) ?
  3. …JavaScript strings aren't perfect (I prefer how Go does it) but they're usually good enough. [1] https://github.com/koute/stdweb
    comment by skybrian · 2018-04-11 · in Sneak Peek at WebAssembly Studio
  4. …you. So you can have Rust code that uses a DOM API and the WASM <-> JS bridge is handled for you: https://github.com/koute/stdweb
  5. …the wasm32-unknown-unknown backend. An example of using cargo-web with the stdweb rust project: https://github.com/koute/stdweb#running-the-examples
  6. …of wasm32-unknown-unknown. This project gives you quick bootstrap instructions into WASM with Rust: https://github.com/koute/stdweb Very quick to get started with, and the examples get you going quickly. I just used it yesterday (nothing…
  7. Rust -- https://github.com/koute/stdweb C++ -- https://github.com/mbasso/asm-dom I don't know exactly how these work but Emscripten allows interop both ways (embedding JS in native code and calling native code from JS) --…
  8. Compiling Rust to WebAssembly and building https://github.com/koute/stdweb Rust is a powerful enough language where you can do crazy stuff like write inline JavaScript inside of your Rust code , and freely pass data in and out of those JS…
    comment by kouteiheika · 2018-01-04 · in Announcing Rust 1.23
  9. It can through a thin bridge. See https://github.com/koute/stdweb
  10. …do — in a "clunky hack" kind of way, sure, but people are building sugar on top of this already: https://github.com/koute/stdweb So it's not the kind of sandbox you're thinking about. It's literally the same sandbox as JavaScript itself.…
  11. https://github.com/koute/stdweb There's a todomvc example app written in rust with no javascript besides the loader.
  12. ▲ 3
    Access the DOM and Call into JavaScript from Rust Compiled to WebAssembly
    story by kouteiheika · 2017-12-16 · 0 comments
  13. …to and from javascript would be welcome. Perhaps this crate would be of some use to you? https://github.com/koute/stdweb
    comment by anon333 · 2017-10-23 · in Rust to WebAssembly Made Easier
  14. ▲ 2
    A standard library for the client-side Web (Rust)
    story by test9753 · 2017-04-24 · 1 comment
  15. ▲ 8
    Stdweb: A standard (Rust) library for the client-side Web
    story by LegNeato · 2017-04-24 · 0 comments