On Dec 20, 2012, at 23:49, Forrest L Norvell wrote: > Ultimately the distinction between "compiled" and "interpreted" is becoming > as vague as the distinction between "dynamic" and "static" type systems, but > it's simply not true to say that modern JS runtimes are "100% interpreted".
Let's stay on topic to the question in the thread, which was about using Node with Xcode. The types of projects for which one would normally use Xcode are written in Objective-C or C or C++, and one presses a "Run" button in the toolbar, which initiates a set of build rules and kicks off the compiler to turn your source code into object files which are then linked together and run. This type of compilation is not applicable to most JavaScript projects. Granted, for some projects, you might want to explicitly "compile" your Stylus into CSS or CoffeeScript into JavaScript rather than e.g. letting Express do it on the fly, and you could probably coerce Xcode to do that for you. But since the Node community is also composed of people running Linux and Windows, using a build system which is not Mac-specific might be of benefit. You could use Jake and write a Jakefile. Or if you don't need Windows support you could use Make and write a Makefile. As for getting Xcode to run your Node project, again yes you could probably configure your Xcode project to run "npm start" for you when you press the "Run" button, but you could also just open a Terminal and type "npm start". Or you could use node-dev or similar to automatically restart your app whenever you make changes. The point was that most of the features Xcode offers are not terribly useful for JavaScript programmers in my opinion, which leaves you with just an editor. So if you really like the Xcode text editor, go ahead and use it. Otherwise, use any other text editor to write your JavaScript. -- Job Board: http://jobs.nodejs.org/ Posting guidelines: https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines You received this message because you are subscribed to the Google Groups "nodejs" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/nodejs?hl=en?hl=en
