algorithm wrote:JavaScript?
Three issues with that are:
- There are parts of the downloaded code where performance is kind of important. Perhaps not crucially important, but important enough that it would be a pity to downgrade it in performance to the extent that JavaScript or any other dynamic language would imply.
- Incorporating a dynamic language also implies writing glue code for any interface that code written in it would need to touch.
- libv8 is larger than the entire rest of the whole client is likely to be.
Not to mention, the question remains "why". It is not a priori obvious that any performance gains would even be realized from rewriting the client in C/C++. The main reason I've considered it is really just to transfer the client to a language that I like, unlike Java.