Giter VIP home page Giter VIP logo

Comments (7)

ethanblake4 avatar ethanblake4 commented on August 18, 2024

The first part of doing this is covered in #53 and ethanblake4/flutter_eval#3 which I would like to have working in v0.6 (next major release).

The second part is basically some kind of auto-diffing to see what has changed since the last version. I have thought about that but it's definitely a 1.0 or post-1.0 feature.

from dart_eval.

fzyzcjy avatar fzyzcjy commented on August 18, 2024

The first part of doing this is covered in #53 and ethanblake4/flutter_eval#3 which I would like to have working in v0.6 (next major release).

Looking forward to that!

some kind of auto-diffing to see what has changed since the last version.

For a minimalist solution (which does create false positive though) - Maybe just generate bytecode for each and every code, and check equality?

from dart_eval.

ethanblake4 avatar ethanblake4 commented on August 18, 2024

For a minimalist solution (which does create false positive though) - Maybe just generate bytecode for each and every code, and check equality?

I don't really understand, can you explain more? What is it checking equality to?

from dart_eval.

fzyzcjy avatar fzyzcjy commented on August 18, 2024

Checking eq of bytecode bytes?

from dart_eval.

ethanblake4 avatar ethanblake4 commented on August 18, 2024

So you are saying, generate bytecode for 'before' and 'after' case and then just see what has changed? Unfortunately i don't think that's possible due to the way the bytecode works (even a minor change to one part of the code can cause a lot of bytecodes to change, because they can store absolute offsets for functions/jumps which get 'pushed' by all previous changes)

from dart_eval.

ethanblake4 avatar ethanblake4 commented on August 18, 2024

I will add though, it maybe should not work like that because it's also annoying for incremental compilation. Maybe we can do that then if I end up changing it

from dart_eval.

fzyzcjy avatar fzyzcjy commented on August 18, 2024

Oh I see. That is a problem

from dart_eval.

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.