domenic / proposal-blocks

Former home of a proposal for a new syntactic construct for serializable blocks of JavaScript code
215 stars 5 forks source link

Add FAQ on relation to binary AST #18

Open domenic opened 6 years ago

domenic commented 6 years ago

This comes up often.

For the current proposal, there is not really any relation. Binary AST is a defined serialization format concerned with portability between user agents. Whereas the current proposal defers transferring to the host's internal mechanisms, e.g. in a host-provided worker() function. The actual serialization format is not relevant.

17 would create a potential relation though. Probably of the form "string serialization in the initial version of the proposal, binary AST serialization if/when binary AST happens".