[Pas2js] JS Sync/Async Limitations

Michael Van Canneyt michael at freepascal.org
Thu Feb 21 22:36:05 CET 2019



On Thu, 21 Feb 2019, Michael Schnell wrote:

>> Every call that is asynchronous in the browser can be more or less emulated
>> using a thread in a native app, to have the same "async" logic.
>>
>
> That's frustrating, as IMHO a long time goal (from an application
> programmer's POV) should be to do a project and just define which parts of
> it should run on the server and which parts should run in the browser,
> being able to adapt the used modules to a given environment.

I think this is neither realistic nor desirable.

I don't want my database code to run in the browser.

Michael.


More information about the Pas2js mailing list