Coder Social home page Coder Social logo

ANN: MatchPyCpp port to C++ about matchpy HOT 7 OPEN

hpac avatar hpac commented on June 14, 2024
ANN: MatchPyCpp port to C++

from matchpy.

Comments (7)

hbarthels avatar hbarthels commented on June 14, 2024

Thank you very much for letting us know! Are you planning to do any experiments to compare the performance of the generated C++ code to the generated Python code? I would be curious about that.

from matchpy.

Upabjojr avatar Upabjojr commented on June 14, 2024

Are you planning to do any experiments to compare the performance of the generated C++ code to the generated Python code? I would be curious about that.

At the moment I'm quite busy, I hope to get a GSoC student to port RUBI into C++.

Currently I'm not sure about the speed-up of C++, as many of the generators are solved (i.e. instead of yield value they return the array of values, performing all combinations). There are some solutions for this problem, but I would like to first wait and see whether coroutines will be added to the C++20 standard. Alternatively there are some tricks to force the usage of generators into C++.

If this problem is solved, I expect C++ to be a lot faster.

from matchpy.

MANIKTANEJA3 avatar MANIKTANEJA3 commented on June 14, 2024

@Upabjojr if the issue is still persisting and you would want a contributor to work on it I am available please let me know the pre-requisite for the same and i'd be happy to contribute.

from matchpy.

Upabjojr avatar Upabjojr commented on June 14, 2024

Are you willing to port the code to C++20?

from matchpy.

MANIKTANEJA3 avatar MANIKTANEJA3 commented on June 14, 2024

Sure I’d need guidance on the same and will have to check for the methods but am in for it

from matchpy.

MANIKTANEJA3 avatar MANIKTANEJA3 commented on June 14, 2024

from matchpy.

MANIKTANEJA3 avatar MANIKTANEJA3 commented on June 14, 2024

Also @Upabjojr I've read through your work and the implementations before starting off to work on the port. I've also read through the following repository https://github.com/luncliff/coroutine/tree/master/interface/coroutine .
Correct me if I'm wrong here ;
The steps to port the code is to pick any function create a header file for the same and then the implementation? because i saw both (.h) and (.cpp) files in SymEngine's repository.

from matchpy.

Related Issues (20)

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.