GithubHelp home page GithubHelp logo

Comments (6)

kelson42 avatar kelson42 commented on August 24, 2024

@mgautierfr feedback?

from libkiwix.

kelson42 avatar kelson42 commented on August 24, 2024

I do not see any pc file. See OlafvdSpek/ctemplate#15 (comment)

from libkiwix.

mgautierfr avatar mgautierfr commented on August 24, 2024

Possible replacement for ctpp2 could be :

from libkiwix.

kelson42 avatar kelson42 commented on August 24, 2024

@mgautierfr How much would you value the boost dependency? and the price of adding it?

from libkiwix.

mgautierfr avatar mgautierfr commented on August 24, 2024

I think that boost could be a real win globally.
It is pretty easy to install (most of boost library are header only and it is the closest things we have from a standard).

There is a number of libraries that could be use in kiwix or libzim projects :

Of course we do not have to move to all those libraries in the same time (nor at all). We must evaluate pros and cons of each libraries and change if it is usefull.
But, all those libraries would potentially remove ctpp2, libmicrohttpd, curl, googletest; remove a lot of code in kiwix-lib and libzim about threading, filesystem operation, uuid, endian ... allow us to add the logging and localization features.


To come back on the subject, I think we can move to a templating using mustache (kainjow/Mustache).
It adds no dependency and if we decide to move crow after, the templating system is the same.

There is also this template system https://github.com/no1msd/mstch but it needs boost.

from libkiwix.

kelson42 avatar kelson42 commented on August 24, 2024

@kelson42 Without having studied in details like you, my overall feeling is that boost is worth it now for the kiwix-lib. Regarding the templating system, I trust you to find something performant, maintained & well used, portable and relatively simple (also the txt template "language").

That said I'm pretty much against moving out from libmicrohttpd with an all-in-one solution because:

  • I'm in general against all-in-one approach
  • It is a lot of work to remove libmicrohhtpd, without clear added value for the users
  • We have currently other priorities
  • I was already thinking adopting https://github.com/nghttp2 (from Aria2 Tatsuhiro) later next year.

from libkiwix.

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.