Re: GLPSOL in webassemby faster than native ?

2020-09-21 Thread Andrew Makhorin
On Mon, 2020-09-21 at 16:09 +0200, Domingo Alvarez Duarte wrote: > Hello Andrew ! > > Are you saying that floating point calculations are moreĀ  > efficient/precise in webassembly ? No. I meant that due to floating-point computations running the same computer program with the same data as a rule

Re: Try experimental GMPL extensions online

2020-09-21 Thread Domingo Alvarez Duarte
Hello Karl ! Thank you for reporting it ! It was an assertion with side effects that I missed on my previous review, here is the fix https://github.com/mingodad/GLPK/commit/0f925bfc17540e771c1bbcd83f233f8fdc772752 , I also updated the online https://meimporta.eu/myglpk-ext. One thing still

GLPSOL in webassemby faster than native ?

2020-09-21 Thread Domingo Alvarez Duarte
Hello ! I'm a bit lost here, I did some changes to GLPK/GMPL here https://github.com/mingodad/GLPK/tree/local-set-param and compiled it to webassembly and made it availlable here https://meimporta.eu/myglpk-ext/ then a user (Karl) pointed out that it was segfaulting when using the "--cuts"

Re: GLPSOL in webassemby faster than native ?

2020-09-21 Thread Andrew Makhorin
> Does someone can give a possible explanation ? floating-point computations

Re: GLPSOL in webassemby faster than native ?

2020-09-21 Thread Domingo Alvarez Duarte
Hello Andrew ! Are you saying that floating point calculations are more efficient/precise in webassembly ? Cheers ! On 21/9/20 15:08, Andrew Makhorin wrote: Does someone can give a possible explanation ? floating-point computations