mirror of
https://github.com/bellard/quickjs.git
synced 2025-11-15 10:12:14 +03:00
update
This commit is contained in:
10
Changelog
10
Changelog
@@ -1,3 +1,13 @@
|
|||||||
|
- micro optimizations (15% faster on bench-v8)
|
||||||
|
- added resizable array buffers
|
||||||
|
- added ArrayBuffer.prototype.transfer
|
||||||
|
- added the Iterator object and methods
|
||||||
|
- added set methods
|
||||||
|
- added Atomics.pause
|
||||||
|
- added added Map and WeakMap upsert methods
|
||||||
|
- added Math.sumPrecise()
|
||||||
|
- misc bug fixes
|
||||||
|
|
||||||
2025-09-13:
|
2025-09-13:
|
||||||
|
|
||||||
- added JSON modules and import attributes
|
- added JSON modules and import attributes
|
||||||
|
|||||||
@@ -23,8 +23,8 @@
|
|||||||
@chapter Introduction
|
@chapter Introduction
|
||||||
|
|
||||||
QuickJS (version @value{VERSION}) is a small and embeddable Javascript
|
QuickJS (version @value{VERSION}) is a small and embeddable Javascript
|
||||||
engine. It supports most of the ES2023 specification
|
engine. It supports most of the ES2024 specification
|
||||||
@footnote{@url{https://tc39.es/ecma262/2023 }} including modules,
|
@footnote{@url{https://tc39.es/ecma262/2024 }} including modules,
|
||||||
asynchronous generators, proxies and BigInt.
|
asynchronous generators, proxies and BigInt.
|
||||||
|
|
||||||
@section Main Features
|
@section Main Features
|
||||||
@@ -35,12 +35,12 @@ asynchronous generators, proxies and BigInt.
|
|||||||
|
|
||||||
@item Fast interpreter with very low startup time: runs the 77000 tests of the ECMAScript Test Suite@footnote{@url{https://github.com/tc39/test262}} in less than 2 minutes on a single core of a desktop PC. The complete life cycle of a runtime instance completes in less than 300 microseconds.
|
@item Fast interpreter with very low startup time: runs the 77000 tests of the ECMAScript Test Suite@footnote{@url{https://github.com/tc39/test262}} in less than 2 minutes on a single core of a desktop PC. The complete life cycle of a runtime instance completes in less than 300 microseconds.
|
||||||
|
|
||||||
@item Almost complete ES2023 support including modules, asynchronous
|
@item Almost complete ES2024 support including modules, asynchronous
|
||||||
generators and full Annex B support (legacy web compatibility). Some
|
generators and full Annex B support (legacy web compatibility). Some
|
||||||
features from the upcoming ES2024 specification
|
features from the upcoming ES2024 specification
|
||||||
@footnote{@url{https://tc39.es/ecma262/}} are also supported.
|
@footnote{@url{https://tc39.es/ecma262/}} are also supported.
|
||||||
|
|
||||||
@item Passes nearly 100% of the ECMAScript Test Suite tests when selecting the ES2023 features.
|
@item Passes nearly 100% of the ECMAScript Test Suite tests when selecting the ES2024 features.
|
||||||
|
|
||||||
@item Compile Javascript sources to executables with no external dependency.
|
@item Compile Javascript sources to executables with no external dependency.
|
||||||
|
|
||||||
@@ -250,9 +250,9 @@ about 100 seconds).
|
|||||||
|
|
||||||
@section Language support
|
@section Language support
|
||||||
|
|
||||||
@subsection ES2023 support
|
@subsection ES2024 support
|
||||||
|
|
||||||
The ES2023 specification is almost fully supported including the Annex
|
The ES2024 specification is almost fully supported including the Annex
|
||||||
B (legacy web compatibility) and the Unicode related features.
|
B (legacy web compatibility) and the Unicode related features.
|
||||||
|
|
||||||
The following features are not supported yet:
|
The following features are not supported yet:
|
||||||
@@ -261,6 +261,8 @@ The following features are not supported yet:
|
|||||||
|
|
||||||
@item Tail calls@footnote{We believe the current specification of tails calls is too complicated and presents limited practical interests.}
|
@item Tail calls@footnote{We believe the current specification of tails calls is too complicated and presents limited practical interests.}
|
||||||
|
|
||||||
|
@item Atomics.waitAsync
|
||||||
|
|
||||||
@end itemize
|
@end itemize
|
||||||
|
|
||||||
@subsection ECMA402
|
@subsection ECMA402
|
||||||
@@ -1031,7 +1033,7 @@ stack holds the Javascript parameters and local variables.
|
|||||||
@section RegExp
|
@section RegExp
|
||||||
|
|
||||||
A specific regular expression engine was developed. It is both small
|
A specific regular expression engine was developed. It is both small
|
||||||
and efficient and supports all the ES2023 features including the
|
and efficient and supports all the ES2024 features including the
|
||||||
Unicode properties. As the Javascript compiler, it directly generates
|
Unicode properties. As the Javascript compiler, it directly generates
|
||||||
bytecode without a parse tree.
|
bytecode without a parse tree.
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user