Hacker Newsnew | past | comments | ask | show | jobs | submit | ph0o's commentslogin

oh, i hope so!


nope!


good question!


As mentioned, i tried Visual Studio Code on OSX. works like a charm.. i would give it a try!


Thanks!

So, you would use node.js just as a service to process data on the server side and not as a application for the desktop (with a gui)?


Typically Node.js is for high I/O web applications. Thanks to the wonderful asynchronicity of javascript (callbacks "let me know when this is ready/done") it's really wonderful for browser-based programs.

However, there is growing discussion about using Node.js for desktop applications. Please see https://nodesource.com/blog/node-desktop-applications


Node also works well for desktop apps because it's got the run loop.

Desktop apps are insanely high frequency IO apps, basically, its an Input Queue reading the mouse / keyboard / touch screen and a run loop, which is exactly what node is, except node originally envisioned the input queue being web requests. And most desktop apps are single threaded on the UI.


Hi there, thanks for your response.

I programmed some Desktop Apps with Java and C#. And during some hackathons i used python+flask+nginx to implement a Web-Applications with a RestAPI on the backend.

I was just curious for which type of application i can use node.js (since i didn't use javascript on the backend at all). Usually i used PHP, C# or Pyhton for the backend..

Is MS Windows 10 using node.js for their applications (since its possible to develop Node.js apps in Visual Studio Code)?


I do not think, that node.js is involved in the JavaScript apps for Windows. In your place I would test node.js the next time you do something like you did with Flask. If you now C#, I would not recommend to waste time to implement a node-based Windows GUI app.


i will try it! :) thanks!


I think you can develop Windows 10 apps using JavaScript, but as far as I know Node.js isn't involved. I think Microsoft promotes Node.js more so that people use their Azure platform to host Node.js applications.


You can use Node in place of PHP or Python to implement a REST API backend. You can also use it to run scripts the same way you would use Python to do that.

Windows doesn't use node, they have their own JS runtime and a GUI framework that you can script with JS.


for those who just would like an encrypted chat. i‘m very happy with the otr plugin for pidgin. additionally every adium (macos) user could use this feature ootb. but.. maybe the hardest part.. you have to convince your "i dont care"-"i have no secrets" colleagues to use it.. :)


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: