 A Crash Course in Calendars, Dates, Time, and Time ZonesAgenda  Compile-Time Rational Numbers  Durations  Clocks  Time Points  Dates  Time Zones A Crash Course in Calendars, Dates, Time, and Time ZonesAgenda  Compile-Time Rational Numbers  Durations  Clocks  Time Points  Dates  Time Zones- 4 Agenda  Compile-Time Rational Numbers  Durations  Clocks  Time Points  Dates Dates  Time Zones5 Compile-Time Rational Numbers  Defined in -  Work with rational numbers at compile time  Always normalized representation  Needed for durations in the - library6 library6 Compile-Time Rational Numbers  Define a rational number: using r1 = ratio<1, 60>; // Represents 1/60  Retrieve numerator and denominator intmax_t num { r1::num }; intmax_t den { r1::den }; 0 码力 | 43 页 | 551.60 KB | 6 月前3
 Visualize Time Enabled Data using ArcGIS Qt (C++) and ToolkitGela Malek Pour gmalekpour@esri.com Visualize Time Enabled Data using ArcGIS Qt (C++) and ToolkitAbout Esri • We build mapping technology that our customers use to solve the world’s most complex challenges around the worldPurpose of this talk • Showcase a quick way to create a desktop app to visualize time enabled data • Setup the development environment using Esri templates • Use the ArcGIS toolkit to feature layer that include hurricane data as features • Each feature has a specific start time and end time in the feature table • We will use these start and end date values to draw and clear features0 码力 | 10 页 | 734.09 KB | 6 月前3 Visualize Time Enabled Data using ArcGIS Qt (C++) and ToolkitGela Malek Pour gmalekpour@esri.com Visualize Time Enabled Data using ArcGIS Qt (C++) and ToolkitAbout Esri • We build mapping technology that our customers use to solve the world’s most complex challenges around the worldPurpose of this talk • Showcase a quick way to create a desktop app to visualize time enabled data • Setup the development environment using Esri templates • Use the ArcGIS toolkit to feature layer that include hurricane data as features • Each feature has a specific start time and end time in the feature table • We will use these start and end date values to draw and clear features0 码力 | 10 页 | 734.09 KB | 6 月前3
 whats new in visual studio☑️�Just My Code debugging Demo C++20 in action Thu, Oct 28 – 10:30am C++20’s whats new in visual studio☑️�Just My Code debugging Demo C++20 in action Thu, Oct 28 – 10:30am C++20’s- Calendars and Time Zones in MSVC Miya Natsuhara – `Online _4 Tue, Oct 26 – 10:30am Documentation in The Era of Concepts 40 45 50 47 27 Series1 Open C++ File 2.4x faster 1 2 0 0.5 1 1.5 2 2.5 2.02 0.82 Series1 IntelliSense Ready* 1.9x faster *) Colorization + Member List 1 2 0 1 2 3 4 5 6 5.42 2.84 Series1 Open Member faster Unreal Engine 4.27.1 IntelliSense Ready 18x faster Learn more at http://aka.ms/18xfaster Link time 28x faster 5x faster 18x faster 1 2 3 0.00 100.00 200.00 300.00 400.00 500.00 600.00 0 码力 | 42 页 | 19.02 MB | 6 月前3
 基于 Rust Arrow Flight 的物联网和时序数据传输及转换工具 霍琳贺自 我 介 绍 T D e n g i n e t a o s X R u s t 使 用 TDengine: 时序数据库 TDengine 是一款开源、云原生的时序数据库( Time Series Database ),专为物联网、工业互联网、金融、 IT 运维监控等场景设计并优化,具有极强的弹性伸缩能力。同时它还带有内建的缓存、流式计算、数据订阅等 系统功能,能大幅减少系统设 与上下游应用的关系 TDengine = Time-Series Database + Caching + Data Subscription + Stream Processing Shell: Command Line Interface High Performance, Cloud Native Simplified Solution for Time-Series Data TDengine0 码力 | 29 页 | 2.26 MB | 1 年前3 基于 Rust Arrow Flight 的物联网和时序数据传输及转换工具 霍琳贺自 我 介 绍 T D e n g i n e t a o s X R u s t 使 用 TDengine: 时序数据库 TDengine 是一款开源、云原生的时序数据库( Time Series Database ),专为物联网、工业互联网、金融、 IT 运维监控等场景设计并优化,具有极强的弹性伸缩能力。同时它还带有内建的缓存、流式计算、数据订阅等 系统功能,能大幅减少系统设 与上下游应用的关系 TDengine = Time-Series Database + Caching + Data Subscription + Stream Processing Shell: Command Line Interface High Performance, Cloud Native Simplified Solution for Time-Series Data TDengine0 码力 | 29 页 | 2.26 MB | 1 年前3
 C++20: An (Almost) Complete OverviewnumberOfValues) { for (int i { startValue }; i < startValue + numberOfValues; ++i) { time_t t { system_clock::to_time_t(system_clock::now()) }; cout << std::ctime(&t); co_yield i; } } int main() Concepts  Named requirements to constrain template parameters  Predicates evaluated at compile time21 Concepts  Example of a concept definition: template C++20: An (Almost) Complete OverviewnumberOfValues) { for (int i { startValue }; i < startValue + numberOfValues; ++i) { time_t t { system_clock::to_time_t(system_clock::now()) }; cout << std::ctime(&t); co_yield i; } } int main() Concepts  Named requirements to constrain template parameters  Predicates evaluated at compile time21 Concepts  Example of a concept definition: template- concept Incrementable = requires(T atomic_shared_ptr - head; // in C++11: remove "atomic_" and use special // functions every time you touch head public: class reference { shared_ptr - p; - }; auto find(T 0 码力 | 85 页 | 512.18 KB | 6 月前3
 使用硬件加速Tokio - 戴翔the evaluation scenario 1 2 3 4 5 6 7 8 0.1 1 10 100 MPSC Throughput Benchmark Series1 Series2 Series3 Series4 Number of Producer Cores Throughput / Relative Value DLB Tokio Crossb eam Std DLB-Assist0 码力 | 17 页 | 1.66 MB | 1 年前3 使用硬件加速Tokio - 戴翔the evaluation scenario 1 2 3 4 5 6 7 8 0.1 1 10 100 MPSC Throughput Benchmark Series1 Series2 Series3 Series4 Number of Producer Cores Throughput / Relative Value DLB Tokio Crossb eam Std DLB-Assist0 码力 | 17 页 | 1.66 MB | 1 年前3
 THE FIRST EXPLORATION OF PROJECT SPARROWapproach for Hyper-Converged Infrastructure & Edge Computing" will be divided into two series: "ARM + xPython + Rust + Lua + GraalVM + …" and "RISC-V + xPython0 码力 | 68 页 | 13.14 MB | 1 年前3 THE FIRST EXPLORATION OF PROJECT SPARROWapproach for Hyper-Converged Infrastructure & Edge Computing" will be divided into two series: "ARM + xPython + Rust + Lua + GraalVM + …" and "RISC-V + xPython0 码力 | 68 页 | 13.14 MB | 1 年前3
 C++20's 12 C++20’s C++20's 12 C++20’s- Calendars and Time Zones in MSVC Miya Natsuhara ("MEE-yuh Not-soo-HAR-uh") Miya.Natsuhara@microsoft.com Software Engineer, Visual C++ LibrariesWelcome to CppCon 2021! Join Seconds • What are leap seconds? • 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 • Code Review Videos! • clocks, clock_cast, leap_seconds (https://youtu.be/WX3OmVu4lAs) • time_zone and time_zone_link (https://youtu.be/MODhhr7m-5s) • system_clock::now(), file_clock, leap second awareness 0 码力 | 55 页 | 8.67 MB | 6 月前3
 C++20 STL Features: 1 Year of Development on GitHubin_range(T t) noexcept;11 constexpr Algorithms12 C++20 constexpr Everything • constexpr enables compile-time programming without arcane templates • Algorithms: • P0202R3 constexpr C++20 STL Features: 1 Year of Development on GitHubin_range(T t) noexcept;11 constexpr Algorithms12 C++20 constexpr Everything • constexpr enables compile-time programming without arcane templates • Algorithms: • P0202R3 constexpr- And exchange() Example: lookup tables • Everyone uses lookup tables • Arrays are maximally space-efficient, very time-efficient • Sorted arrays: binary_search, lower_bound, equal_range • Now you can use constexpr algorithms More advanced: constexpr sort your lookup tables14 static_assert is_sorted • Compile-time evaluation = no run-time codegen, even in debug builds #include - #include - #include 0 码力 | 45 页 | 702.09 KB | 6 月前3
 Working with Asynchrony Generically: A Tour of C++ ExecutorsRECEIVER OPERATION STATE connect start …operation completes… … and notifies receiver … time passes… Implementation details of some algorithm; e.g., then. then(sender, fn) -> sender22 SHAPE state start33 OPERATIONS EXECUTE OUTSIDE-IN Receiver Work is scheduled on the thread pool Time passes…. A thread in the pool picks up the work and executes it34 OPERATIONS EXECUTE OUTSIDE-IN Senders65 NO DETACHED COMPUTATION ALLOWED schedul e schedul e then then then schedul e when_al l time set_valu e set_valu e detached computation set_erro r set_erro r A thread in the thread0 码力 | 121 页 | 7.73 MB | 6 月前3 Working with Asynchrony Generically: A Tour of C++ ExecutorsRECEIVER OPERATION STATE connect start …operation completes… … and notifies receiver … time passes… Implementation details of some algorithm; e.g., then. then(sender, fn) -> sender22 SHAPE state start33 OPERATIONS EXECUTE OUTSIDE-IN Receiver Work is scheduled on the thread pool Time passes…. A thread in the pool picks up the work and executes it34 OPERATIONS EXECUTE OUTSIDE-IN Senders65 NO DETACHED COMPUTATION ALLOWED schedul e schedul e then then then schedul e when_al l time set_valu e set_valu e detached computation set_erro r set_erro r A thread in the thread0 码力 | 121 页 | 7.73 MB | 6 月前3
共 29 条
- 1
- 2
- 3
相关搜索词













