ChimeraFlutter / Chimera-Flutter-Code-Push

This SDK helps Flutter implement Code Push(热更新). Official Blog: https://medium.com/@chimerapush
Other
182 stars 37 forks source link
code-push flutter

中文版

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

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

chimerapush@qq.com