Skip to content

Commit 80417d6

Browse files
authored
add summary (#11)
1 parent cdedeac commit 80417d6

File tree

2 files changed

+15
-2
lines changed

2 files changed

+15
-2
lines changed

slides/slides.md

Lines changed: 15 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ paginate: true
99

1010
#### status update & feedback request
1111

12-
_Zbyszek Tenerowicz (ZTZ) @naugtur.pl_
12+
_Zbyszek Tenerowicz (ZTZ) @naugtur_
1313
_Kris Kowal (KKL) @kriskowal_
1414

1515
---
@@ -25,7 +25,7 @@ Minimal addition to the spec sufficient for implementing various ideas around li
2525
- Domain Specific Languages
2626
- Test runners
2727
- Shim builtin modules
28-
- Principle of Least Authority (Compartment)
28+
- Principle of Least Authority (Compartment, LavaMoat)
2929
- Emulating another host
3030
- Isolation of unreliable code (AI)
3131

@@ -136,6 +136,8 @@ interface Global {
136136

137137
// + properties copied from globalThis filtered by keys
138138
}
139+
140+
const newGlobal = new globalThis.Global();
139141
```
140142

141143
---
@@ -338,6 +340,17 @@ const source = new ModuleSource(
338340
);
339341
await newGlobal.eval("s => import(s)")(source);
340342
```
343+
---
344+
345+
### Summary
346+
347+
Proposal to introduce a `Global` constructor with minimal functionality necessary to decouple the concept of global from Realm. The proposal is the minimal change sufficient to implement isolation, including Compartment, in user code. It replaces the _Evaluators (Stage 1)_ proposal that was earlier extracted from the umbrella Compartment proposal.
348+
349+
We are requesting feedback, especially on minimizing intersections with web standards.
350+
351+
We are requesting Stage 1 for `new Global`.
352+
353+
341354

342355
<!-- visual customizations -->
343356

slides/slides.pdf

3.16 KB
Binary file not shown.

0 commit comments

Comments
 (0)