[fpc-pascal] Live pascal
Michael Van Canneyt
michael at freepascal.org
Mon Feb 23 22:10:20 CET 2026
On Mon, 23 Feb 2026, Tomas Hajny via fpc-pascal wrote:
> On 2026-02-23 21:26, Michael Van Canneyt via fpc-pascal wrote:
>
> .
> .
>> No, but without knowing the cause there is little I can do...
>>
>> I use firefox only, and it has worked all through the development cycle.
>> I also use uBlock origin. I was on a linux, though I don't see how that
>> would matter.
>>
>> The good news is: I can reproduce the issue in Safari: it fails with a 'out
>> of memory'
>> So I'll do some testing on safari. First web search is not making me
>> optimistic, seems safari and wasm are not a happy couple.
>
> I can confirm that Firefox running on Linux Debian runs the site without
> issues. It might be useful to mention, that the Firefox version on my Debian
> is 140.7.0esr (standard version included with the installed distribution -
> currently on Debian 12.12), whereas the latest MS Windows version is 147.0.4.
>
> On my Linux machine, I can reproduce the issue with Seamonkey (installed from
> Debian repository available on
> http://downloads.sourceforge.net/project/ubuntuzilla/mozilla/apt). The
> information provided in the browser console is:
>
> Will-change memory consumption is too high. Budget limit is the document
> surface area multiplied by 3 (1153920 px). Occurrences of will-change over
Well, that is very limited. The memory is limited to 3Mb ?
That's ridiculous, I ask 16-32Mb at least. So of course it fails at once...
> the budget will be ignored.
> live.freepascal.org
> Instantiating of WebAssembly from pas2js.wasm failed wasm validation error:
> at offset 130: bad type
That error means the wasm engine of the browser is too old.
> pas2jsworker.js:5350:17
> p2js_loadfiles failed with code -4 , message: ZenFS is not defined
> wasmcompiler.js:3778:15
>
> Maybe this helps?
Yes, in the sense that it makes clear why it fails, but there is little I
can do if memory is so limited.
Wasm is meanwhile quite established, if seamonkey does not support it:
again, little I can do about that.
(pas2js can be compiled to Javascript, but this is quite slow)
I'll add a message to the page saying that a "recent standards"-compliant
browser is needed.
Thanks for testing this !
Michael.
More information about the fpc-pascal
mailing list