Comments (9)
Are you compiling all of nodejs, but only exporting the V8 functions you need?
In this Espresso repo,
we use v8 from nodejs,
but It not include any function from node directly
because I want to use it with our HtmlRenderer project.
so I want to show how to interface with the project,
and make sure that no nodejs code/functions are on client platform.
so I export only V8 functions from nodejs + our some functions that control it.
Wait, this is already a feature? There is a JavaScript thread loop implemented in here?
Yes, but It's not in public repo , it will be release later soon.
It wasn't hard for you?
In my experience (not much like electron dev team) + my context,
not hard, it's easy,
we use the same technique like we use with V8.
from espresso.
@pauldotknopf
I love the simplicity and flexibility of this lib.
(the detail in https://github.com/CompilerKit/Espresso/wiki/Build-NodeJS-for-Espresso-Cup
shows that just 8 patches to original NodeJS code,
the Espresso becomes EspressoCup)
I think, the Espresso is a little lib that answers my requests.
I can't compare it EdgeJS ;) , (EdgeJS is a greate lib)
CompilerKit/Espresso is my fork.
I contribute back to @prepare /Espresso
from espresso.
Yes
:)
from espresso.
The reason why I ask is because I think this could potential allow running javascript code in .NET that actually utilize network/file and node_modules.
👍
I 've test it, it works!
from espresso.
Wait, this is already a feature?
There is a JavaScript thread loop implemented in here?
I heard node was hard to embed, leading electron to for it.
https://github.com/electron/node
It wasn't hard for you? Or, are you using their fork?
from espresso.
are you using their fork?
No, I use the original nodejs code.
:)
from espresso.
hello @pauldotknopf,
Today, I have sent the special version of Espresso.
It is "EspressoCup". The NodeJS + Espresso Extension.
see detail more at
https://github.com/CompilerKit/Espresso/wiki/Build-NodeJS-for-Espresso-Cup
from espresso.
Amazing!
I know the API is different than EdgeJS, but how do you see this library, compared to it?
Also, is this repo your working fork? Is the CompilerKit one the home?
from espresso.
Now Espresso (V8/ NodeJS 7.10.0+) can run on .netcore/.netstandard on macOS, Linux and Windows.
see => #30
from espresso.
Related Issues (20)
- Node 10 and N-API support HOT 1
- Issue sending C# arrays to Javascript engine HOT 5
- Add debugger support to ND version HOT 4
- Access Violation in CreateWrapperForManagedObject HOT 17
- DoGetterProperty and DoSetterProperty HOT 1
- upgrade to v8 engine from NodeJs 8.9.3
- upgrade to v8 from node9.3.0
- HowTo HOT 2
- Implementation for Deno
- Run MathJax in C# using Espresso HOT 3
- Espresso, NodeJS 10.15.1 HOT 5
- Espresso, NodeJS 10.15.3 HOT 6
- Espresso, NodeJS 11.12.0 HOT 3
- JsEngine.CompileScript System.AccessViolationException HOT 1
- Access Inspector Protocol for Debugging non-Node JS HOT 1
- Espresso, NodeJS 12.7 HOT 1
- Espresso, NodeJS 12.11.1 HOT 3
- Espresso, NodeJS 13.5.0 HOT 2
- Espresso, NodeJS 16.3 HOT 2
- Espresso, NodeJS 16.8.0 HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from espresso.