C++ in the Developing World, Why it Mattersparticular is that it is part of a rich history. • Like a movie that is part of a series of movies where the story just couldn’t fit in one movie length e.g Lord Of the Rings, The Star Wars Story, etc.0 码力 | 8 页 | 177.52 KB | 6 月前3
The Surprising Costs of Voidreturn types. Likewise for a number of other verbs (make, convert, count, etc.)32Picture from the movie The Boy (found by my lovely wife Za) 333435 Yes, it’s Java code36 When I wrote this slide, I could0 码力 | 189 页 | 60.10 MB | 6 月前3
generic graph librariesinstead of themselves ndex Adiaceney List <0> Bipartite Graphs ndex Adijacency List <0> Actor-movie | Library provided Index Adjacency List 悦.5 忆 刁.Ji 了 Six Degrees of Kevin Bacon (IMDB version)0 码力 | 76 页 | 6.59 MB | 6 月前3
Back to Basics: Concurrencyour first mechanism for concurrent programming 37 Concurrent Programming Reference to American movie Jerry Maguire in which actor Tom Cruise yells “Show me the money” loudly into the phone to win0 码力 | 141 页 | 6.02 MB | 6 月前3
Back to Basics: Move Semanticsdictionary_t dictionary; if (!db.is_open()) return dictionary_t(); // ... Fill in thousands of entries from database ... return dictionary; }6 David Olsen — Back to Basics: Move Semantics — CppCon 2020 #includedictionary_t dictionary; if (!db.is_open()) return dictionary_t(); // ... Fill in thousands of entries from database ... return dictionary; }7 David Olsen — Back to Basics: Move Semantics — CppCon 2020 #include dictionary_t dictionary; if (!db.is_open()) return dictionary_t(); // ... Fill in thousands of entries from database ... return dictionary; } void business_logic() { dictionary_t dictionary; dictionary = buil 0 码力 | 142 页 | 1.02 MB | 6 月前3
Beyond Compilation Databases to Support C++ Modules: Build DatabasesCan also be generated by ninja itself with ninja -t compdb ○ Other tools like bear can extract a database from a build via tracing ● Generally available at the same time as the build instructions (Makefile response files) ■ These files are referenced by but not necessarily present with the compilation database ○ Visibility of modules ■ Just because we have A.mod doesn’t mean anything can use it ● Might can be known by tooling 22Build Databases: Translation Units ● This is where existing compile database entries start showing up ○ Object (uniqueness constraint) ○ Source file ○ Work directory ○ Arguments0 码力 | 31 页 | 585.05 KB | 6 月前3
C++20's • How did we implement them in MSVC? • Part V: Time Zones • Overview of [time.zone] • IANA database challenges • Part VI: Conclusion7 Part I: Development Process8 Development Process • Implemented Time Zones ([time.zone]) • chrono now includes an interface for accessing the IANA time zone database. • This functionality requires several new types to be added to the library: • tzdb • tzdb_list 2:00 3:00 UTC America/ New York43 tzdb • This is a type that stores data from the time zone database. • Specifically, it contains data members: • string version; • vector0 码力 | 55 页 | 8.67 MB | 6 月前3
C++20 镶 SQLlanguage v It matches the capabilities of a relational database v Very widely used. You will be able to find all sorts of information about itExample Database Customers id INTEGER PRIMARY KEY name TEXT JOIN customers ON customers.id = customerid WHERE price > ?;SQL Library Options u Traditional database library with strings u Domain specific language u Object Relational MappingTraditional Library Strings u What people think about first u Many of these are written by the database team itself u Allows full power of the database, may have extensions u Lots of information available u Vulnerable to sql0 码力 | 46 页 | 775.02 KB | 6 月前3
Performance Matterssearch. gle glegle gle gle gle found 8,000,000 similar images Take a picture Add it to the database Send results Find similar pictures Send it to Ogle The Prototype� � � � � found 8,000,000 ░░░░░░░░░░▓▓▌▐ ▌ ▐█▓░░░░░░░░░░░░░░░░░░░░░░░░░░██▐ ▌█▓▌░░░░░░░░░░░░░░░░░░░░░░░░░░░▓█▐Searching database... found 4 results: catisgumpy.bmp funisawful.bmp catdoesnotlikefun.bmp from_dad.bmp OGLE Speedup Results � � � �gle gle found 8,000,000 similar images Take a picture Add it to the database Send results Find similar pictures Send it to Ogle gle glegle gle found 8,000,000 similar0 码力 | 197 页 | 11.90 MB | 6 月前3
Conan 2.0 Documentation17 (continued from previous page) core.cache:storage_path: Absolute path where the packages and database are stored core.download:download_cache: Define path to a file download cache core.download:parallel: and perform the most typical operations, like installing a package, updating the package manager database or checking if a package is installed. By default, when you invoke them they will not try to install before installing them. If the parameter update is True it will try to update the package manager database before checking and installing. Its behaviour is affected by the value of tools.system. package_manager:mode0 码力 | 652 页 | 4.00 MB | 1 年前3
共 108 条
- 1
- 2
- 3
- 4
- 5
- 6
- 11













