Open
Bug 1688750
Opened 4 years ago
Updated 7 months ago
[META] Module Expressions
Categories
(Core :: JavaScript Engine, enhancement, P3)
Core
JavaScript Engine
Tracking
()
NEW
People
(Reporter: yulia, Unassigned)
References
(Depends on 1 open bug, Blocks 1 open bug, )
Details
(Keywords: dev-doc-needed, meta, Whiteboard: [DocArea=JS])
Summary from proposal:
The lack of inline modules in JavaScript has spawned some best practice that are really just workarounds and more often than not have negative performance implications. Sometimes, the lack of inline modules even form a hinderance to the adoption of APIs. A small sample of examples:
- Workers (and Worklets!) are often cited to be unergonomic because of the need of a separate file. Both Houdini and classic Web Workers can benefit greatly from inline modules.
- JavaScript cannot represent a “task” in a way that can be shared across agents, short of stringification.
- Attempts at building a scheduler for the web (á la GCD) have been constrained to the main thread due JS’s current inability to share code across realm boundaries.
See proposal for more details
Updated•4 years ago
|
Severity: normal → N/A
Priority: -- → P3
Reporter | ||
Updated•2 years ago
|
Summary: Implement Module Blocks → [META] Module Blocks
Comment 2•9 months ago
|
||
This was renamed to Module Expressions.
Summary: [META] Module Blocks → [META] Module Expressions
You need to log in
before you can comment on or make changes to this bug.
Description
•