Hacker News new | ask | show | jobs
by ta20200202 2266 days ago
> 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.