You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: meetings/2020/WASI-03-12.md
+48Lines changed: 48 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -35,3 +35,51 @@ Installation is required, see the calendar invite.
35
35
the I/O story as we contemplate new kinds of streams and messages.
36
36
37
37
## Meeting Notes
38
+
39
+
Attendees:
40
+
41
+
Dan Gohman
42
+
Jan Falkin
43
+
Mike Trinkala
44
+
Lee Campbell
45
+
Andrew Brown
46
+
Ralph Squillace
47
+
Johnnie Birch
48
+
Benjamin Brittain
49
+
Mark McCaskey
50
+
51
+
Meeting notes:
52
+
53
+
Crypto API now has its own repository:
54
+
https://github.com/WebAssembly/WASI-crypto
55
+
Let's talk about process and expectations.
56
+
57
+
Merging send/recv into write/read:
58
+
https://github.com/WebAssembly/WASI/pull/240
59
+
This is a complex proposal, but the intention is to simplify the I/O story as we contemplate new kinds of streams and messages.
60
+
It’s difficult to comment because it’s a big and fairly abstract PR
61
+
Prototype implementation would help people see how this works out in practice
62
+
Impromptu questions:
63
+
Is it ok to have ambient authorities for debugging facilities such as logging?
64
+
BB, Lee: Yes, handles are good
65
+
Making it ambient is a decrease in potential power of the system
66
+
67
+
Impromptu agenda item:
68
+
69
+
DG: Is it ok if we have ambient authorities producing handles if the handles themselves can’t be used to do any I/O?
70
+
Sealed capabilities are a useful concept.
71
+
Lee: Avoid ambient authorities.
72
+
BB: Capabilities aren’t just security, they also allow compositional design patterns.
73
+
Lee: eg. logging. Where does the log output go? If you make it a handle, now you can send different handles that represent different sinks.
74
+
Logging for debugging vs logging for production, perhaps are not so different use cases.
75
+
Lee: A really powerful feature would be to have move-only semantics for handles, so you can send an instance a handle and it can be sure it’s the only instance with access to it.
76
+
DG: Reference types proposal doesn’t have move-only semantics, but it’s something to think about
77
+
Lee: Reference-counting can lead to awkward edge cases where references are kept live, or have aliases, in surprising ways.
78
+
In Fuchsia, fd’s are 64-bit numbers and not reused.
79
+
WebAssembly/interface-types
80
+
BB: Move semantics changes how I’d design WASI APIs
81
+
Eg. capabilities for memory regions. What does it look like to transfer a handle for one of these to another instance?
82
+
Lee: Let’s have a discussion on rights, what rights look like, do we have a handle hierarchy?
83
+
WASI doesn’t predefine __unix__.
84
+
RS: GIve people a new engine, and it’s an easier step for people to take to port to. Guide them to doing the thing they want to do. Think of this as a new target. Don’t roll in old metaphors.
85
+
Lee: If something doesn’t build, then you know what you have to fix. If it builds but doesn’t work, now you have to debug it.
0 commit comments