3 ms·
I haven't played with assemblyscript, but just read today that it doesn't support closures. So no javascript good parts in assemblyscript yet?
by azangru 6y ago
I haven't played with assemblyscript, but just read today that it doesn't support closures. So no javascript good parts in assemblyscript yet?
- maxgraey 6y agoThis is a temporary limitation which mean you can't capture free vars from outer scope (except global scope). One of the main goal of AS is performance but closure elimination required some extra efforts like Middle IR, eta/beta-reductions, lambda lifting / dropping. Without all of this closures will produce significant overhead. So at first need to implement all this things