This project is read-only.

V8.NET Release v1.4.0.1

Rating:        Based on 3 ratings
Reviewed:  1 review
Downloads: 1062
Change Set: 03423e328a5f
Released: Dec 18, 2013
Updated: Oct 17, 2014 by jamesnw
Dev status: Stable Help Icon

Recommended Download

Application V8.NET Binaries (v1.4.0.1)
application, 22925K, uploaded Dec 19, 2013 - 1062 downloads

Release Notes

Update (2014-10-17): Google has updated their V8 build process again with breaking changes. If you have problems compiling the native V8 side, you may need the new updated code from the development branch.

This new release fixes a few bugs (as usual ;) ). If you're interested in which, review the commit history comments (sorry, I don't keep a good record of them). For info on the previous changes, see the previous release details. I'll update the documentation as I have time. For now, search the discussions (which have plenty of examples), or start a new one!

New in this release:
  • Breaking change: While working on DreamSpace it occurred to me that running actions in scopes is just a pain in the @$$. ;) I did a speed check and found this:
    • > Using action callbacks ...
    • > 20000000 loops @ 32679ms total = 0.00163395 ms each pass.
    • > Using native stack scopes ...
    • > 20000000 loops @ 21378ms total = 0.0010689 ms each pass.
    • It's clear there's really not much benefit because I think the majority of V8.NET users are creating non-linear calls to the engine, and thus it's faster to stick with the native V8 side scopes on a per P/Invoke call basis (which I sort of suspected - though the goal was to mimic V8 at the time). Besides, I think it will also help cut down on a lot of bugs if in case someone forgets to use a scope. :)
  • "{ObjectTemplate}.RegisterInvokeHandler()" should take a JSFunction as a callback, and not the native callback signature. This has been corrected.
  • Implemented IDisposable for V8Engine.
  • Bug fixes.

As always, you can get the "bleeding edge" fixes and features in the development branch, which includes release-mode binaries of the dev builds.

Reviews for this release

is very good
by gradelgx on Aug 11, 2014 at 11:16 AM