 C++/Rust Interop: Using Bridges in Practice1 - New Rust Extends a C++ Project 5Large existing C++ Library New Plugin Existing Plugins 6C++ Header Class with Methods C++ Source Uses extern “C” from Rust Unsafe Rust C ABI Safe Rust hpp cpp noexcept = default; }; hpp 8#[no_mangle] extern "C" fn robot_joint_new() -> *mut Joint { Box::into_raw(Box::new(Joint::new())) } #[no_mangle] extern "C" fn robot_joint_free(joint: *mut Joint) { unsafe robot_joint hpp 10namespace robot_joint::rust { struct Joint; } // namespace robot_joint::rust extern "C" { extern void robot_joint_free(robot_joint::rust::Joint*); } template C++/Rust Interop: Using Bridges in Practice1 - New Rust Extends a C++ Project 5Large existing C++ Library New Plugin Existing Plugins 6C++ Header Class with Methods C++ Source Uses extern “C” from Rust Unsafe Rust C ABI Safe Rust hpp cpp noexcept = default; }; hpp 8#[no_mangle] extern "C" fn robot_joint_new() -> *mut Joint { Box::into_raw(Box::new(Joint::new())) } #[no_mangle] extern "C" fn robot_joint_free(joint: *mut Joint) { unsafe robot_joint hpp 10namespace robot_joint::rust { struct Joint; } // namespace robot_joint::rust extern "C" { extern void robot_joint_free(robot_joint::rust::Joint*); } template- struct deleter_from_fn 0 码力 | 45 页 | 724.12 KB | 6 月前3
 The C HandbookPreface The C Handbook Conclusion 2 Preface The C Handbook follows the 80/20 rule: learn in 20% of the time the 80% of a topic. In particular, the goal is to get you up to speed quickly with C. This bootcamp at bootcamp.dev. You can reach me on Twitter @flaviocopes. Enjoy! 3 The C Handbook 1. Introduction to C 2. Variables and types 2.1. Integer numbers 2.2. Unsigned integers 2.3. The problem 20.3. Macros 20.4. If defined 20.5. Predefined symbolic constants you can use 1. Introduction to C C is probably the most widely known programming language. It is used as the reference language for0 码力 | 60 页 | 908.68 KB | 1 年前3 The C HandbookPreface The C Handbook Conclusion 2 Preface The C Handbook follows the 80/20 rule: learn in 20% of the time the 80% of a topic. In particular, the goal is to get you up to speed quickly with C. This bootcamp at bootcamp.dev. You can reach me on Twitter @flaviocopes. Enjoy! 3 The C Handbook 1. Introduction to C 2. Variables and types 2.1. Integer numbers 2.2. Unsigned integers 2.3. The problem 20.3. Macros 20.4. If defined 20.5. Predefined symbolic constants you can use 1. Introduction to C C is probably the most widely known programming language. It is used as the reference language for0 码力 | 60 页 | 908.68 KB | 1 年前3
 This is C++fast safeThis isUndefined Behavior!This isErroneous behavior for uninitialized reads P2795R5 (C++26) - Thomas Köppeint a; // not zero initializedThis isint a{void}; // hypothetical syntaxint a{void}; object, but its runtime value is not fully formedThis isThis isUndefined Behavior!Is C++ safe?Modern C++: move semantics rvalue reference syntaxThis isWidget::Widget( std::list This is C++fast safeThis isUndefined Behavior!This isErroneous behavior for uninitialized reads P2795R5 (C++26) - Thomas Köppeint a; // not zero initializedThis isint a{void}; // hypothetical syntaxint a{void}; object, but its runtime value is not fully formedThis isThis isUndefined Behavior!Is C++ safe?Modern C++: move semantics rvalue reference syntaxThis isWidget::Widget( std::list- && member functions to “fake” something when moved From */ ~~~~ };Summary ✦What is C++? ✦Uncompromised performance. ✦Achieved by: living with UB, accepting a safety trade-off 0 码力 | 67 页 | 8.25 MB | 6 月前3
 C++ Memory Model: from C++11 to C++23Memory Model C++11 – C++23About Me: alex.dathskovsky@speedata.io www.linkedin.com/in/alexdathskovsky https://www.cppnext.comAlex Dathskovsky | alex.dathskovsky@speedata.io | www.linkedin.com/in/a Dathskovsky | alex.dathskovsky@speedata.io | www.linkedin.com/in/alexdathskovsky From F. Yazdanpanah, C. Alvarez-Martinez, D. Jimenez-Gonzalez and Y. Etsion, "Hybrid Dataflow/von-Neumann Architectures semanticscholar.org/paper/RISC-V-Reward:-Building-Out-of-Order-Processo rs-in-Zekany-Tan/f7f6d27f334604c3c85f0b8d21d2a9b4df22a983Alex Dathskovsky | alex.dathskovsky@speedata.io | www.linkedin.com/in/alexdathskovsky0 码力 | 112 页 | 5.17 MB | 6 月前3 C++ Memory Model: from C++11 to C++23Memory Model C++11 – C++23About Me: alex.dathskovsky@speedata.io www.linkedin.com/in/alexdathskovsky https://www.cppnext.comAlex Dathskovsky | alex.dathskovsky@speedata.io | www.linkedin.com/in/a Dathskovsky | alex.dathskovsky@speedata.io | www.linkedin.com/in/alexdathskovsky From F. Yazdanpanah, C. Alvarez-Martinez, D. Jimenez-Gonzalez and Y. Etsion, "Hybrid Dataflow/von-Neumann Architectures semanticscholar.org/paper/RISC-V-Reward:-Building-Out-of-Order-Processo rs-in-Zekany-Tan/f7f6d27f334604c3c85f0b8d21d2a9b4df22a983Alex Dathskovsky | alex.dathskovsky@speedata.io | www.linkedin.com/in/alexdathskovsky0 码力 | 112 页 | 5.17 MB | 6 月前3
 Contracts for C++Timur Doumler CppCon 18 September 2024 Contracts for C++ The Swan, The Pike, and The Crab – Fable by Ivan Krylov, 18143 Copyright (c) Timur Doumler | @timur_audio | https://timur (w: w.index() == i); // postcondition assertion Proposal: add contract assertions to C++4 Copyright (c) Timur Doumler | @timur_audio | https://timur.audio Widget getWidget (index i) == i); // postcondition assertion Proposal: add contract assertions to C++ Function contract assertions5 Copyright (c) Timur Doumler | @timur_audio | https://timur.audio Widget getWidget0 码力 | 181 页 | 4.44 MB | 6 月前3 Contracts for C++Timur Doumler CppCon 18 September 2024 Contracts for C++ The Swan, The Pike, and The Crab – Fable by Ivan Krylov, 18143 Copyright (c) Timur Doumler | @timur_audio | https://timur (w: w.index() == i); // postcondition assertion Proposal: add contract assertions to C++4 Copyright (c) Timur Doumler | @timur_audio | https://timur.audio Widget getWidget (index i) == i); // postcondition assertion Proposal: add contract assertions to C++ Function contract assertions5 Copyright (c) Timur Doumler | @timur_audio | https://timur.audio Widget getWidget0 码力 | 181 页 | 4.44 MB | 6 月前3
 Irksome C++Irksome C++ Copyright © 2022-2024 by Walter E. Brown. All rights reserved. 1 ACCELERATED EFFECTIVE INEFFECTIVE IRKSOME C++ Walter E. Brown, Ph.D. < webrown.cpp @ gmail.com > Edi$on: 2024-09-19 cs); M.S., Ph.D. (computer science). • Professional programmer for over 60 years, programming in C++ since 1982. • Experienced in industry, academia, consul,ng, and research: � Founded a Computer Science lectured interna?onally. � Re?red from the Scien?fic Compu?ng Division at Fermilab, with specialty in C++ programming and in-house consul?ng. • Not dead! ☺ — s,ll doing training & consul,ng. (Email me!)0 码力 | 15 页 | 3.03 MB | 6 月前3 Irksome C++Irksome C++ Copyright © 2022-2024 by Walter E. Brown. All rights reserved. 1 ACCELERATED EFFECTIVE INEFFECTIVE IRKSOME C++ Walter E. Brown, Ph.D. < webrown.cpp @ gmail.com > Edi$on: 2024-09-19 cs); M.S., Ph.D. (computer science). • Professional programmer for over 60 years, programming in C++ since 1982. • Experienced in industry, academia, consul,ng, and research: � Founded a Computer Science lectured interna?onally. � Re?red from the Scien?fic Compu?ng Division at Fermilab, with specialty in C++ programming and in-house consul?ng. • Not dead! ☺ — s,ll doing training & consul,ng. (Email me!)0 码力 | 15 页 | 3.03 MB | 6 月前3
 COMPOSABLE C++COMPOSABLE C++ COMPOSABLE C++ BEN DEANE / BEN DEANE / CPPCON 2021 CPPCON 2021 @ben_deane @ben_deaneIN THIS TALK IN THIS TALK 1. Composability de�ned 2. Composable types 3. Objects and patterns 4 request A B C t f f f t tCASE STUDY: LOGGING CASE STUDY: LOGGING From "Easy to Use, Hard to Misuse: Declarative Style in C++" (CppCon 2018) From "Easy to Use, Hard to Misuse: Declarative Style in C++" (CppCon };"FUNCTIONAL PROGRAMMING" "FUNCTIONAL PROGRAMMING" Functional programming in C++? Polarising? Functional programming in C++? Polarising? Higher order functions that take functions as arguments and return0 码力 | 124 页 | 8.28 MB | 6 月前3 COMPOSABLE C++COMPOSABLE C++ COMPOSABLE C++ BEN DEANE / BEN DEANE / CPPCON 2021 CPPCON 2021 @ben_deane @ben_deaneIN THIS TALK IN THIS TALK 1. Composability de�ned 2. Composable types 3. Objects and patterns 4 request A B C t f f f t tCASE STUDY: LOGGING CASE STUDY: LOGGING From "Easy to Use, Hard to Misuse: Declarative Style in C++" (CppCon 2018) From "Easy to Use, Hard to Misuse: Declarative Style in C++" (CppCon };"FUNCTIONAL PROGRAMMING" "FUNCTIONAL PROGRAMMING" Functional programming in C++? Polarising? Functional programming in C++? Polarising? Higher order functions that take functions as arguments and return0 码力 | 124 页 | 8.28 MB | 6 月前3
 Exceptional C++Victor Ciura Principal Engineer CppCon 2021 October 25th Exceptional C++2021 Victor Ciura | @ciura_victor - Exceptional C++ X Abstract When writing code we usually focus our attention on the Ciura | @ciura_victor - Exceptional C++ 3 About me Advanced Installer Clang Power Tools @ciura_victor2021 Victor Ciura | @ciura_victor - Exceptional C++ 4 Online presentation Q & A Use the Exceptional C++ 5 Exceptional C++ When writing code we usually focus our attention on the happy paths - that’s where the interesting stuff happens2021 Victor Ciura | @ciura_victor - Exceptional C++ 60 码力 | 113 页 | 24.39 MB | 6 月前3 Exceptional C++Victor Ciura Principal Engineer CppCon 2021 October 25th Exceptional C++2021 Victor Ciura | @ciura_victor - Exceptional C++ X Abstract When writing code we usually focus our attention on the Ciura | @ciura_victor - Exceptional C++ 3 About me Advanced Installer Clang Power Tools @ciura_victor2021 Victor Ciura | @ciura_victor - Exceptional C++ 4 Online presentation Q & A Use the Exceptional C++ 5 Exceptional C++ When writing code we usually focus our attention on the happy paths - that’s where the interesting stuff happens2021 Victor Ciura | @ciura_victor - Exceptional C++ 60 码力 | 113 页 | 24.39 MB | 6 月前3
 C++ in the CloudC++ in the Cloud One NIF at a Time with Elixir Sakshi Verma | Senior Software Engineerhttps://www.linkedin.com/in/sakverma Functional, concurrent language built for scalability. Ideal for managing Here comes the NIFshttps://www.linkedin.com/in/sakverma Native Implemented Functions (NIFs) Call C/C++ from Elixir Compiles to a shared library Loaded into Erlang VM at startuphttps://www.linkedin com/in/sakverma Why Write a NIF? Erlang/Elixir ≠ CPU-heavy tasks. 01 Direct hardware interaction. 02 Interop with graphics libraries. 03 Existing Native libraries too complex to rewrite. 04https://www0 码力 | 14 页 | 609.86 KB | 6 月前3 C++ in the CloudC++ in the Cloud One NIF at a Time with Elixir Sakshi Verma | Senior Software Engineerhttps://www.linkedin.com/in/sakverma Functional, concurrent language built for scalability. Ideal for managing Here comes the NIFshttps://www.linkedin.com/in/sakverma Native Implemented Functions (NIFs) Call C/C++ from Elixir Compiles to a shared library Loaded into Erlang VM at startuphttps://www.linkedin com/in/sakverma Why Write a NIF? Erlang/Elixir ≠ CPU-heavy tasks. 01 Direct hardware interaction. 02 Interop with graphics libraries. 03 Existing Native libraries too complex to rewrite. 04https://www0 码力 | 14 页 | 609.86 KB | 6 月前3
 Concurrency Patterns in C0 码力 | 20 页 | 1.35 MB | 6 月前3 Concurrency Patterns in C0 码力 | 20 页 | 1.35 MB | 6 月前3
共 1000 条
- 1
- 2
- 3
- 4
- 5
- 6
- 100














 
  
  
 