Skip to content
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

Open
fire opened this issue Apr 16, 2016 · 5 comments
Open

Support msvc 2015 update 2 #105

fire opened this issue Apr 16, 2016 · 5 comments

Comments

@fire
Copy link

fire commented Apr 16, 2016

Poking around to see what is needed.

Errors encountered

@quartzjer
Copy link
Member

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.

@fire
Copy link
Author

fire commented Apr 16, 2016

How easily are you able to use rust as a c++ library? Also, how is the build chain tooling?

@fire
Copy link
Author

fire commented Apr 16, 2016

  • Cmake file seems to work
  • chacha.c seems to compile with:
#if defined(_WIN32)
#include <stdint.h>
#define u_char uint8_t
#define u_int uint32_t
#define __attribute__(A) /* do nothing */
#endif
  • js0n.c still having problems compiling

@fire
Copy link
Author

fire commented Apr 16, 2016

Investigating https://github.com/zserge/jsmn as a js0n.c replacement.

@quartzjer
Copy link
Member

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants