All Projects → rjamesnw → V8dotnet

rjamesnw / V8dotnet

Licence: lgpl-2.1
A fairly non-abstracted wrapper for Google's V8 JavaScript engine.

Labels

Projects that are alternatives of or similar to V8dotnet

Liquidcore
Node.js virtual machine for Android and iOS
Stars: ✭ 765 (+475.19%)
Mutual labels:  v8
V8 Javascript Memory
V8 JavaScript 内存占用分析
Stars: ✭ 46 (-65.41%)
Mutual labels:  v8
Bacardi
Bacardi project is an effort to provide multi-language binding for Node.js native layer.
Stars: ✭ 115 (-13.53%)
Mutual labels:  v8
V8 Bailout Reasons
🔧 A list of Crankshaft bailout reasons with examples
Stars: ✭ 861 (+547.37%)
Mutual labels:  v8
Bytenode
A minimalist bytecode compiler for Node.js
Stars: ✭ 1,012 (+660.9%)
Mutual labels:  v8
Deep Into Code
Node.js / Libuv / V8 引擎源代码学习笔记
Stars: ✭ 66 (-50.38%)
Mutual labels:  v8
Type Profile
Collect runtime type information 😻 of your JavaScript code.
Stars: ✭ 518 (+289.47%)
Mutual labels:  v8
Llvm Node
Node LLVM 4.0+ Bindings
Stars: ✭ 127 (-4.51%)
Mutual labels:  v8
V8 Source Read
V8 探秘
Stars: ✭ 43 (-67.67%)
Mutual labels:  v8
Flamebearer
Blazing fast flame graph tool for V8 and Node 🔥
Stars: ✭ 1,485 (+1016.54%)
Mutual labels:  v8
Monomorphist
monomorphist - a JavaScript performance companion
Stars: ✭ 30 (-77.44%)
Mutual labels:  v8
Rust V8worker2
Minimal Rust binding to V8 (based on ry/libv8worker2)
Stars: ✭ 33 (-75.19%)
Mutual labels:  v8
V8go
Execute JavaScript from Go
Stars: ✭ 1,205 (+806.02%)
Mutual labels:  v8
Cef4delphi
CEF4Delphi is an open source project to embed Chromium-based browsers in applications made with Delphi or Lazarus/FPC for Windows, Linux and MacOS.
Stars: ✭ 785 (+490.23%)
Mutual labels:  v8
V8js
V8 Javascript Engine for PHP — This PHP extension embeds the Google V8 Javascript Engine
Stars: ✭ 1,659 (+1147.37%)
Mutual labels:  v8
V8.dev
The source code of v8.dev, the official website of the V8 project.
Stars: ✭ 567 (+326.32%)
Mutual labels:  v8
Puerts
Write your game with TypeScript in UE4 or Unity. Puerts can be read as pu-erh TS(普洱TS)
Stars: ✭ 1,139 (+756.39%)
Mutual labels:  v8
Rusty v8
V8 javascript bindings for Rust
Stars: ✭ 2,022 (+1420.3%)
Mutual labels:  v8
Learn Javascript
《前端基础漫游指南》深入的、系统的学习 javascript 基础,喜欢点 Star
Stars: ✭ 128 (-3.76%)
Mutual labels:  v8
Profiling Nodejs
🌌 Collection of articles and tools to efficiently profile Node.js
Stars: ✭ 93 (-30.08%)
Mutual labels:  v8

V8.NET

Project Description

A fairly non-abstracted wrapper for Google's V8 JavaScript engine.

What does that mean? Well, most other existing wrappers abstract most of the Google V8 engine's abilities away from you. That's fine for simple tasks, but wouldn't you rather have full control over the power of the V8 engine from managed code? This gives you a lot of power, which means understanding how V8 works will go a long way to understanding how this wrapper works.

I've carefully crafted a C++ proxy wrapper to help marshal fast data transfers between the V8 engine and the managed side. One of the biggest challenges (which actually turned out to be simple in the end) was storing a field pointer in V8 objects to reference managed objects on call-backs (using reverse P/Invoke). A special custom C# class was created to manage objects in an indexed array using an O(1) design that is extremely fast in locating managed objects representing V8 ones.

The documentation can be found here: https://github.com/rjamesnw/v8dotnet/wiki

Installation

Now on NugGet! Support for Net Standard targeting .Net 4.6.1+ and Net Standard 2.0+

https://www.nuget.org/packages/V8.Net/ nuget

Building The Source

To build you need the V8 Source (follow these steps) and Visual Studio 2017. Tip: As of recent, there is a NuGet package where you can get the V8 binaries here: https://github.com/pmed/v8-nuget - this is only helpful in case you wish to modify the project to reference those DLLs when statically linking the V8.Net C++ wrapper DLLs.

Note: V8.Net was created years before that project, so the project is configured against native DLLs being compiled by source (which also gives us more control over the process).

License Clarification

The license is LGPL. In a nutshell, this means that you can link to the libraries from your own proprietary code (including code for commercial use), but if you modify the source files for anything in this project, the modified source and executables from it must also be made freely available as well (and you must clearly state you modified the code).

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].