4 ms·
I’m confused as to why people think this isn’t generally applicable to JS here. Very few of these changes are VM specific or likely to change (or any more so t
by abritinthebay 9y ago
I’m confused as to why people think this isn’t generally applicable to JS here.
Very few of these changes are VM specific or likely to change (or any more so than WASM implementations)
- choose your algorithm carefully
- make sure you’re paying attention to the data you’re applying the algorithm to is a good fit
- pay attention to arity & GC pressure.
None of these are hard to do in JS & most of the VM debugging was to help identify problems in existing unoptimized code.
The rest are lessons you can take into ANY JS data processing.