Coder Social home page Coder Social logo

Comments (10)

houqp avatar houqp commented on June 24, 2024

This is a much more cleaner than before! Great job 👍

from koreader-base.

houqp avatar houqp commented on June 24, 2024

BTW, that also makes koreader a lot easier to port to other platform because we can load different input and output module on demand :)

from koreader-base.

houqp avatar houqp commented on June 24, 2024

@hwhw , is the dynamic loading already implemented in your branch? I cannot find it in the source :(

from koreader-base.

hwhw avatar hwhw commented on June 24, 2024

Sorry, not yet. I spent the last 1.5 weeks on vacation, will see that I
upload that soon. ~2 days, I guess. But I'll weed through this starting
today, so I might be faster...

from koreader-base.

hwhw avatar hwhw commented on June 24, 2024

I've created a current version here:
https://github.com/hwhw/koreader-base/tree/dynlib

I still need to introduce Kobo-related pre-configuration for the
toolchain (armhf settings), -jN autoconfig and ccache.

Next step then is to adapt KPV and Koreader to the new layout.

When that is done, I will start to migrate some parts over to use
LuaJITs FFI - as an example first. I think stuff like kobolight.c,
util.c are easy targets. Freetype font rendering will also benefit
greatly from speed increase. And then there's the input handling, I
guess we can get much faster reaction there. But that is FFI matter, I
concentrate on the external library stuff first.

from koreader-base.

hwhw avatar hwhw commented on June 24, 2024

OK, I've added the missing Kobo-related parts, -jN autoconfig and ccache. Still left is the integration with the actual applications. Plus one or another little oversight that is probably still left.

from koreader-base.

hwhw avatar hwhw commented on June 24, 2024

It does run the reader now. Looks good so far. Would still need integration into the builds of koreader and KPV, but I think I've fleshed out the remaining rough edges.

from koreader-base.

houqp avatar houqp commented on June 24, 2024

awesome! I will work on it this weekend and hopefully to convert one or two modules into pure lua module with FFI

from koreader-base.

houqp avatar houqp commented on June 24, 2024

just for reminder, we should pull the jit profiler from koreader/koreader#204 to koreader-base after reorganization is done.

another todo:
merge with changes: koreader/koreader#201 (comment)

from koreader-base.

hwhw avatar hwhw commented on June 24, 2024

This has been done!

from koreader-base.

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.