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

101
Vistas
Where is the documentation for WebAssembly Heapf64.set

I have a bit of code I'm trying to optimise and it uses HEAPF64.set(jsArray, nativeArray)

Where is the documentation for this function call?

Is it a copy function from jsArray to nativeArray or setting a pointer?

What is HEAPF64? If I already have a native buffer in WebAssembly can I set directly into it?

about 4 years ago · Juan Pablo Isaza
1 Respuestas
Responde la pregunta

0

HEAPF64 is one of several ArrayBufferView s that are created by the emscripten toolchain. Others include HEAPU8 and HEAPU32. They are all views of the same underlying WebAssembly memory buffer which is your C/C++ program's address space.

There is some documentation on how emscripten sets things up here: https://emscripten.org/docs/porting/connecting_cpp_and_javascript/Interacting-with-code.html#access-memory-from-javascript

Specifically the .set method you are asking about is documented here: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/TypedArray/set

about 4 years ago · Juan Pablo Isaza Denunciar
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