Coder Social home page Coder Social logo

Splitting C++ REST SDK about cpprestsdk HOT 4 OPEN

microsoft avatar microsoft commented on September 23, 2024
Splitting C++ REST SDK

from cpprestsdk.

Comments (4)

ras0219-msft avatar ras0219-msft commented on September 23, 2024

This is a really interesting idea, but it would be a large restructuring of the project so we need to be careful and ensure it's the right thing to do.

As an experiment, adding macros to selectively disable parts of the library might be an interesting approach (we currently have a CPPREST_EXCLUDE_WEBSOCKETS macro which disables websockets; this also removes the need for Boost and OpenSSL on Windows).

from cpprestsdk.

 avatar commented on September 23, 2024

+1

I only need PPLX. It would be good if it could be split from the cpprestsdk project

from cpprestsdk.

cmazakas avatar cmazakas commented on September 23, 2024

I was actually looking into making the cross-platform port of the PPL stand-alone. ras, you mention that it would require a large restructuring of the code. Is it not simply possible to copy the pplx directory and then create a new CMakeLists.txt file from that?

This section of the PPL is actually pretty useful and really should be available to everyone because there's no good libraries out there that seem to match what MS has created here.

from cpprestsdk.

jason-ha avatar jason-ha commented on September 23, 2024

I have project with the same needs. My project also needed narrow character width support on Windows. I tackled the latter first and have completed infrastructure to isolate components include pplx and json. Please see #1204. In CMake you may depend on cpprest_json and/or cpprest_pplx.
Note: I have not tested out referencing both in my project yet, but it should play out just fine.

from cpprestsdk.

Related Issues (20)

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.