Sample Code page and V8 question

May 25, 2012 at 2:27 AM
Edited May 25, 2012 at 2:31 AM


Thanks for this project, it looks like just what I want.

Can you please post a page with sample code for the following:

  1. Passing each primitive data type and arrays between JS and .NET
  2. Handling events in JS triggered from .NET objects.
  3. Handling exceptions in JS triggered from .NET objects.
  4. .NET code accessing JS objects and parameters.
  5. Best Practices for exposing .NET objects and interfaces to JS
  6. Best practices and patterns for JS consuming polymorphic .NET interfaces.
  7. Best practices for memory management and garbage collection considerations, if these are not simple and transparent.

Also a question - I have been concerned about whether V8 phones home to Google and what info it sends to google. Is there any evidence to confirm that V8 does or does not phon home?



May 25, 2012 at 3:16 AM

Hi Mike,

I'm glad you like the project.  I don't have time to write all the things you suggest, but perhaps you should try them?  If you learn something unobvious then post it and I can add it to the documentation.

Regarding v8 phoning back to Google, I rather doubt it.  However the source code is easy to get, so you can check yourself.