Git Product home page Git Product logo

Comments (4)

d-e-s-o avatar d-e-s-o commented on June 3, 2024

I think one way to increase sharing would be to somehow use a Cargo workspace as we have done for the crates below rust/template. However, I am not sure if nesting of workspaces is possible and how to keep the workspace up-to-date with newly added tests to begin with. So it does not sound like an appealing way to go about that to me, but at the same time it's the only thought that came to mind.

from differential-datalog.

ryzhyk avatar ryzhyk commented on June 3, 2024

#501 made significant progress towards resolving this issue. Remaining TODOs:

  • Move differential-datalog crate out of the template and into a shared location, e.g., $DDLOG_HOME, so we only need to compile it once and not for each DDlog program. This way we should be able to run more tests.
  • See if we can speed-up recompilation of large programs even more, e.g., by placing each value type in a separate module that will only be recompiled when that type changes.
  • Smarter memory allocation strategy that would allocate multiple values at once using domain-specific information from DD.

from differential-datalog.

ryzhyk avatar ryzhyk commented on June 3, 2024

More improvements in #512 and #520.

from differential-datalog.

ryzhyk avatar ryzhyk commented on June 3, 2024

It appears that a lot of remaining overhead comes from auto-derived trait implementations. So the next step would be to see if we can do better by getting DDlog to generate these trait implementations instead.

from differential-datalog.

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.