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

2023-10-25 Thread Wayne Sherman via lazarus
On Sun, Oct 22, 2023 at 3:20 AM Michael Van Canneyt 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. Very nice.

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

2023-10-23 Thread Michael Van Canneyt via lazarus
On Sun, 22 Oct 2023, Juha Manninen via lazarus wrote: How big is the difference in performance? I guess it is very big. Ten-fold maybe? I doubt that it will be so much. Webassembly engines are highly optimized. But compilation with the webassembly binary still needs some work before we

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

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

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

[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