Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

217
Vistas
What are the different steps Rust and JS have to make reading user input (event handling), with WASM?

Event Handlers seem like a hassle in Rust, and I'm wondering how big, and what precisely the advantages would, or could be. What are the extra steps JS either has or doesn't have to make compared to Rust, using WASM?

An example I can find reading input in JS and executing the code in Rust: Click event read in JS. As far as I'm understanding here. JS directly uses the converted Rust function in WASM.

An example reading mouse input in Rust: Mouse move in Rust. In this example, Rust calls the JS eventhandler, which than all gets converted to WASM and executed?

AND -> Does the same apply for reading keyboard inputs?

Can someone ELI5? What happens step by step, and as I asked, what would be the advantages?

about 4 years ago · Juan Pablo Isaza
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda