I believe that wasm is the future, because you don't have to install 
anything and computations are done in the browser client, they do not 
require ressources from a server (except for the initial download of the 
wasm file). Giac/Xcas does that since many years now, (initially it was a 
request for Geogebra), for example here is the integral from another topic 
in a single URL (you can also embed it in an email from Xcas web interface, 
and it's certainly possible to do the same for other communication channels)
[url=https://www-fourier.univ-grenoble-alpes.fr/%7eparisse/xcasfr.html#exec&filename=%40session&python=1&radian=1&cas=0,0,f%3A%3Dintegrate(x%2F(x%5E5%2Ba%5E5))&cas=0,200,simplify(diff(f))&]session
 
Xcas[/url]
BTW, I presented that to Bill Allombert a few years ago at a PARI meeting 
in Grenoble, and he decided to support wasm target for PARI.

On Thursday, June 22, 2023 at 11:41:43 PM UTC+2 William Stein wrote:

> On Thu, Jun 22, 2023 at 2:15 PM Michael Orlitzky <mic...@orlitzky.com> 
> wrote:
>
>> On Thu, 2023-06-22 at 13:56 -0700, William Stein wrote:
>> > 
>> > (5) provide a WebAssembly option
>> > 
>> > WebAssembly is typically about half the speed as native code (at best), 
>> but
>> > it is highly cross platform and self contained.   WebAssembly is 
>> difficult
>> > mainly when you have to deal with the OS somehow (e.g., filesystem,
>> > networking, etc.), and fortunately, a lot of the code in Sage is math
>> > libraries that support a non-threaded mode, so are particularly easy to
>> > port to WebAssembly.  A good example is Pari, which is one of "sage's
>> > non-Python dependencies".
>> > 
>>
>> We always wind up back here. Are we building mathematics software, or
>> signing on to run the world's most experimental linux distribution?
>>
>
>  WebAssembly is not an experimental linux distribution, and it has very 
> little overlap with linux distributions.  The WebAssembly ecosystem is 
> built from the ground up, primarily on the LLVM (and Rust) toolchain, and 
> an ecosystem of free software that is much more liberally licensed (and 
> smaller) than what is typically in Linux distributions.    WebAssembly 
> is neither better nor worse than Linux distributions; instead it is a 
> different thing that solves different problems.   
>
> To pre-empt another potential misconception, WebAssembly is more helpful 
> for the needs of Sage than Java VM's because C/C++ can directly target 
> WebAssembly.
>
> William
>

-- 
You received this message because you are subscribed to the Google Groups 
"sage-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-devel+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sage-devel/667a39ae-dee3-49f1-931b-7ef9f5435e49n%40googlegroups.com.

Reply via email to