I don’t use Elm. But I have watched several of the founder’s talks about different subjects. That is to say, I have a half decent idea as to what the ‘native modules’ issue means. I think Luke’s issue is that under the newest release Elm is requiring that no code contain any ‘raw’ JS or it won’t compile. It seems like this was an option prior to the current version so is this basically like if the Rust team said as of the new release no code, other than that code coming from the Rust team may use ‘unsafe’?
— This is an honest question I’ve been holding in all afternoon, and seeing this still on the front page, I just decided to ask.
> issue is that under the newest release Elm is requiring that no code contain any ‘raw’ JS or it won’t compile. It seems like this was an option prior to the current version so is this basically like if the Rust team said as of the new release no code, other than that code coming from the Rust team may use ‘unsafe’?
Yes, the problem is similar. It can be considered worse, because in safe Rust you can do almost everything, but Elm is much more limited.
You can still use regular JavaScript with ports, but it is more complicated. It is something like a WebSocket channel, where the server is the JavaScript code.
— This is an honest question I’ve been holding in all afternoon, and seeing this still on the front page, I just decided to ask.