I’m also super excited about wasm creating language democracy. I’m rooting for dart myself.
One good example I like to point to is the idea of mixins.
Take a look at how Dart does it here: https://dart.dev/language/mixins
Then take a look at TypeScript here: https://www.typescriptlang.org/docs/handbook/mixins.html
You might also be interested in this https://dart.dev/resources/coming-from/js-to-dart
* use the exact same web APIs as outlined on MDN like you can in JavaScript.
* Without having to leave Dart and all of the type safety and tooling you get with that.
* while still being able to compile to WASM.
* With zero runtime overhead in terms of performance
Example of what that looks like here: https://github.com/dart-lang/web/blob/main/web/example/examp...