#
How About WASM Support?After everything seems stable, we will start develop FIWL with WASM for native-like performance. But why not from start? Well... there are critical things to consider:
Complexity, Prevents FIWL to Launch Earlier
Learning WASM is possible especially with AssemblyScript. However, community support still minor in early 2020. This could be a problem in some situation for starting big project like FIWL. To minimalize risk of long-duration problem solving, it's better to keep stick with JavaScript for now.Lack of Direct DOM Access for Rendering
As discussed on this thread, there is no way to access DOM directly but possible withimport
andexport
way as demonstrated at here. However, that will be way too slow for rendering UI and too complex for a simple logic like at demo. Fortunately, browser API for WASM seems in proposal as explained on this slide.WASM still in Standardization Process
On the official site says that WASM still in Standardization Process for future initial release. Keep in mind that FIWL is also new. If we use bleeding edge technology to create a new technology, the development process will suffer. The reason of this because when WASM releases new major features as promised on proposals, then FIWL need to be reprogrammed again which is waste of time and energy.
Anyway, browser with FIWL support out of the box or at least browser plugin for FIWL are possible at future. We welcome your contribution!