Hi Sam!

This is great news! I would like to help with the ES2015 transition. Do you 
have a roadmap or a list of of changes to be done? Which tests would be useful 
to run on es2015 changes?

Cheers
Sergey

> On 23 Dec 2021, at 13:46, 'Sam Clegg' via emscripten-discuss 
> <[email protected]> wrote:
> 
> Emscripten 3.1.0 has now been released with a minimal amount of internal ES6 
> usage (https://github.com/emscripten-core/emscripten/pull/15765 
> <https://github.com/emscripten-core/emscripten/pull/15765>).  Assuming we 
> don't hear of any issues in the next couple of weeks we will start moving 
> ahead with more usage in the new year.
> 
> cheers,
> sam
> 
> On Fri, Dec 17, 2021 at 4:55 PM Sam Clegg <[email protected] 
> <mailto:[email protected]>> wrote:
> I'm hoping to land a change soon that will pave the way for allowing certain 
> ES6 constructs in emscripten core libraries: 
> https://github.com/emscripten-core/emscripten/pull/15763 
> <https://github.com/emscripten-core/emscripten/pull/15763>.
> 
> The upshot for most users will be smaller, more idiomatic JS output.   For 
> those users that are targeting older browsers that don't have full ES6 
> support the default solution is to use closure compiler to (in 
> WHITESPACE_ONLY mode) to transpile the output.   This transpilation will kick 
> in automatically if you specify a `MIN_XX_VERSION` that doesn't support the 
> ES6 features we are using.
> 
> The downside here is that there will be an extra step in the linking process 
> for some users.   The upside is more easy-to-maintain and smaller JS code 
> size. 
> 
> cheers,
> sam
> 
> 
> -- 
> You received this message because you are subscribed to the Google Groups 
> "emscripten-discuss" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to [email protected] 
> <mailto:[email protected]>.
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/emscripten-discuss/CAL_va28skh-3PZ5_f5k4KDe75sJUN-2kMDj%2B37BE7wFX-Hs7vA%40mail.gmail.com
>  
> <https://groups.google.com/d/msgid/emscripten-discuss/CAL_va28skh-3PZ5_f5k4KDe75sJUN-2kMDj%2B37BE7wFX-Hs7vA%40mail.gmail.com?utm_medium=email&utm_source=footer>.

-- 
You received this message because you are subscribed to the Google Groups 
"emscripten-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/emscripten-discuss/60B3BACE-E6DC-4D31-99E1-B4BBF6150FE1%40gmail.com.

Reply via email to