Re: [Lazarus] Running FPC in the browser...

2023-10-22 Thread Gustavo Enrique Jimenez via lazarus
El dom, 22 oct 2023 a las 17:52, Bart via lazarus
() escribió:
>
> On Sun, Oct 22, 2023 at 12:20 PM Michael Van Canneyt via lazarus
>  wrote:
>
>
> > Thanks to the efforts of Nikolay Nikolov, the FPC compiler can now recompile
> > itself to webassembly (the support for the goto statement made this 
> > possible).
> >
> > As a consequence, this means FPC can now be run in a browser.
>
> Incredible!
>
> --
> Bart
> --
> _


This is amazing. Congratulations to all of you. Thank you!

Gustavo
-- 
___
lazarus mailing list
lazarus@lists.lazarus-ide.org
https://lists.lazarus-ide.org/listinfo/lazarus


Re: [Lazarus] Running FPC in the browser...

2023-10-22 Thread Bart via lazarus
On Sun, Oct 22, 2023 at 12:20 PM Michael Van Canneyt via lazarus
 wrote:


> Thanks to the efforts of Nikolay Nikolov, the FPC compiler can now recompile
> itself to webassembly (the support for the goto statement made this possible).
>
> As a consequence, this means FPC can now be run in a browser.

Incredible!

-- 
Bart
-- 
___
lazarus mailing list
lazarus@lists.lazarus-ide.org
https://lists.lazarus-ide.org/listinfo/lazarus


Re: [Lazarus] Running FPC in the browser...

2023-10-22 Thread Juha Manninen via lazarus
How big is the difference in performance? I guess it is very big. Ten-fold
maybe?

You are right, for teaching programming this is a perfect tool.

Juha
-- 
___
lazarus mailing list
lazarus@lists.lazarus-ide.org
https://lists.lazarus-ide.org/listinfo/lazarus


[Lazarus] Running FPC in the browser...

2023-10-22 Thread Michael Van Canneyt via lazarus



Hello,

Thanks to the efforts of Nikolay Nikolov, the FPC compiler can now recompile
itself to webassembly (the support for the goto statement made this possible).

As a consequence, this means FPC can now be run in a browser. 
See the screenshot at


https://wiki.freepascal.org/WebAssembly#Running_in_Web_Browsers

There are still some steps to do before FPC will actually compile and link a
program, but this is in the works as well.

If you think this is just a cute geeky achievement, it is not.

Think about the possibilities: being able to work without the need for an 
installation. Just go to a webpage and start developing as you would on your 
desktop.


For teaching programming, a teacher does not need to provide anything except a
browser and still have all the possibilities he would have when using a 
desktop.

No heavy server infrastructure is needed, everything happens in the browser.

No doubt, other possibilities will come to mind.

Stay tuned for more goodies from the FPC team :-)

Michael.
--
___
lazarus mailing list
lazarus@lists.lazarus-ide.org
https://lists.lazarus-ide.org/listinfo/lazarus