Hey guys, I want to write applications that actually don't need evented I/O (or not always) like regular GUI applications in Javascript, because, well I like Javascript. My question is if it's a good idea to build upon Node.js. Technically I could also use v8 directly but then I can't make use of those awesome Node modules that are out there and all the stuff that's already built into Node. It's like using Node as a runtime library. Good idea resp. the right way?
On Fri, Jul 27, 2012 at 5:11 PM, wtfux <wtfux....@googlemail.com> wrote:
> Hey guys,
> I want to write applications that actually don't need evented I/O (or not
> always) like regular GUI applications in Javascript, because, well I like
> Javascript.
> My question is if it's a good idea to build upon Node.js. Technically I
> could also use v8 directly but then I can't make use of those awesome Node
> modules that are out there and all the stuff that's already built into Node.
> It's like using Node as a runtime library. Good idea resp. the right way?
I know AppJS but I don't see how this is related. I'm thinking more of a way like how you use languages like python. You have python installed and with the right libraries you can write GUI applications with it (GTK, wxWidgets and so on). Replace python with Node.js here. I've already started to work on a wxWidget module for Node.js but I'm not sure if Node is suited as a base.
> On Fri, Jul 27, 2012 at 5:11 PM, wtfux <wtfux....@googlemail.com> wrote:
>> Hey guys, >> I want to write applications that actually don't need evented I/O (or not >> always) like regular GUI applications in Javascript, because, well I like >> Javascript. >> My question is if it's a good idea to build upon Node.js. Technically I >> could also use v8 directly but then I can't make use of those awesome Node >> modules that are out there and all the stuff that's already built into Node. >> It's like using Node as a runtime library. Good idea resp. the right way?
On Fri, Jul 27, 2012 at 7:16 PM, wtfux <wtfux....@googlemail.com> wrote:
> I know AppJS but I don't see how this is related.
> I'm thinking more of a way like how you use languages like python. You
> have python installed and with the right libraries you can write GUI
> applications with it (GTK, wxWidgets and so on). Replace python with
> Node.js here. I've already started to work on a wxWidget module for Node.js
> but I'm not sure if Node is suited as a base.
As I remember talk of such bindings and mentions of progress have come up
on the ML a few times.
I would be surprised if google didn't turn up something. Personally I don't
have much experience writing programs against GTK, wxWidgets etc. - So I
can't give you meaningful feedback in that regard, I did write some Ruby
apps against FOX ages ago, but frankly I preferred writing GUIs using web
tech.
>> On Fri, Jul 27, 2012 at 5:11 PM, wtfux <wtfux....@googlemail.com> wrote:
>>> Hey guys,
>>> I want to write applications that actually don't need evented I/O (or
>>> not always) like regular GUI applications in Javascript, because, well I
>>> like Javascript.
>>> My question is if it's a good idea to build upon Node.js. Technically I
>>> could also use v8 directly but then I can't make use of those awesome Node
>>> modules that are out there and all the stuff that's already built into Node.
>>> It's like using Node as a runtime library. Good idea resp. the right way?
On Fri, Jul 27, 2012 at 2:16 PM, wtfux <wtfux....@googlemail.com> wrote:
> I know AppJS but I don't see how this is related.
> I'm thinking more of a way like how you use languages like python. You have
> python installed and with the right libraries you can write GUI applications
> with it (GTK, wxWidgets and so on). Replace python with Node.js here. I've
> already started to work on a wxWidget module for Node.js but I'm not sure if
> Node is suited as a base.
> On Friday, July 27, 2012 12:14:37 PM UTC+2, joedev wrote:
>> On Fri, Jul 27, 2012 at 5:11 PM, wtfux <wtfux....@googlemail.com> wrote:
>>> Hey guys,
>>> I want to write applications that actually don't need evented I/O (or not
>>> always) like regular GUI applications in Javascript, because, well I like
>>> Javascript.
>>> My question is if it's a good idea to build upon Node.js. Technically I
>>> could also use v8 directly but then I can't make use of those awesome Node
>>> modules that are out there and all the stuff that's already built into Node.
>>> It's like using Node as a runtime library. Good idea resp. the right way?
Build node as a library is easy, change the line "'type':
'executable'" in "node.gyp" to "'type': 'shared_library'", and then
use gyp to generate project files.
On Fri, Jul 27, 2012 at 6:11 PM, wtfux <wtfux....@googlemail.com> wrote:
> Hey guys,
> I want to write applications that actually don't need evented I/O (or not
> always) like regular GUI applications in Javascript, because, well I like
> Javascript.
> My question is if it's a good idea to build upon Node.js. Technically I
> could also use v8 directly but then I can't make use of those awesome Node
> modules that are out there and all the stuff that's already built into Node.
> It's like using Node as a runtime library. Good idea resp. the right way?