Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / lazarus / 2023-10

Running FPC in the browser...

6 messages · 5 people · –

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Michael Van Canneyt

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.

Reply by email

Gustavo Enrique Jimenez
to Bart

El dom, 22 oct 2023 a las 17:52, Bart via lazarus
() escribi?:

Show quoted text 16 lines
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

Reply by email