Code Monkey home page Code Monkey logo

ojc's People

Contributors

noahp avatar ohler55 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

ojc's Issues

Some possible leaks in the unit tests?

Interesting library! it seems very thorough, thanks for publishing it (documentation is very thorough, too!).

I noticed there are a few leaks detected by AddressSanitizer when executing the unit tests, see attached patch (sorry for the zip, it's what github permits ๐Ÿ˜ž ). I think it's just due to not freeing the objects generated in the tests (eg some missing calls to ojc_destroy()) but I wasn't sure. The command I used (documented in the patch) is:

CFLAGS="-fsanitize=leak -fsanitize=address -fsanitize=undefined" make test

0001-Support-injecting-CFLAGS-from-env.zip

Need a comparison with other C JSON libraries

There are several C libraries for JSON parsing which are relatively or very popular, even here on GitHub (e.g. json-c, cJSON, janson). It would help if you could post a comparison of the foci, strengths and weaknesses of these other libraries vis-a-vis oj. It could be a Wiki page or a README section.

Now, it's true that the best comparison would be some third-party surveying multiple libraries impartially, but - it is also meaningful to read library authors' explanations of why they "rolled their own" rather than using an existing library; and what they see as the main differences.

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.