Open fire opened 8 years ago
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.
On Apr 16, 2016, at 12:45 PM, K. S. Ernest (iFire) Lee notifications@github.com wrote:
How easily are you able to use rust as a c++ library? Also, how is the build chain tooling?
— You are receiving this because you commented. Reply to this email directly or view it on GitHub
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-c