Wes Garland wrote:
> > having lots of options is great because you get to pick from a lot
> of great choices so you can use the one that suits you best..
> Not only that, but being able to share test cases and programs makes
> for more robust code across platforms. Christoph Dorn found a large
> number of bugs in GPSEE when he ported the PINF loader over.
The PINF loader is here . The goal is to devise a portable loader
that shims various JS engines/platforms to the CommonJS APIs and provide
a foundation for portable JS components & applications.
The PINF code was the result of a lot of research & prototyping and I am
now in the process of cleaning up the implementation (still early) under
the sourcemint umbrella .
> Best of all, if your program runs on multiple platforms, you can have
> multiple platform "vendors" competing to see whose platform works the
> best. This in turn should help to stimulate an overall improvement in
> the community.
Or run your components on one engine on the server and another embedded
within a desktop application.
A presentation I did on where I see this going: "CommonJS Everywhere" .
 - https://github.com/pinf/loader-js
 - https://github.com/sourcemint/loader-js
 - https://github.com/sourcemint/examples-js/
 - http://www.youtube.com/watch?v=05AyeGSmrAs&feature=youtu.be