The Beauty and Power of Primitive C++
Power of “Primitive” C++ Bjarne Stroustrup Morgan Stanley, Columbia University www.Stroustrup.com Stroustrup - "Primitive" - CppCon 2020 1This year is different Stroustrup - "Primitive" - CppCon 2020 Observations • C++ is quite good at this • But not perfect, we’ll continue to improve it Stroustrup - "Primitive" - CppCon 2020 4 Alternative talk title: “The fun and frustrations of writing low-level code” fields cannot be known until run time • Maybe read at B, modify, and pass along to C Stroustrup - "Primitive" - CppCon 2020 5 First decide what you want aka Requirements analysis Message write read0 码力 | 53 页 | 1.03 MB | 5 月前3Agda User Manual v2.6.1.3
of arithmetical operations the type (n : Nat) -> (PrimRoot n) consisting of functions computing primitive root in modular arithmetic. Of course, a program of the above type will be more difficult to write number which is a primitive root. However, the difficulty can be compensated by the fact that the program is guaranteed to work: it cannot produce something which is not a primitive root. On a more mathematical example, a function of type (n : Nat) -> (PrimRoot n) is also a proof that every natural number has a primitive root. Prerequisites You need recent versions of the following programs to compile Agda: GHC:0 码力 | 305 页 | 375.80 KB | 1 年前3Agda User Manual v2.6.1.2
of arithmetical operations the type (n : Nat) -> (PrimRoot n) consisting of functions computing primitive root in modular arithmetic. Of course, a program of the above type will be more difficult to write number which is a primitive root. However, the difficulty can be compensated by the fact that the program is guaranteed to work: it cannot produce something which is not a primitive root. On a more mathematical example, a function of type (n : Nat) -> (PrimRoot n) is also a proof that every natural number has a primitive root. Prerequisites You need recent versions of the following programs to compile Agda: GHC:0 码力 | 304 页 | 375.60 KB | 1 年前3Agda User Manual v2.6.1.1
of arithmetical operations the type (n : Nat) -> (PrimRoot n) consisting of functions computing primitive root in modular arithmetic. Of course, a program of the above type will be more difficult to write number which is a primitive root. However, the difficulty can be compensated by the fact that the program is guaranteed to work: it cannot produce something which is not a primitive root. On a more mathematical example, a function of type (n : Nat) -> (PrimRoot n) is also a proof that every natural number has a primitive root. Prerequisites You need recent versions of the following programs to compile Agda: GHC:0 码力 | 297 页 | 375.42 KB | 1 年前3Agda User Manual v2.6.1
of arithmetical operations the type (n : Nat) -> (PrimRoot n) consisting of functions computing primitive root in modular arithmetic. Of course, a program of the above type will be more difficult to write number which is a primitive root. However, the difficulty can be compensated by the fact that the program is guaranteed to work: it cannot produce something which is not a primitive root. On a more mathematical example, a function of type (n : Nat) -> (PrimRoot n) is also a proof that every natural number has a primitive root. Prerequisites You need recent versions of the following programs to compile Agda: GHC:0 码力 | 297 页 | 375.42 KB | 1 年前3Agda User Manual v2.6.2
of arithmetical operations the type (n : Nat) -> (PrimRoot n) consisting of functions computing primitive root in modular arithmetic. Of course, a program of the above type will be more difficult to write number which is a primitive root. However, the difficulty can be compensated by the fact that the program is guaranteed to work: it cannot produce something which is not a primitive root. On a more mathematical example, a function of type (n : Nat) -> (PrimRoot n) is also a proof that every natural number has a primitive root. Installation There are several ways to install Agda: Using a released source package from0 码力 | 348 页 | 414.11 KB | 1 年前3Agda User Manual v2.6.2.2
of arithmetical operations the type (n : Nat) -> (PrimRoot n) consisting of functions computing primitive root in modular arithmetic. Of course, a program of the above type will be more difficult to write number which is a primitive root. However, the difficulty can be compensated by the fact that the program is guaranteed to work: it cannot produce something which is not a primitive root. On a more mathematical example, a function of type (n : Nat) -> (PrimRoot n) is also a proof that every natural number has a primitive root. Installation There are several ways to install Agda: Using a released source package from0 码力 | 354 页 | 433.60 KB | 1 年前3Agda User Manual v2.6.2.1
of arithmetical operations the type (n : Nat) -> (PrimRoot n) consisting of functions computing primitive root in modular arithmetic. Of course, a program of the above type will be more difficult to write number which is a primitive root. However, the difficulty can be compensated by the fact that the program is guaranteed to work: it cannot produce something which is not a primitive root. On a more mathematical example, a function of type (n : Nat) -> (PrimRoot n) is also a proof that every natural number has a primitive root. Installation There are several ways to install Agda: Using a released source package from0 码力 | 350 页 | 416.80 KB | 1 年前3Agda User Manual v2.6.3
of arithmetical operations the type (n : Nat) -> (PrimRoot n) consisting of functions computing primitive root in modular arithmetic. Of course, a program of the above type will be more difficult to write number which is a primitive root. However, the difficulty can be compensated by the fact that the program is guaranteed to work: it cannot produce something which is not a primitive root. On a more mathematical example, a function of type (n : Nat) -> (PrimRoot n) is also a proof that every natural number has a primitive root. Installation There are several ways to install Agda: Using a released source package from0 码力 | 379 页 | 354.83 KB | 1 年前3Agda User Manual v2.6.0.1
of arithmetical operations the type (n : Nat) -> (PrimRoot n) consisting of functions computing primitive root in modular arithmetic. Of course a program of the above type will be more difficult to write number which is a primitive root. However, the difficulty can be compensated by the fact that the program is guaranteed to work: it cannot produce something which is not a primitive root. On a more mathematical example, a function of type (n : Nat) -> (PrimRoot n) is also a proof that every natural number has a primitive root. Prerequisites You need recent versions of the following programs to compile Agda: GHC:0 码力 | 256 页 | 247.15 KB | 1 年前3
共 1000 条
- 1
- 2
- 3
- 4
- 5
- 6
- 100