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
20082026
-
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…
comment by ekidd · 2018-07-31 · in Grain: A strongly-typed functional programming language for the modern web -
How it compares to stdweb ( https://github.com/koute/stdweb ) ?
comment by coolspot · 2018-07-23 · in Show HN: wasm_val – API to call JavaScript from rust wasm programs -
…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 -
…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
comment by TomasSedovic · 2018-03-14 · in Making WebAssembly better for Rust and for all languages -
…the wasm32-unknown-unknown backend. An example of using cargo-web with the stdweb rust project: https://github.com/koute/stdweb#running-the-examples
comment by a_humean · 2018-02-07 · in Perspective: Streaming pivot visualization via WebAssembly -
…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…
comment by bluejekyll · 2018-01-19 · in Oxidizing Source Maps with Rust and WebAssembly -
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) --…
comment by logn · 2018-01-18 · in Firefox’s new streaming and tiering compiler -
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 -
It can through a thin bridge. See https://github.com/koute/stdweb
comment by pohl · 2017-12-25 · in Yew: Rust framework for making React-like client web apps -
…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.…
comment by floatboth · 2017-12-21 · in The Death of Flash and Rewriting 1.4M Lines of Code -
https://github.com/koute/stdweb There's a todomvc example app written in rust with no javascript besides the loader.
comment by kpcyrd · 2017-12-19 · in The Death of Flash and Rewriting 1.4M Lines of Code -
▲ 3
Access the DOM and Call into JavaScript from Rust Compiled to WebAssemblystory by kouteiheika · 2017-12-16 · 0 comments
-
…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 -
▲ 2
A standard library for the client-side Web (Rust)story by test9753 · 2017-04-24 · 1 comment
-
▲ 8
Stdweb: A standard (Rust) library for the client-side Webstory by LegNeato · 2017-04-24 · 0 comments