Hello Qian.

> 1. the download seems rather big. Does the cheerpx 
approach include an entire OS? 

Almost. It downloads the container built using dockerfile 
https://github.com/wangyenshu/FriCAS-in-Browser/blob/main/Dockerfile. 
Cheerpx can load ext2 images. Also I have to split that image into pieces 
so that it can be hosted on github pages. (the split script is in 
https://github.com/wangyenshu/FriCAS-in-Browser/blob/main/build.sh.) There 
file index.html 
<https://github.com/wangyenshu/FriCAS-in-Browser/blob/main/index.html> has 
the script to glue them.

> 2. have you tried other lisps? Like SBCL? 
No.

> 3. you are using fricas0-1.3.10. I can try to update fricas0 
to latest version. 

Thanks. You can modify the dockerfile and the cx.run parameter in 
index.html to do that.

Currently, cheerpx only support x86 binaries. And I heard that most browser 
has 2GB memory limit for WebAssembly. These are two difficulties for this 
method. I initially try to port sagemath to WebAssembly using the same 
manner. But I failed due to the 2GB limit. Maybe there are methods to 
bypass that, like storing disks in Indexdb rather than in memory. I haven't 
tried that. Another thing to mention is that several sagemath components 
are successfully ported to WebAssembly in this manner, like Singular CAS 
<https://wangyenshu.github.io/Singular-in-Browser/>.

Best,
Yanshu Wang

On Tuesday, January 20, 2026 at 7:20:59 PM UTC+8 oldk1331 wrote:

> Now I can confirm integration works on my side.
>
> This is an interesting project, so a few more questions:
>
> 1. the download seems rather big. Does the cheerpx
> approach include an entire OS?
>
> 2. have you tried other lisps? Like SBCL?
>
> 3. you are using fricas0-1.3.10. I can try to update fricas0
> to latest version.
>
> - Best,
> - Qian
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"FriCAS - computer algebra system" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion visit 
https://groups.google.com/d/msgid/fricas-devel/6c560927-12b5-4fd1-a6f8-2acec0596032n%40googlegroups.com.

Reply via email to