Show HN: Quark – native apps with react. no webview or Chromium

  • Posted 2 hours ago by sinisterMage
  • 1 points
https://github.com/project-strange-quark/strange-quark
Hi HN! i got Excalidraw running on the desktop without a webview or source changes to upstream using strange quark, (note that collaboration was off for my testing) i built it because it should be easy to build native desktop apps that are cross platform without learning a whole new stack, or 3 for that matter if you are using the native toolchains for each platform

for each platform Strange Quark keeps the parts of a browser that React apps depend on and replaces the rest with native code: 1. Your app and react-dom run unmodified in V8. 2. react-dom talks to squark-dom, a DOM written in JavaScript. React and libraries see ordinary DOM nodes, events and CSSOM objects. 3. Every DOM change becomes a 16-byte record in a journal. The journal streams into a Rust copy of the document. 4. Stylo(the CSS engine Servo and Firefox share) styles that document. Taffy and Parley lay it out. 5. A GPU renderer draws it through wgpu and Vello, on its own thread. i would love to hear technical feedback and criticism!

1 comments

    Loading..