THE NETWORKINGTS FROM SCRATCH: IO Objects
I/O Objects T H E N E T W O R K I N G T S F R O M S C R A T C H Robert Leahy - rleahy@rleahy.caNetworking TS & Asio ISO C++ Networking is blocked on Executors (P0443) Target for Networking is composed asynchronous operations depend on those guarantees being honored transitively 6I/O Objects “I/O objects” provide a handle to low level asynchronous functionality within the framework of the Networking one or more I/O objects) is a useful pattern 19Service Named Type Requirement Service objects own completion handlers thereby breaking the potential ownership cycle Service objects are owned by an0 码力 | 35 页 | 900.82 KB | 5 月前3Object Introspection: A Revolutionary Memory Profiler for C++ Objects
std::string Bar std::stringObject Introspection (OI) Goals • Byte level memory footprint analysis for objects • Complete object type hierarchies • Dynamic allocations and containers • Optimised, production (Cumulative) Feature folly::small_vector414132 8 2.359 10 0 88 25315061 • 2800 nested objects of type ‘FooBar’ were analysed. Top of the list: • UnusedSz (cumulative) = (10 - 2.359) * 8 * 4141321 Example 2 • 1000 objects of type ‘FooBar’ were sampled and introspectedApplied Example 2 • 1000 objects of type ‘FooBar’ were sampled and introspectedApplied Example 2 • 1000 objects of type ‘FooBar’ 0 码力 | 62 页 | 2.24 MB | 5 月前3Creating a Sender/Receiver HTTP Server
com © 2024 Bloomberg Finance L.P. All rights reserved. • Create a basic HTTP server. • Allow a single-threaded server handling multiple clients. • Use the sender/receiver asynchronous framework.0 码力 | 8 页 | 2.19 MB | 5 月前3Modern C++ Tutorial: C++11/14/17/20 On the Fly
course, you can use Makefile to compile the above code: C = gcc CXX = clang++ SOURCE_C = foo.c OBJECTS_C = foo.o SOURCE_CXX = 1.1.cpp TARGET = 1.1 LDFLAGS_COMMON = -std=c++2a 12 Further Readings Readings CHAPTER 02: LANGUAGE USABILITY ENHANCEMENTS all: $(C) -c $(SOURCE_C) $(CXX) $(SOURCE_CXX) $(OBJECTS_C) $(LDFLAGS_COMMON) -o $(TARGET) clean: rm -rf *.o $(TARGET) Note: Indentation in Makefile is language feature, the most common one is when the object is initialized. In traditional C++, different objects have different initialization methods, such as ordinary arrays, PODs (Plain Old Data, i.e. classes0 码力 | 92 页 | 1.79 MB | 1 年前3Conan 1.41 Documentation
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 87 8.4 Running conan_server . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 92 9 Developing Windows, Linux, OSX, FreeBSD, Solaris, and others, and it can target any platform, including desktop, server, and cross-building for embedded and bare metal devices. It integrates with other tools like Docker Community Edition for Conan, enabling developers to host their own private packages on their own server. The ConanCenter central repository contains hundreds of popular open source libraries packages,0 码力 | 835 页 | 7.10 MB | 1 年前3Conan 1.53 Documentation
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 97 8.4 Running conan_server . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 102 9 Developing Windows, Linux, OSX, FreeBSD, Solaris, and others, and it can target any platform, including desktop, server, and cross-building for embedded and bare metal devices. It integrates with other tools like Docker Community Edition for Conan, enabling developers to host their own private packages on their own server. The ConanCenter central repository contains hundreds of popular open source libraries packages,0 码力 | 953 页 | 7.64 MB | 1 年前3Conan 1.54 Documentation
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 97 8.4 Running conan_server . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 102 9 Developing Windows, Linux, OSX, FreeBSD, Solaris, and others, and it can target any platform, including desktop, server, and cross-building for embedded and bare metal devices. It integrates with other tools like Docker Community Edition for Conan, enabling developers to host their own private packages on their own server. The ConanCenter central repository contains hundreds of popular open source libraries packages,0 码力 | 953 页 | 7.65 MB | 1 年前3Conan 1.55 Documentation
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 97 8.4 Running conan_server . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 102 9 Developing Windows, Linux, OSX, FreeBSD, Solaris, and others, and it can target any platform, including desktop, server, and cross-building for embedded and bare metal devices. It integrates with other tools like Docker Community Edition for Conan, enabling developers to host their own private packages on their own server. The ConanCenter central repository contains hundreds of popular open source libraries packages,0 码力 | 963 页 | 7.67 MB | 1 年前3Conan 1.56 Documentation
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 97 8.4 Running conan_server . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 102 9 Developing Windows, Linux, OSX, FreeBSD, Solaris, and others, and it can target any platform, including desktop, server, and cross-building for embedded and bare metal devices. It integrates with other tools like Docker Community Edition for Conan, enabling developers to host their own private packages on their own server. The ConanCenter central repository contains hundreds of popular open source libraries packages,0 码力 | 963 页 | 7.67 MB | 1 年前3Conan 1.52 Documentation
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 95 8.4 Running conan_server . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 100 9 Developing Windows, Linux, OSX, FreeBSD, Solaris, and others, and it can target any platform, including desktop, server, and cross-building for embedded and bare metal devices. It integrates with other tools like Docker Community Edition for Conan, enabling developers to host their own private packages on their own server. The ConanCenter central repository contains hundreds of popular open source libraries packages,0 码力 | 943 页 | 7.62 MB | 1 年前3
共 211 条
- 1
- 2
- 3
- 4
- 5
- 6
- 22