Search code examples
javascriptv8

Javascript, V8, resources


I've been learning a lot of Javascript lately, and I'm amazed by the expressive power of the language (as well as annoyed by some of its quirks, but no language lacks those). I want to start using it more.

I'm svn coing V8 as I write, and wanted to know what good resources are out there to consider. Is there some sort of standard library? What should I look at?

How feasible is it to take javascript as a desktop scripting language, for those one-time scripts I usually write in python?

I didn't even get started yet, so I might have missed a vital question. Is there anything else I should know, or think about?

I know this is a pretty broad question, aimed at nowhere in particular, so thank you very much for your time!


Solution

  • If you want a fully functional environment based on javascript that has access to things like the filesystem, network (udp, tcp/http), and the like, I'd recommend looking at node.js -- http://nodejs.org/

    Its uses v8 and is actively developed by Ryan Dahl and the core team, and is backed by Joyent -- http://www.joyent.com/.

    Its got a fantastic community (come on over and say hi on irc at #node.js on freenode) and something like 10 modules or more published a day on http://npmjs.org/ package manager.

    Edit

    Also, I'll point out that while the node was originally looking at CommonJS in terms of direction, they've since pretty much entirely split away from that community. Its got its own module system and apis. Some overlap, but compliance is not a goal of the project at the moment.