vornay Posted January 19, 2019 Share Posted January 19, 2019 If Google's Dart/Flutter language can build HTML/WebAssembly apps that run at 60FPS, wouldn't it be a good candidate to be the implementation layer of Phaser? Not to mention the apps could be cross-compiled to run natively on iOS, Android, Fucsia, OSX, Windows, and Linux. Quote Link to comment Share on other sites More sharing options...
Milton Posted January 19, 2019 Share Posted January 19, 2019 What would be the advantage over Typescript? Phaser already has TS defs, so you can compile to WebAssembly whenever you like. vornay 1 Quote Link to comment Share on other sites More sharing options...
mattstyles Posted January 19, 2019 Share Posted January 19, 2019 Phaser is tied to JS, that is first class in browsers and will be for a while. WASM being de facto is far from a certainty, and a long way off in the best case for it (it may see more initial penetration in tooling than applications). Tying your project to a tech like Flutter (or even Dart) is ok, but can also potentially be a killer for your project. TS isn't immune from this either (see CoffeeScript) but its far less invasive. If TS died tomorrow (not that it would, barring some crazy licensing thing) deleting the TS bits is trivial and can be handled by a codemod and you haven't tanked your project. Not so for writing in a completely separate language. Not that I don't think a Dart/Flutter version is a bad idea per se, but, for me, it would be a port (or a totally separate project that follows the same/or similar conventions) with Phaser remaining as a JS (TS) project to ensure longevity of the project and remove barriers to entry. vornay 1 Quote Link to comment Share on other sites More sharing options...
ozdy Posted January 21, 2019 Share Posted January 21, 2019 I'd really wait for Flutter to gain more speed, JavaScript (TypeScript won't die if JS is alive) is a jack of all trades at the moment and I don't see it dying soon. I'm a fan of Google, like the Go language for example, but it's not uncommon they make tech that soon becomes obsolete. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.