microsoft / cpprestsdk

The C++ REST SDK is a Microsoft project for cloud-based client-server communication in native code using a modern asynchronous C++ API design. This project aims to help C++ developers connect to and interact with services.
Other
7.91k stars 1.64k forks source link

integration with simdjson #1223

Open thanh-nguyen-dang opened 4 years ago

thanh-nguyen-dang commented 4 years ago

Should we consider to use Simdjson to improve the speed of parsing json? https://github.com/lemire/simdjson

lemire commented 4 years ago

Ping @jkeiser and @EgorBo

jkeiser commented 4 years ago

My one worry would be backwards compatibility with super old machines--simdjson doesn't have a non-simd version yet. Which it really should!

Other than that, it is an excellent idea :)

Dimon4eg commented 4 years ago

Simdjson does not allow to build json, it only parses.

lemire commented 4 years ago

@Dimon4eg

Correct: simdjson is a parser, not a framework.

lemire commented 4 years ago

simdjson doesn't have a non-simd version yet.

It should be said that @jkeiser wrote such a version. The simdjson library runs everywhere.

jkeiser commented 4 years ago

Yep! My concern earlier is gone now.