TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Pyract: a new way of writing Gtk+ applications

152 pointsby fmoralescover 8 years ago

5 comments

wallacolooover 8 years ago
So this recreates the <i>entire</i> scene graph whenever the UI needs to be re-rendered? What happens when you use this in a complex application with lots of different nodes that needs to be updated frequently? Think a midi tracker &#x2F; DAW &#x2F; video editor, where it&#x27;s common to have a vertical bar that moves across the screen indicating the current section of audio&#x2F;video being played. Is this still suitable for that sort of application? I get that it&#x27;s doing diffs and not actually re-rendering <i>everything</i>, but how heavy is the call to create each node?
评论 #13575891 未加载
netforayover 8 years ago
This is similar to what React.js or Vue.js does on the browser. I always thought of this, very nice to see it running. I worry about the following.. 1. How we do complex objects like Trees and Tables? 2. How efficient are these Native nodes over DOM nodes in Browser?<p>I always wonder between Native vs DOM.
xenoniteover 8 years ago
For a quite similar approach of observing&#x2F;binding variables to GUI objects, have a look at Qt&#x2F;QML.
评论 #13576346 未加载
stuaxoover 8 years ago
Certainly much nicer than the traditional way of doing this :)
bgdkbtvover 8 years ago
This is great! Is there anything similar for developing macOS apps?
评论 #13575857 未加载