GithubHelp home page GithubHelp logo

构建内核 about miraicp HOT 5 CLOSED

nambers avatar nambers commented on June 15, 2024
构建内核

from miraicp.

Comments (5)

Nambers avatar Nambers commented on June 15, 2024

原本计划是把CPP_lib,PluginMain以及Config移动到Core使用idea打包到jar包被主程序动态引入,但是遇到了如下几个问题:

  1. C++部分jni需要取得CPP_lib类,但是CPP_lib类在依赖里无法取到,计划暂时变更为CPP_lib类中被jni部分调用的写在主程序,CPP_lib调用jni部分写在Core
  2. PluginMain类中数据缓存以及其他若干错误
  3. Config可正常转移
  4. 动态引用需要每个方法都写一次,计划暂时变更为用gradle引入(compile)本地jar包

from miraicp.

Agoines avatar Agoines commented on June 15, 2024

冒昧问一下,这个库是用来干嘛的

from miraicp.

Nambers avatar Nambers commented on June 15, 2024

冒昧问一下,这个库是用来干嘛的

嗯?这个内核计划?
我计划就相当于构建个mirai-console和mirai-core的关系
主要是目前miraicp-plugin和miraicp-loader有大量重复代码
且这个库如果实现可以实现热更新,就相当于mcl那种,打开自动下载库更新,而不需要每次来github上下载替换一些文件
不过目前精力不够只能先放一会

from miraicp.

Agoines avatar Agoines commented on June 15, 2024

冒昧问一下,这个库是用来干嘛的

嗯?这个内核计划?
我计划就相当于构建个mirai-console和mirai-core的关系
主要是目前miraicp-plugin和miraicp-loader有大量重复代码
且这个库如果实现可以实现热更新,就相当于mcl那种,打开自动下载库更新,而不需要每次来github上下载替换一些文件
不过目前精力不够只能先放一会

明白了,

from miraicp.

Nambers avatar Nambers commented on June 15, 2024

使用gradle子项目的方法实现

from miraicp.

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.