Event loop integration without Qode?

Open
#1,092 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
5/5
Estimated time
Over a week
Newbie friendliness
30/100
Issue type
Feature
Clarity
Needs clarification
Activity status
Active
Tech stack
cpp, nodejs
Domain
desktop

Research direction

Start by reading the eventloop-graft package and comparing its standard Node.js event-loop approach with NodeGUI's stated Qode dependency. Determine whether NodeGUI can load and run on a standard Node.js installation, and document the changes or limitations needed for that integration.

Written by the indexing model from the issue text.

Description

Hi, for a different (GTK-based) project, I worked out a way to do event loop integration on a standard Node.js installation: https://www.npmjs.com/package/eventloop-graft

Now I'm wondering, could this also work for NodeGUI? I can't directly test it myself since NodeGUI seems to hard-depend on symbols only available in Qode (so it won't even load in a standard Node.js install, and NodeGU itself would need to be changed), but if this is possible, it seems to me like it could be a significant improvement; NodeGUI would no longer be dependent on a constant (labour-intensive) porting process with every new Node.js release, and thereby also benefit from much faster runtime security updates.

Dominant language
C++
Stars
9.2k
Forks
315
PR merge metrics
No merged PRs in 30d

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from nodegui/nodegui

All issues in nodegui/nodegui

Similar issues

More C++ issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.