fengari-lua / fengari-web

Provides everything you need to run Fengari in the browser.
MIT License
250 stars 19 forks source link

Document browser compat #25

Closed daurnimator closed 6 years ago

daurnimator commented 6 years ago

Should be easy to find in the README.

daurnimator commented 6 years ago

Back on 16th of Jan I tested older browsers via browserstack. We should work with the current code back to Safari 8 and IE 11. The major thing lacking in Safari 7 and IE10 is built-in WeakMap support.

Older browsers should be able to work with core.js shims; but the shims required increase build size significantly, so I don't want to turn them on by default. I had a quick attempt at making our use of WeakMaps optional, but it made the code hard to follow.