Thursday, April 19, 2007

concurrent javascript

How about running Javascript code in parallel automatically?


  1. Take javascript code A
  2. Parse code A into a code tree and output into LISP
  3. Parse LISP and separate into separate blocks that can be run in parallel with no worry, insert map reduce code to be expanded
  4. Use a LISP to javascript to generate javascript code which now contains map reduce calls.
  5. execute javascript inside interpreter that has map reduce library hooks.


It might work, it might not. Fun to ponder.