News for hackers. Stuff that matters.
Re:Arrakis by anon4 on Thursday May 22, 2014 @02:55AM (#7782485)
> one day the browser might have daemons

It already does. Just write an extension and schedule a function. The one thing I don't think you can do yet is listen on a socket. At least not without doing a websocket connection to a separate service. Or bringing a native component with you.

Re:Arrakis by icebraining on Thursday May 22, 2014 @04:29AM (#7782731)
Firefox extensions can, and have always could. ChatZilla, for example, does direct access to IRC servers from Mozilla browsers since 2000, but even server sockets are possible[1]. Native components are also possible - they're called XPCOM components. Or you can use js-ctypes[2].

[1] https://developer.mozilla.org/en-US/docs/Mozilla/Tech/XPCOM/...

[2] https://developer.mozilla.org/en-US/docs/Mozilla/js-ctypes