CROSS PLATFORM PITFALLS AND HOW TO AVOID THEMCROSS-PLATFORM PITFALLS AND HOW TO AVOID THEM Erika Sweet (she/her) Microsoft C++ TeamWelcome to CppCon 2020! Visit our table at the Expo Hall https://aka.ms/cppcon/expo • Meet the Microsoft C++ Abdicating responsibility to CMake Reimplementing functionality that CMake has built-in to abstract platform and compiler specificsUse built-in CMake command line tools…. execute_process(COMMAND ${CMAKE_COMMAND} rget PUBLIC cxx_std_11) …instead of manually setting flags via CMAKE_CXX_FLAGSKeep your paths platform independent…. target_include_directories(myTarget PUBLIC $0 码力 | 67 页 | 360.44 KB | 6 月前3
Cross-Platform Floating-Point Determinism Out of the Box(Sort of) 2 3Why FP Determinism is Important?_ CppCon 2024 sixit:: 5 ✅ Same Executable Cross Platform Different Contexts ❌ ❌ 1 (Sort of) 2 3 General Sanity, Testability Distributed Simulations using the identically compiled files and run on systems that adhere to the IEEE standards. Cross platform synchronized network simulations or replays will not possible [sic].” - Most upvoted answer0 码力 | 31 页 | 3.88 MB | 6 月前3
High-Performance Cross-Platform Architecture: C++20 Innovationscareer in video games and embedded software • Started using C++ in 1995 • First cross-platform project in 1994Cross-Platform Architecture Goals • Take advantage of all platforms • Focus on the compiler classes, an illustrative example from a larger project • Project build issues • Inclusion of platform-specific header files • Concept hierarchies • Class and Function DesignOCP: The Open–Closed Principle Adding new revisions to a feature has no effect on previously-implemented revisions.What is a Platform? • A specific set of features • A feature is an abstract unit of functionality requiring implementations0 码力 | 75 页 | 581.83 KB | 6 月前3
Casdoor · An Open Source UI-first Identity Access Management (IAM) / Single-Sign-On (SSO) platform supportingOver erview view Casdoor is a UI-first Identity Access Management (IAM) / Single-Sign-On (SSO) platform based on OAuth 2.0, OIDC, SAML, and CAS. Casdoor serves both the web UI and the login requests is the official forum developed by the Casbin community. It uses Casdoor as the authentication platform and manages members. • Casnode • Source code: https://github.com/casbin/casnode Ar Archit chitectur such as built-in/admin : global administrators who have full administrative power on the Casdoor platform. • Other organizations' users, such as my-company/alice : normal users who can sign up, sign in0 码力 | 825 页 | 58.31 MB | 1 年前3
PyArmor Documentation v6.4.4. . . . . . . . . . . . . . . . . . . . . . . 13 3.5 Distributing Obfuscated Scripts To Other Platform . . . . . . . . . . . . . . . . . . . . . . . . . . . 13 3.6 Obfuscating Scripts By Other Python to Python interpreter . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27 3.21 Customizing cross protection code . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 28 i 3.22 10 Support Platfroms 83 ii 10.1 Standard Platform Names . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 84 10.2 Platform Tables . . . . . . . . . . . . . . . . . .0 码力 | 167 页 | 510.99 KB | 1 年前3
PyArmor Documentation v6.3.1against Windows, Mac OS X, and Linux. PyArmor has been used successfully with FreeBSD and embedded platform such as Raspberry Pi, Banana Pi, Orange Pi, TS-4600 / TS-7600 etc. but is not fullly tested against Packages Solve Conflicts With Other Obfuscated Libraries Distributing Obfuscated Scripts To Other Platform Obfuscating Scripts By Other Python Version Run bootstrap code in plain scripts Let Python Interpreter Work with Cython Work with PyUpdater Binding obfuscated scripts to Python interpreter Customizing cross protection code Storing runtime file license.lic to any location Register multiple pyarmor in same0 码力 | 161 页 | 124.89 KB | 1 年前3
PyArmor Documentation v6.2.7against Windows, Mac OS X, and Linux. PyArmor has been used successfully with FreeBSD and embedded platform such as Raspberry Pi, Banana Pi, Orange Pi, TS-4600 / TS-7600 etc. but is not fullly tested against Packages Solve Conflicts With Other Obfuscated Libraries Distributing Obfuscated Scripts To Other Platform Obfuscating Scripts By Other Python Version Run bootstrap code in plain scripts Let Python Interpreter Work with Cython Work with PyUpdater Binding obfuscated scripts to Python interpreter Customizing cross protection code Storing runtime file license.lic to any location Register multiple pyarmor in same0 码力 | 159 页 | 123.91 KB | 1 年前3
PyArmor Documentation v6.2.8. . . . . . . . . . . . . . . . . . . . . . . 12 3.4 Distributing Obfuscated Scripts To Other Platform . . . . . . . . . . . . . . . . . . . . . . . . . . . 13 3.5 Obfuscating Scripts By Other Python to Python interpreter . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26 3.20 Customizing cross protection code . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27 3.21 Storing 76 10 Support Platfroms 79 10.1 Standard Platform Names . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 80 10.2 Platform Tables . . . . . . . . . . . . . . . . . .0 码力 | 153 页 | 483.38 KB | 1 年前3
PyArmor Documentation v5.9.5. . . . . . . . . . . . . . . . . . . . . . . 10 3.3 Distributing Obfuscated Scripts To Other Platform . . . . . . . . . . . . . . . . . . . . . . . . . . . 10 3.4 Obfuscating Scripts By Other Version 62 10 Support Platfroms 63 10.1 Standard Platform Names . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 64 10.2 Platform Tables . . . . . . . . . . . . . . . . . . . . . . . . 69 12 The Performance of Obfuscated Scripts 73 13 The Security of PyArmor 75 13.1 Cross Protection for _pytransform . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .0 码力 | 131 页 | 428.65 KB | 1 年前3
Conan 1.26 DocumentationContinuous Integration, isolation . . . . . . . . . . . . . . . . . . . 142 11 Systems and cross building 145 11.1 Cross building . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . [EXPERIMENTAL] . . . . . . . . . . . . . . . . . . . . . . . . . . . 285 15.9 How to use Docker to create and cross-build C and C++ Conan packages . . . . . . . . . . . . . . . 286 15.10 How to reuse Python code in powerful features of Conan is that it can create and manage pre-compiled binaries for any possible platform and configuration. Using pre-compiled binaries and avoiding repeatedly building from source, save0 码力 | 669 页 | 5.51 MB | 1 年前3
共 1000 条
- 1
- 2
- 3
- 4
- 5
- 6
- 100













