New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support msvc 2015 update 2 #105
Comments
I don't know msvc, but it may not support the label extensions which are the heart of the fast JSON parser. This codebase is becoming more and more embedded focused, I'm of the growing opinion that it should only be used for that, and that a Rust telehash library should be established for traditional systems programming, C is very difficult to secure in general purpose/userland apps. |
How easily are you able to use rust as a c++ library? Also, how is the build chain tooling? |
#if defined(_WIN32)
#include <stdint.h>
#define u_char uint8_t
#define u_int uint32_t
#define __attribute__(A) /* do nothing */
#endif
|
Investigating https://github.com/zserge/jsmn as a js0n.c replacement. |
A c++ project would be much better off creating a native c++ implementation using other c++ libs for crypto, networking, eventing, etc. I'd advise against trying to adapt this c codebase to that environment, it's due for a cleanup pass this summer that is optimizing further towards embedded usage and some coming protocol simplifications.
|
Poking around to see what is needed.
Errors encountered
[0 ... 255] = &&l_bad,
https://stackoverflow.com/questions/30388594/what-is-this-0-255-syntax-in-cThe text was updated successfully, but these errors were encountered: