Giter Site home page Giter Site logo

Win7 problem + fix about chess HOT 3 CLOSED

rwbc avatar rwbc commented on May 23, 2024
Win7 problem + fix

from chess.

Comments (3)

mhonert avatar mhonert commented on May 23, 2024

Hi Guenther,

thanks for trying out my chess engine and for providing the Win7 fix!
It seems that the earliest version which supports GetSystemTimePreciseAsFileTime is Windows 8.

I benchmarked several WebAssembly runtimes and WAVM was the fastest.
With the default backend, Wasmer is around 4 times slower than WAVM.
By using the --backend llvm option with Wasmer, performance increases, but is still around 30% slower than WAVM.
I'm not sure how many ELO points this translates to.

But for Windows 7 users the best option right now is to use Wasmer with the "--backend llvm" line, e.g.
wasmer.exe run --backend llvm engine.wasm

For the next release I will add a note for Windows 7 users to the release page.

Best regards,
Martin

from chess.

rwbc avatar rwbc commented on May 23, 2024

Martin, thanks for the quick answer and for the backend speedup hint :)

from chess.

mhonert avatar mhonert commented on May 23, 2024

The workaround is now documented in the Wiki and the release page contains a note for Windows 7 users, which links to the Wiki.

If the performance difference between WAVM and Wasmer becomes smaller in the future, I will probably switch out the bundled runtime.

from chess.

Related Issues (3)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.