5 ms·
> Imagine being able to use Javascript for actual desktop application development, without having to resort to tons of html and css in the background You alrea
by rorrr2 13y ago
> Imagine being able to use Javascript for actual desktop application development, without having to resort to tons of html and css in the background
You already can do it. Canvas, WebGL, SVG, and a bunch of 2D and 3D libraries.
- nine_k 13y agoTrying to imitate the drawing of native components and emulate their behavior is not impossible, but is excessively burdensome (platforms x versions x options quickly becomes large). See Java. Having an ability to use platform-specific native components is a definite win.
- coldtea 13y ago>You already can do it. Canvas, WebGL, SVG, and a bunch of 2D and 3D libraries. Sure, and you can even do it with a brainfuck to js transpiler. But I think he meant do it EASILY, without first hacking a full GUI stack from a 2D/3D primitives library.
- rorrr2 13y agoIf you want buttons and sliders, HTML and CSS are perfect for that. They are way easier than Qt or any other framework. Let alone whatever that new browser has in place.
- angersock 13y agoYeah, for 2D interfaces I think that HTML/CSS basically solved the problem, finally, forever. Was soooo happy to switch to web development from doing Java Swing or native toolkits and APIs.
- perturbation 13y agoI was skeptical, but I found a lot more than I thought there would be. GTK+ & Javascript == https://wiki.gnome.org/Gjs https://wiki.gnome.org/Gjs Windows app store: http://msdn.microsoft.com/en-us/library/windows/apps/hh770842.aspx http://msdn.microsoft.com/en-us/library/windows/apps/hh77084... Qt 5 is moving this way as well: http://arstechnica.com/business/2012/04/an-in-depth-look-at-qt-5-making-javascript-a-first-class-citizen-for-native-cross-platform-developme/ http://arstechnica.com/business/2012/04/an-in-depth-look-at-...