-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathtodo.txt
48 lines (39 loc) · 973 Bytes
/
todo.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
- channel multiple in/out, FIFO
- IN, OUT, ALT if channel closed. Report errors. What to return on channel closure?
- correct error unwinding. report stack trace for the whole tree, error bubbling.
- ALT -> select
- pluto serialization
- lua checkstack everywhere
- catchterminate
- make it a module, non-invasive. Avoid LUAI_EXTRASPACE. how?
- TDD: runtime error must be test failure.
- lua variant for arguments (ref/unref is too slow).
Consider to use table with __gc instead of userdata. And put all the refs (ch+args) there.
Use uservalue feature for userdata.
- userdata variant for C++ type checks.
- memory pools, HWMs.
- channel for in/out only (in/out qualifiers?)
- x64
- cmake
- 'defer' keyword.
ALT(
ch1, function( arg1, arg2 )
end
,
ch2, arg1, arg2, function()
end
)
ALT(
ch1, IN, function( arg1, arg2 )
end
,
ch2, OUT, { arg1, arg2 }, function()
end
)
ALT(
ch1, function( arg1, arg2 )
end
,
ch2, { arg1, arg2 }, function()
end
)