I think a JS-to-Erlang translator would be a pretty complex task; ditto for any alternative syntax like CS.
Why not use emonk instead? It moves the JS interpreter into the db process, so there's no IPC or serialization overhead. This is already used on iOS, where we aren't allowed to run subprocesses. --Jens On Sep 28, 2011, at 9:07 AM, "kowsik" <[email protected]> wrote: > Was thinking about this last night. This translator would be awesome > to keep the views people-like-me-readable, at the same time getting > the maximum possible view indexing performance since there's no cost > of JSON serialization out to the external process. For a write-heavy > database with lots of design docs, could be huge. > > Anyways, a side project for someone! :) > > K. > --- > http://blog.mudynamics.com > http://blitz.io > @pcapr
