Git Product home page Git Product logo

Comments (5)

EisenbergEffect avatar EisenbergEffect commented on May 14, 2024 1

I think AOT can play a role, but it might be easier if it can be based on a known abstraction pattern. For example DOM.appendChild(parent, child) can be implemented to actually work at runtime without any AOT, but it's also possible to have an AOT process convert this into parent.appendChild(child) with 100% accuracy. It could also be converted to any other API such as parent.add(child) or child.appendTo(parent) or whatever the target API supports. But having the DOM APIs as known, distinguishable operations, enables us to get it working today without any AOT and later, reliably build an AOT mechanism to produce slightly more optimized code.

from aurelia.

fkleuver avatar fkleuver commented on May 14, 2024

You think AOT could play a role here? Replace HTML-specific api calls with the appropriate compatible other UI api calls? Or maybe have separate plugin packages instead and try to keep templating free of HTML as much as possible?

from aurelia.

fkleuver avatar fkleuver commented on May 14, 2024

Agree, the DOM api is actually a great marker api for the AOT to optimize. Note to self: use it more :)

from aurelia.

EisenbergEffect avatar EisenbergEffect commented on May 14, 2024

Things have changed a bit, but do you all think we can close this now that we've factored things out to separate rendering?

from aurelia.

bigopon avatar bigopon commented on May 14, 2024

Yes. Its good for now

from aurelia.

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.