openT2T / opent2t.github.io

Source for Open Translators to Things website.
http://www.opentranslatorstothings.org
Other
13 stars 9 forks source link

why JS? #3

Open earlence opened 8 years ago

earlence commented 8 years ago

Doesn't running JS require too many resources (jscript interpreter, thread support etc). Shouldn't the translators be lightweight, without bringing in all the baggage that JS brings?

matheusmonte commented 8 years ago

I think choice JS is because have a lot of people who develop on JS. But I know that is heavier than another languages like c++. Is most popular than C++ and mote acessible

jeanpa commented 8 years ago

earlence and matheusmonte - your are both correct: We started with JS because JS is known by many people and we hope many people write translators to their favorite things. We also hope to work with the cross-platform JS community to continue building robust cross-platform libraries for the different protocol buses used to communicate with “Things”. That said, in scenarios where JS requires too many resources, I hope the community will analyze those scenarios and the community could decide later to build support for other languages.