[fpc-pascal] WebAssembly Target
mschnell at lumino.de
Thu Mar 16 10:11:04 CET 2017
On 15.03.2017 17:58, Karoly Balogh (Charlie/SGR) wrote:
> Well, "degree of success" is relative, ...
Anyway, it's great to know that you are watching the proceedings
regarding WebAssembly, and already did some effort to get started !!!!
Just for enhancing your motivation :-) (of course this issue is more
like a project related to the Lazarus or mse designers, but you are
going to pave the way) :
IMHO this will be a great method to create (pure Pascal) applications
that are split in a server based part and a browser based part.
A very desirable way to do so would be to use a GUI based IDE (such as
Lazarus or mse) to create and test an application running locally, and
then define "split points" and use some kind of standard communication
protocol (i. e. rpc) library to split it up appropriately - just with
some definitions, without really writing any additional code.
While the perfect splitting points of course depend on the application
you are doing, one "simple" way would be to provide a server based
application with a browser based remote GUI. (This might usually be
called "Rich Internet Application".)
I know that mse features a tool called "ifi" to convert a normal "local"
application into a remote-controlled application with a remote GUI.
Here, the GUI part is an application created by mse/fpc, and able to
connect to any backend application done with "ifi". Building on top of
"ifi" it might be possible do have the "ifi-Browser" run in a
Web-Browser using WebAssembly. ms like a very viable goal to me.
More information about the fpc-pascal