Hi, OP here. For folks who prefer HTML5 APIs, I'm also working on a layer that translates these Qt APIs into HTML5 primitives (like Canvas and AudioContext):
Yeah it's just in case there are no surviving references to those vars. For example in the hello world code app gets GC'd unless it's in a callback in setTimeout().
From Qt5 "Lighthouse" would replace C++ as the main development method, and the Qt Quick language in Lighthouse is just a JavaScript extended language, IMHO, this project is just another re-invention of the wheel...
And on desktop, we already have state-of-the-art web browser Chrome, why bother using this to write HTML5 Canvas based app?
Nice. Last time I looked at Qt bindings for Node, it didn't support async and used the main node thread to run the UI on (OSX seems to require Qt use the main thread to draw UI on).
Care to elaborate how you got around this? I tired several different things and couldn't get it done.
Some Qt APIs are inherently asynchronous (like QHttp) but the graphics-related ones I'm binding to are not (like QPainter).
So the situation is analogous to the DOM in web browsers. The calls are synchronous and run in the main thread. As the web has taught us though, single-threads and blocking graphics calls can go a long way :)
God job .
Will definitely give a try , as I have some experience in both of them ..
I always wanted to try qt php bindings, but even running the example apps was difficult .
Hi, OP here. As explained that message happens when you mess something up in the C++ bindings, not because of JavaScript actually running out of memory.
OT but regarding the current native app hype (especially in the mobile space): I still don't like native apps except my browser, my editor, the shell and some legacy software (Office and Adobe CS). I don't like updating 30 apps a week on my Android. But it's more than a trend I guess?
Node-Qt apps are really semi-native since the app itself is written in JavaScript. So you can easily make your app auto-updating, just like a web app. (iOS is an exception due to Apple's restrictions, unless they're OK with QtWebKit which I doubt).
[+] [-] arturadib|14 years ago|reply
http://news.ycombinator.com/item?id=3816870
(There are some neat demos there :))
[+] [-] buu700|14 years ago|reply
[+] [-] firefoxman1|14 years ago|reply
[+] [-] arturadib|14 years ago|reply
[+] [-] artyyouth|14 years ago|reply
And on desktop, we already have state-of-the-art web browser Chrome, why bother using this to write HTML5 Canvas based app?
[+] [-] iamleppert|14 years ago|reply
Care to elaborate how you got around this? I tired several different things and couldn't get it done.
[+] [-] arturadib|14 years ago|reply
So the situation is analogous to the DOM in web browsers. The calls are synchronous and run in the main thread. As the web has taught us though, single-threads and blocking graphics calls can go a long way :)
[+] [-] ing33k|14 years ago|reply
Thanks to NPM :)
[+] [-] mirsadm|14 years ago|reply
This is a list of common errors when experimenting with Node addons, and their possible solutions: "Out of memory"
[+] [-] arturadib|14 years ago|reply
[+] [-] optymizer|14 years ago|reply
[+] [-] tlrobinson|14 years ago|reply
[+] [-] tferris|14 years ago|reply
[+] [-] arturadib|14 years ago|reply
[+] [-] WayneDB|14 years ago|reply
Your labeling of Office and Adobe CS as "legacy" is just wishful thinking.
[+] [-] DaNmarner|14 years ago|reply
[+] [-] arturadib|14 years ago|reply
[+] [-] vier|14 years ago|reply
[+] [-] leon_|14 years ago|reply
[deleted]