Giter Site home page Giter Site logo

xwnine / chimera-flutter-code-push Goto Github PK

View Code? Open in Web Editor NEW

This project forked from chimeraflutter/chimera-flutter-code-push

0.0 0.0 0.0 8.41 MB

This SDK helps Flutter implement Code Push(热更新). Official Blog: https://medium.com/@chimerapush

License: Other

Ruby 0.05% C++ 0.20% C 0.01% Objective-C 0.01% Kotlin 0.01% Dart 99.47% Swift 0.02% HTML 0.09% CMake 0.15%

chimera-flutter-code-push's Introduction

中文版

Chimera Flutter Code Push

​ Chimera is a Dart compiler developed by ourselves, which generates interpretable and executable bytecode to implement code push (hot update).

Look for like-minded people to join this project

​ I hope more people will participate in this project. Among many customers, the most difficult thing is to use, so I want to open up the core principles of the compiler code so that everyone can be familiar with this project and solve problems. So if you have time and are interested in developing and helping, you can join us. If the project is profitable, all people participating in the project can get cash rewards. Friends who are helpful to this project, welcome to contact us.

Advantages of our products

  • Support all pub.dev libraries, no library restrictions.
  • It does not affect the original project structure when used, as long as the code that needs hot update is generated by compiling.
  • SDK does not use JS, LUA and Apple's official sensitive API, so don't worry about being blocked.
  • You can switch this function remotely at any time as needed, or you can customize the framework that suits you to achieve hot fixes for logic problems, etc.
  • Support hot updates for all platforms (Android, IOS, Windows, Mac) released by Flutter.
  • Support Dart code obfuscation to prevent App from being decompiled.
  • Support memory detection and performance analysis.
  • As long as the compilation is passed, the App can load and execute code through the network, and easily implement WeChat applets.

Example project

​ Our open source sample project (Flutter Gallery), Flutter Gallery is Google's official sample App, it uses a lot of Dart features, and we have supported them.

Use tutorial

​ Currently we only support versions above Flutter2. The old version was simply abandoned due to lack of manpower. I believe everyone will upgrade to the Flutter2 version.

​ For tutorials, we only released video tutorials. Of course, video tutorials are not enough. Please be patient and wait for us to release more tutorials.

  1. Get to know the SDK

    https://b23.tv/B2MShU

    Supplement iOS release tutorial

    https://b23.tv/wnOHYV

  2. Flutter Gallery access to SDK super detailed tutorial

    https://b23.tv/PU8Jc9

New World

Execution performance is increased by 10 times, WebAssembly bytes are generated, and WebAssembly bytecodes are interpreted and executed on the machine to improve virtual performance.

There are two options

Solution 1: performance can be infinitely close to Dart AOT performance, but whether iOS supports TBD.

Solution 2: Performance increase 10 times execution performance, support all platforms.

Regarding performance improvement, I don't recommend having to generate WebAssembly bytecode. Determine whether bytecode needs to be generated according to the scenario (for example, there is a large amount of data calculation), or a separate thread (Isolate) can be set to support it.

It is recommended to compile a small part of Dart code to generate WebAssembly.

Participate in contribution

We still have a lot of work to do in improving and constructing supporting facilities. Everyone is welcome to participate in the development.

I need a friend who knows how to develop web. Hope to help develop the official website and website backend (hope to be more beautiful). Friends who are interested can contact me.

Email contact

[email protected]

chimera-flutter-code-push's People

Contributors

chimeraflutter avatar

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.