3 ms·
> dart on the server is not officially supported What gives you that idea? The Dart VM is listed on the platform page for command line and server side programs
by boustrophedon 8y ago
> dart on the server is not officially supported
What gives you that idea? The Dart VM is listed on the platform page for command line and server side programs. https://www.dartlang.org/guides/platforms https://www.dartlang.org/guides/platforms
- thosakwe 8y agoDart VM != Dart server in this case. The focus of Dart 2 and beyond is the client side [0]. You can definitely run Dart in the VM, but beyond the HttpServer API, server-side support is mostly a community effort. My point isn't that this is a bad thing, it's that it makes sense for Firebase to be promoted because Dart doesn't have _official_ server-side support. [0]: https://medium.com/dartlang/announcing-dart-2-80ba01f43b6 https://medium.com/dartlang/announcing-dart-2-80ba01f43b6
- boustrophedon 8y agoI just think saying that it doesn't have "server-side support" is misleading. It makes it sound as though you'd need third-party code to run on the server at all. I do agree they have pivoted to a more client-sided branding though.
- wmleler 8y agoOur focusing on the client doesn't mean you can't use Dart on the server. In fact, we (the Flutter team) use it on the server. Analogy: JavaScript is focused on the client too, but people also use it on the server.