Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Do you have any example other than integer overflow?

It's the only difference I've ever heard referenced.

The Dart team spends enormous efforts on maintaining JS-compatibility, so much so that it rejects adding any language features that can't efficiently compile to JS.



Another example where the VM and dart2js differ is, as others linked to elsewhere in this discussion, that dart2js relies on undefined/unspecced behavior in browsers,

https://code.google.com/p/dart/issues/detail?id=13285

In other words a dart2js app can break after a browser update, fail to run on a new browser that is fully standards compliant, etc.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: