GithubHelp home page GithubHelp logo

Comments (9)

prepare avatar prepare commented on May 27, 2024 1

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.

enginekit avatar enginekit commented on May 27, 2024 1

@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.

prepare avatar prepare commented on May 27, 2024

Yes

:)

from espresso.

prepare avatar prepare commented on May 27, 2024

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.

pauldotknopf avatar pauldotknopf commented on May 27, 2024

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.

prepare avatar prepare commented on May 27, 2024

are you using their fork?

No, I use the original nodejs code.
:)

from espresso.

enginekit avatar enginekit commented on May 27, 2024

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.

pauldotknopf avatar pauldotknopf commented on May 27, 2024

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.

prepare avatar prepare commented on May 27, 2024

Now Espresso (V8/ NodeJS 7.10.0+) can run on .netcore/.netstandard on macOS, Linux and Windows.
see => #30

from espresso.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.