Re:Web Assembly now supported across all browsers
by kayoone on Monday December 04, 2017 @08:44AM
(#15843698)
afaik you can not just take a C++ blob, compile to WebASM and be done. Your business logic can be there, but the User Interface would still need to be JS and HTML in the end, unless you want your app to just draw to a canvas, but even that would only work if you rewrote the rendering as webasm has no access to OS level libraries
[ Parent
| on HN ]
Re:Web Assembly now supported across all browsers
by flavio81 on Monday December 04, 2017 @10:16AM
(#15844421)
>unless you want your app to just draw to a canvas,
Don't count this out; there opens up the opportunity for creating new, good looking toolkits that are faster to use than coping with html + css' limitations.
Re:Web Assembly now supported across all browsers
by kayoone on Monday December 04, 2017 @11:01AM
(#15844828)
not sure if that's a viable alternative for the web. It will most likely consume more computing resources which makes it hard on mobile and the responsive web goes out of the window.
It can make sense for certain interactive elements though.
Re:Web Assembly now supported across all browsers
by flavio81 on Monday December 04, 2017 @12:23PM
(#15845552)
The rendering of (html+css) to the screen already uses resources on regular web browsing. This wouldn't be needed (if using a GUI toolkit under Webassembly) and could probably run much faster.