r/learnjavascript • • 2d ago

Advanced javascript?

So i am a student whom enjoys making various small projects in free time with few languages but i have been wondering, as i have used javascript to make few static websites, and programs since it was very interesting to try and as javascript has a lot of built in functions and elements that allow various ways to solve problems, is there a way to make desktop applications using javascript and how precisely? Please explain, even a hint would be useful

11 Upvotes

26 comments sorted by

View all comments

0

u/MauriceM7 2d ago

Don't use Javascript. Do the horses for courses. Javascript is for the browser. So essentially you would have to have browser embedded in a desktop framework. You could do the node thing if you dont want ui. But I would say if you want to write desktop apps then use the appropriate language as Javascript is not suited for it

6

u/fckueve_ 2d ago

How is not suited? There are shot ton of desktop apps in JS. Spotify, slack, Discord, and many more. I'm mean yeah, performance is not great, and you can definitely do desktop apps on JS.

1

u/CuAnnan 4h ago

Electron and its ilk allow full features applications in JavaScript. Why would you not?