Compile-Time Validation## +24 ## Compile-Time Validation ## ALON WOLF ## 20 24 September 15 - 20 ## Software Validation "Confirmation, through the provision of objective evidence, that the requirements for a specific makes it harder, but when you do it blows your whole leg off. — Bjarne Stroustrup — AZ QUOTES ## Compile-time Validation ## Player ## Mech Suit or Swim? ## Choose between safety and flexibility KEYNOTE: report_error(error); } } ## Runtime Error Reporting Runtime error reporting can be used with compile-time error detection void foo() { constexpr auto error = detect_error(); if constexpr (error)0 码力 | 137 页 | 1.70 MB | 1 年前3
Expressive Compile-time Parsers## +23 ## Expressive Compile-time Parsers ## ALON WOLF ## 20 23 October 01 - 06 ## About me ## • Started learning C++ in high school with a passion for making video games ## Microsoft Visual C++ 2010  ## Dive Into Compile-Time Parsers Libraries Use Cases Implementation Techniques Reflection  for safety-critical applications that we deliver to our /p2_1.jpg) Errors have a high cost, so rigorous testing is a must We use increasingly more compile-time polymorphism and checks Question: how to test if something is compilable in a rigorous way? Imagine0 码力 | 50 页 | 1.37 MB | 1 年前3
Go Compile Time Instrumentationopportunity to work on brand new navigation stack. I’m also founding member of the OpenTelemetry Go compile-time instrumentation project https://github.com/open-telemetry/community/blob/main/projects/go-co0 码力 | 27 页 | 1.74 MB | 1 年前3
The Zig Programming Language 0.4.0 Documentation- Labeled for - inline for - if - defer - unreachable - Basics - At Compile-Time - noreturn - Functions - Pass-by-value Parameters - Function Reflection - Implicit Cast: Options - Implicit Cast: Error Unions - Implicit Cast: Compile-Time Known Numerical Bias - Implicit Cast: unions and enums - Implicit Cast: Zero Bit Pointers to Zero Bit Types ## • comptime Introducing the Compile-Time Concept ☑ Compile-Time Parameters ☑ Compile-Time Variables ☑ Compile-Time Expressions • Generic Data Structures • Case Study:0 码力 | 207 页 | 5.29 MB | 2 年前3
Just-In-Time Compilation: The Next Big ThingMODIFICATIONS ** COMPILE-TIME ## EXISTING SOLUTIONS - C++ CLING • RUNTIME COMPILED C++ / EASY-JIT • [[CLANG::JIT]] - P1609R1 • D MIXIN** • OTHERS ## * WITH CUSTOM MODIFICATIONS ** COMPILE-TIME ## CLING (MEMOIZATION) * MAXIMAL OPTIMIZATIONS NOT EVEN POSSIBLE AT BUILD TIME ## D MIXIN - COMPILE-TIME JIT ## D MIXIN - COMPILE-TIME JIT template GenStruct(string Name, string M1) { const char[] GenStruct = = "struct" ~ Name ~ "int" ~ M1 ~ ""; } ## D MIXIN - COMPILE-TIME JIT template GenStruct(string Name, string M1) { const char[] GenStruct = "struct" ~ Name ~ "int"0 码力 | 222 页 | 5.45 MB | 1 年前3
The Zig Programming Language 0.5.0 Documentation- Labeled for - inline for - if - defer - unreachable - Basics - At Compile-Time - noreturn - Functions - Pass-by-value Parameters - Function Reflection - Errors Arrays and Pointers ■ Implicit Cast: Options ■ Implicit Cast: Error Unions ■ Implicit Cast: Compile-Time Known Numbers ■ Implicit Cast: unions and enums ■ Implicit Cast: Zero Bit Types ■ Implicit Semantics • usingnamespace • comptime Introducing the Compile-Time Concept ☑ Compile-Time Parameters ☑ Compile-Time Variables ☑ Compile-Time Expressions • Generic Data Structures Case Study:0 码力 | 224 页 | 5.80 MB | 2 年前3
Kotlin language specification
Version 1.9-rfc+0.1supports a variant of gradual types in the form of flexible types. Even more so, in some cases the compile-time type of a value may change depending on the control- and data-flow of the program; a feature usually and use-site variance as follows. - It is a compile-time error to use a covariant type argument in a contravariant type parameter - It is a compile-time error to use a contravariant type argument in representation of LUB for particular two types. The detection and handling of such situations (compile-time error or leaving the type in some kind of denormalized state) is implementation-defined. In some0 码力 | 310 页 | 1.39 MB | 2 年前3
共 541 条
- 1
- 2
- 3
- 4
- 5
- 6
- 55
相关搜索词
Compile-Time ValidationMitziconstexprtemplate metaprogrammingC++23Expressive Compile-time ParsersMetaprogramming TricksAPI DesignReflectionDomain Specific LanguagesC++compile-timecollision detectionreal-time softwarerobotics algorithmsC++20lookup tablesconfiguration fusesUSB descriptors运行时单元测试框架编译时构造静态测试GoogleTest库C++14OpenTelemetryGo compile-time instrumentationinstrumentationASTcontext propagation内存分配错误处理指针数组文档Just-In-Time CompilationJITAhead-of-Time CompilationAOTPerformance Optimization内存管理分配器接口堆分配失败递归所有权与生命周期Kotlinmultiplatformtype systemsyntaxcompatibility













