Giter Site home page Giter Site logo

Comments (5)

regular-citizen avatar regular-citizen commented on July 19, 2024 1

HiGHS is genuinely an impressive piece of software. We use it to power all the coordinate computations for our proof graphical assistant, and it massively outperforms all the pure rust alternatives.

The integration was worth it, but the fact that HiGHS requires a completely different toolchain to compile caused a lot of headaches and required all the above hacks.

from highs.

lovasoa avatar lovasoa commented on July 19, 2024

Hi, and thanks for opening this !

Is there an advantage to the technique you describe over compiling for the wasm32-unknown-emscripten directly ? Wouldn't it be easier than compiling highs with emscripten separately ?

from highs.

NickHu avatar NickHu commented on July 19, 2024

The reason is that the Rust + web story forces you to compile for wasm32-unknown-unknown. Pretty much every Rust project that compiles to WASM to run in the browser is like this.

See https://rustwasm.github.io/docs/book/reference/add-wasm-support-to-crate.html for more information.

from highs.

jajhall avatar jajhall commented on July 19, 2024

Happy to hear that you've chicaned around this @regular-citizen, but all Greek to me! Great that we've got folk in the rust community to bring HiGHS into play.

from highs.

lovasoa avatar lovasoa commented on July 19, 2024

Just a note since this issue seems to have an audience: the easiest way to run highs on the web is probably highs-js : https://github.com/lovasoa/highs-js

It's highs compiled to wasm and distributed on npm as a js library

from highs.

Related Issues (11)

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.