Harbor Deep Dive - Open source trusted cloud native registryHarbor Deep Dive Open source trusted cloud native registry Henry Zhang, Chief Architect, VMware R&D China Steven Zou, Staff Engineer, VMware R&D China Nov. 2018 goharbor.io Initiated by VMware GitHub Repo: https://github.com/go harbor/harbor/ Apache 2.0 license An open source trusted cloud native registry project HARBOR More integrations in future Harbor Project History Harbor Community0 码力 | 15 页 | 8.40 MB | 1 年前3
NativeScript 101@RobLauer Senior Manager, Developer Relations What can we cover today? oRise of "JavaScript-driven Native" oIntro to NativeScript oNativeScript core concepts o“Hello World” oExtending with plugins oDebugging Premium experience Device APIs Best of both? Compromises. Mobile Web - PWA Hybrid Native “1st Gen” X-Plat Native Binary Choice Nativ e Hybri d ? Best experience ? One platform at a time ? Fast experience Binary Choice Native JavaScript ? Fast to market ? Best experience Native App "JavaScript-Driven Native" Native UI driven by JavaScript Native UI JavaScript-to-Native bridge JavaScript Engine0 码力 | 90 页 | 40.11 MB | 1 年前3
Making Libraries Consumable for Non-C++ DevelopersInterface Generator (SWIG) – 1996 JVM – Java Native Interface (JNI) – 1997 .NET – Platform Invoke (P/Invoke), COM interop, C++/CLI – 2002, 2005 JVM – Java Native Access (JNA) – 2007 Go – cgo – permit C in The types char and wchar_t do not indicate encoding. The size of wchar_t: • Windows, sizeof(wchar_t) == 2 • Non-Windows, sizeof(wchar_t) == 4 std::basic_stringhas memory implications. More b); Switch .NET call from nint DoTheThing(BlubT b); to nint DoTheThing(in BlubT b); Result: Windows – everything passed. Linux – everything failed. Why?Making Libraries Consumable for Non-C++ 0 码力 | 29 页 | 1.21 MB | 6 月前3
C++高性能并行编程与优化 - 课件 - 11 现代 CMake 进阶指南cmake -B build 免去了先创建 build 目录再切换进去再指定源码目录的麻烦。 • cmake --build build 统一了不同平台( Linux 上会调用 make , Windows 上调用 devenv.exe ) • 结论:从现在开始,如果在命令行操作 cmake ,请使用更方便的 -B 和 --build 命令。 // 在源码目录用 -B 直接创建 build ) -G 选项:指定要用的生成器 • 众所周知, CMake 是一个跨平台的构建系统,可以从 CMakeLists.txt 生成不同类型的构建系 统(比如 Linux 的 make , Windows 的 MSBuild ),从而让构建规则可以只写一份,跨平 台使用。 • 过去的软件(例如 TBB )要跨平台,只好 Makefile 的构建规则写一份, MSBuild 也写一份 。 • make 、 MSBuild )称为本地构建系统( native buildsystem )。 • 负责从 CMakeLists.txt 生成本地构建系统构建规则文件的,称为生成器( generator )。 -G 选项:指定要用的生成器 • Linux 系统上的 CMake 默认用是 Unix Makefiles 生成器; Windows 系统默认是 Visual Studio 20190 码力 | 166 页 | 6.54 MB | 1 年前3
C++高性能并行编程与优化 - 课件 - 04 从汇编角度看编译器优化结业典礼:总结所学知识与优秀作业点评 I 硬件要求: 64 位( 32 位时代过去了) 至少 2 核 4 线程(并行课…) 英伟达家显卡( GPU 专题) 软件要求: Visual Studio 2019 ( Windows 用户) GCC 9 及以上( Linux 用户) CMake 3.12 及以上(跨平台作业) Git 2.x (作业上传到 GitHub ) CUDA Toolkit 10.0 以上( GPU 两个 int32 可以合并为一个 int64 四个 int32 可以合并为一个 __m128 八个 int32 可以合并为一个 __m256 让编译器自动检测当前硬件支持的指令集 -march=native 让编译器自动判断当前硬件支 持的指令。老师的电脑支持 AVX 指令集,所 以他用了。不过注意这样编译出的程序,可能 放到别人不支持 AVX 的电脑上没法运行。 数组清零:自动调用标准库的 memset 循环中不变的常量挪到外面来 9. 对小循环体用 #pragma unroll 10. -ffast-math 和 -march=native CMake 中开启 -O3 CMake 中开启 -fopenmp CMake 中开启 -ffast-math 和 -march=native 感谢观看! by 彭于斌( github@archibate ) 录播: https://space.bilibili0 码力 | 108 页 | 9.47 MB | 1 年前3
ClickHouse: настоящее и будущееBetter memory usage • No issues with GC and Java heap 2. Может запускаться встроенным в clickhouse-server • Нет необходимости в отдельном сервисе Разработчик: Alexander Sapin. Данные необходимо вставлять конфигурации шардов и реплик. • Перешардирование данных осуществляется вручную • Решение — cloud-native ClickHouse. Кстати, а что это значит? Сложность разделения ресурсов 21 • Разделение CPU и IO0 码力 | 32 页 | 2.62 MB | 1 年前3
C++20 STL Features: 1 Year of Development on GitHub• Released VS 2019 16.5, 16.6, 16.7, 16.8 Preview 3 • GitHub migration ongoing • Build system (native desktop), test suite, issue database • Goal: Complete C++20 in 2020 • No promises, but we're working microsoft.github.io/STL/ • C++20: wg21.link/n4861 • Questions • GitHub Discussions tab • Discord server (see README)38 Bonus Slides39 Compile-Time/Run-Time Hybrid template_NODISCARD 0 码力 | 45 页 | 702.09 KB | 6 月前3
C++20's satellites’ atomic clocks. No file_clock Unspecified Typically: Jan 1, 1970 on POSIX; Jan 1, 1601 on Windows Used to create the time_point system used for file_time_type Unspecified * Coordinated Universal leap second story in MSVC… It’s complicated.32 The leap second story in MSVC… • Previously, the Windows operating system did not keep track of leap seconds. • Leap seconds were not tracked individually it was 1 second behind and make the adjustment then. • BUT as of Windows 10 October 2018 update and Windows Server 2019, Windows OS will now track leap seconds! • HOWEVER, they will not track leap0 码力 | 55 页 | 8.67 MB | 6 月前3
Introduction to Mobile UI Test AutomationPlatform version Device name Application path https://appium.io/slate/en/master/?javascript#appium-server-capabilities Demo Ready To Execute Note: Device name App path $ npm run e2e -- --runType=android23 testing on pull requests Numbers > 10 real test devices > 15 build machines (10 OS X, 4 Linux, 3 Windows) > 2000 tests > 600 CI jobs > 8000 images Links Repository: www.github.com/NativeScript/na0 码力 | 41 页 | 4.75 MB | 1 年前3
陈东 - 利用Rust重塑移动应用开发-230618CTO AccountLabs Rust China Conf 2023 2023 移动应用开发有那些选择? 1. Native 2. Flutter 3. React Native ? 利用 Rust 重塑移动应用开发 React Native is an open-source JavaScript framework, designed for building apps support (Javascript better than Dart) 利用 Rust 重塑移动应用开发 跨平台开发的优势和局 限性 Cons: - Performance - Native feature utilize - Existing Codebase 跨平台开发到到底 应该跨什么? UI or Logic ? 利用 Rust 重塑移动应用开发 Rust 在移动端应 platforms. Share Logic 利用 Rust 重塑移动应用开发 Keystone App is a mobile application developed with React native. Due to some computationally intensive tasks, using Javascript is very poor. Therefore, we plan0 码力 | 22 页 | 2.10 MB | 1 年前3
共 39 条
- 1
- 2
- 3
- 4













