Giter Club home page Giter Club logo

Comments (6)

solson avatar solson commented on August 20, 2024

@eddyb pointed out on IRC that this would destroy stack traces.

I think we should have a debug/release mode concept for Miri. (@eddyb called it fast mode and tracking mode.)

from miri.

eddyb avatar eddyb commented on August 20, 2024

Well, what I mean is that you can run both in succession: if you rarely expect failures, and it's measurably faster not to track debug information, you can re-run on failure to get stack traces, taint analysis and other goodies.
That is, for deterministic use. But one interesting thing is that you can have a third mode: recording only non-determinism (i.e. I/O). Like rr, but specialized to whatever miri will support.

from miri.

solson avatar solson commented on August 20, 2024

@eddyb Interesting idea. Determinism allows for some neat features.

from miri.

RalfJung avatar RalfJung commented on August 20, 2024

@oli-obk is this still a useful ticket to keep open?

from miri.

oli-obk avatar oli-obk commented on August 20, 2024

I think the taint analysis and leak analysis would still be helpful. Leak analysis is pretty easy, we just need to make allocate take a Span and put that Span into the Allocation extra data.

Taint analysis seems harder, since you would have to find a way to store the tag information in integers and other Immediate values.

from miri.

oli-obk avatar oli-obk commented on August 20, 2024

With all the perf projects that @saethlin come up with and carried through, and all the reproducability issues we have with rerunning, I think we can just close this and keep focussing on finding other ways to speed up miri.

from miri.

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.