Comments (10)
This is a much more cleaner than before! Great job 👍
from koreader-base.
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.
@hwhw , is the dynamic loading already implemented in your branch? I cannot find it in the source :(
from koreader-base.
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.
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.
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.
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.
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.
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.
This has been done!
from koreader-base.
Related Issues (20)
- SDL: Disables screensaver HOT 8
- czmq: kindle build fails HOT 6
- Add SDL2 library HOT 3
- Is it doable/reasonable to add opencv? HOT 3
- add functions to save images to file. HOT 8
- Pocketbook: Make distinction between NTX and Allwinner boards HOT 12
- Android: remove versioning from soname HOT 12
- sdcv update broke mac CI HOT 12
- Are those two lines necessary? HOT 2
- SDL: do something with SDL_GL_GetDrawableSize
- button-listen doesn't seem to work on reMarkable 1 HOT 3
- Stressful PDF corpus
- Clobbering of slots in MT protocol handling HOT 12
- blitbuffer paintRect and fill alpha values HOT 5
- koreader cannot build without network access (seeking feedback for PR) HOT 20
- lunasvg compile error with gcc-13.1.0 HOT 6
- Gentoo zlib mirror link no longer available HOT 8
- build fails for folder with spaces HOT 2
- curl fails to build with autoconf 2.72 HOT 3
- macOS Github workflow HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from koreader-base.