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.
FYI
The PINF loader is here [1]. 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 [2][3].
> 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" [4].
Christoph
[1] -
https://github.com/pinf/loader-js
[2] -
https://github.com/sourcemint/loader-js
[3] -
https://github.com/sourcemint/examples-js/
[4] -
http://www.youtube.com/watch?v=05AyeGSmrAs&feature=youtu.be