Javascript:SpiderMonkey:OdinMonkey: Difference between revisions

Jump to navigation Jump to search
No edit summary
Line 35: Line 35:
== Proposed future JS features that would be useful to asm.js ==
== Proposed future JS features that would be useful to asm.js ==
* ArrayBuffer.prototype.discard ({{bug|855669}}): to allow madvise(DONTNEED)
* ArrayBuffer.prototype.discard ({{bug|855669}}): to allow madvise(DONTNEED)
* FunctionPromise: {{bug|854627}}
* Typed Objects: ([http://wiki.ecmascript.org/doku.php?id=harmony:typed_objects Typed Objects])
* Typed Objects: ([http://wiki.ecmascript.org/doku.php?id=harmony:typed_objects Typed Objects])
** This feature comes with float32/uint64/int64 value types, which would be useful as scalar types in asm.js.
** This feature comes with float32/uint64/int64 value types, which would be useful as scalar types in asm.js.
** Formalize Typed Object "class declarations" in asm.js which could make asm.js a target for JVM/CLR/TypeScript (and allow these languages to reuse the builtin JS GC)
** Formalize Typed Object "class declarations" in asm.js which could make asm.js a target for JVM/CLR/TypeScript (and allow these languages to reuse the builtin JS GC)
* FunctionPromise: {{bug|854627}}
* Add "AsmFunction" constructor that threw informative exception on validation failure.


== Current asm.js spec bugs ==
== Current asm.js spec bugs ==
Confirmed users
367

edits

Navigation menu