Jan Mostert
2015-12-15 08:22:49 UTC
Hi, I'm busy investigating whether I can use Dart for a backend service on
a new project, but need to understand the threading model to know if it'll
work for me or not.
In Java I can do Runtime.getRuntime().availableProcessors() and then start
threads in proportion to the number of processors available to utilize all
CPUs / Cores on each machine which should give me great throughput on
IO-bounded operations.
What is the Dart Threading model? Does it follow a similar model to Java or
a model similar to NodeJS that has a single thread and an event loop?
a new project, but need to understand the threading model to know if it'll
work for me or not.
In Java I can do Runtime.getRuntime().availableProcessors() and then start
threads in proportion to the number of processors available to utilize all
CPUs / Cores on each machine which should give me great throughput on
IO-bounded operations.
What is the Dart Threading model? Does it follow a similar model to Java or
a model similar to NodeJS that has a single thread and an event loop?
--
For other discussions, see https://groups.google.com/a/dartlang.org/
For HOWTO questions, visit http://stackoverflow.com/tags/dart
To file a bug report or feature request, go to http://www.dartbug.com/new
---
You received this message because you are subscribed to the Google Groups "Dart Misc" group.
To unsubscribe from this group and stop receiving emails from it, send an email to misc+***@dartlang.org.
For other discussions, see https://groups.google.com/a/dartlang.org/
For HOWTO questions, visit http://stackoverflow.com/tags/dart
To file a bug report or feature request, go to http://www.dartbug.com/new
---
You received this message because you are subscribed to the Google Groups "Dart Misc" group.
To unsubscribe from this group and stop receiving emails from it, send an email to misc+***@dartlang.org.