Go 101 (Golang 101) v1.21.0to do reflection and polymorphism. §24. Type Embedding - type extension in the Go way. §25. Type-Unsafe Pointers §26. Generics - use and read composite types §27. Reflections - the reflect standard package short warm-up duration (so great deployment experience) Some other compiled languages, such as C/C++/Rust may also have these three advantages (and they may have their respective advantages compared to Go) and composite types corresponds to one kind of types. Besides these kinds, the unsafe pointer types introduced in the unsafe standard package also belong to one kind of types in Go. So, up to now (Go 10 码力 | 610 页 | 945.17 KB | 1 年前3
Go 101 (Golang 101) v1.21.0to do reflection and polymorphism. §24. Type Embedding - type extension in the Go way. §25. Type-Unsafe Pointers §26. Generics - use and read composite types §27. Reflections - the reflect standard package short warm-up duration (so great deployment experience) Some other compiled languages, such as C/C++/Rust may also have these three advantages (and they may have their respective advantages compared to Go) and composite types corresponds to one kind of types. Besides these kinds, the unsafe pointer types introduced in the unsafe standard package ? also belong to one kind of types in Go. So, up to now (Go0 码力 | 880 页 | 833.34 KB | 1 年前3
Golang 101(Go语言101 中文版) v1.21.a编译时间的长短是开发愉悦度的一个 重要因素。 编译时间短是很多程序员喜欢Go的一个原因。 Go程序生成的二进制可执行文件常常拥有以下优点: 内存消耗少 执行速度快 启动快 很多C家族语言,比如C/C++/Rust等,也拥有上述的优点。 但它们缺少Go语言 的几个重要优点: 程序编译时间短 像动态语言一样灵活 内置并发支持 上面所有提到的优点使得Go成为一个出众的编程语言。 对于很多项目来说, Go是一个相当不错的选择。 在Go中,每个类型都有一个底层类型。规则: 一个内置类型的底层类型为它自己。 unsafe标准库包中定义的Pointer类型的底层类型是它自己。 (至少我们 可以认为是这样。事实上,关于unsafe.Pointer类型的底层类型,官方文 档中并没有清晰的说明。我们也可以认为unsafe.Pointer类型的底层类型 为*T,其中T表示一个任意类型。) unsafe.Pointer也被视为一个内置类 型。 一个无名类 在Go中,当我们谈及一个值的尺寸,如果没有 特殊说明,我们一般是指此值的直接部分的尺寸。 某个特定类别的所有类型 的值的尺寸都是一样的。因为这个原因,我们也常将一个值的尺寸说成是它的 类型的尺寸(或值尺寸)。 我们可以用unsafe标准库包中的Sizeof函数来取得任何一个值的尺寸。 Go白皮书没有规定非数值类型值的尺寸。对数值类型值的尺寸的要求已经在 基本类型和它们的字面量表示(第6章)一文中提及了。 概念:指针类型的基类型(base0 码力 | 821 页 | 956.82 KB | 1 年前3
Golang 101(Go语言101 中文版) v1.21.a编译时间的长短是开发愉悦度的一个重 要因素。 编译时间短是很多程序员喜欢Go的一个原因。 Go程序生成的二进制可执行文件常常拥有以下优点: 内存消耗少 执行速度快 启动快 很多C家族语言,比如C/C++/Rust等,也拥有上述的优点。 但它们缺少Go语言 的几个重要优点: 程序编译时间短 像动态语言一样灵活 内置并发支持 上面所有提到的优点使得Go成为一个出众的编程语言。 对于很多项目来说, Go是一个相当不错的选择。 在Go中,每个类型都有一个底层类型。规则: 一个内置类型的底层类型为它自己。 unsafe标准库包中定义的Pointer类型的底层类型是它自己。 (至少我们可 以认为是这样。事实上,关于unsafe.Pointer类型的底层类型,官方文档 中并没有清晰的说明。我们也可以认为unsafe.Pointer类型的底层类型为 *T,其中T表示一个任意类型。) unsafe.Pointer也被视为一个内置类型。 一个无名类型(必为一个组合类型)的底层类型为它自己。 在Go中,当我们谈及一个值的尺寸,如果没有特 殊说明,我们一般是指此值的直接部分的尺寸。 某个特定类别的所有类型的值 的尺寸都是一样的。因为这个原因,我们也常将一个值的尺寸说成是它的类型 的尺寸(或值尺寸)。 我们可以用unsafe标准库包中的Sizeof函数来取得任何一个值的尺寸。 Go白皮书没有规定非数值类型值的尺寸。对数值类型值的尺寸的要求已经在基 本类型和它们的字面量表示(第6章)一文中提及了。 概念:指针类型的基类型(base0 码力 | 608 页 | 1.08 MB | 1 年前3
Computer Programming with the Nim Programming Language
have a background in computer science and experience with other languages such as C++, Haskell, or Rust, the tutorials and the Nim language manual might be fully sufficient for you; thus, you may not electronics, and software development, using languages such as Pascal, Modula-2, Oberon, C, Ruby, Nim, and Rust. Some of his software projects, including the Nim GTK GUI bindings and Nim implementations of an to create AI applications. Additionally, we can distinguish between languages such as C, C++, Ada, Rust, D, Go, Nim, and many more that compile to native executables and can run directly on the computer’s0 码力 | 865 页 | 7.45 MB | 1 年前3
Computer Programming with the Nim Programming Language
have a background in computer science and experience with other languages such as C++, Haskell, or Rust, the tutorials and the Nim language manual might be fully sufficient for you; thus, you may not electronics, and software development, using languages such as Pascal, Modula-2, Oberon, C, Ruby, Nim, and Rust. Some of his software projects, including the Nim GTK GUI bindings and Nim implementations of an to create AI applications. Additionally, we can distinguish between languages such as C, C++, Ada, Rust, D, Go, Nim, and many more that compile to native executables and can run directly on the computer’s0 码力 | 784 页 | 2.13 MB | 1 年前3
The Weblate Manual 4.17full stop in Devanagari by Devanagari danda (।). Unsafe HTML cleanup When turned on using a safe-html flag it sanitizes HTML markup. See also Unsafe HTML Trailing and leading whitespace fixer Makes flags Unsafe HTML New in version 3.9. The translation uses unsafe HTML markup translated strings weblate.checks.markup.SafeHTMLCheck safe-html safe-html ignore-safe-html The translation uses unsafe HTML links are also allowed. See also The HTML check is performed by the Ammonia [https://github.com/rust-ammonia/ammonia] library. URL New in version 3.5. The translation does not contain an URL translated0 码力 | 794 页 | 18.87 MB | 1 年前3
The Weblate Manual 4.18full stop in Devanagari by Devanagari danda (।). Unsafe HTML cleanup When turned on using a safe-html flag it sanitizes HTML markup. See also Unsafe HTML Trailing and leading whitespace fixer Makes flags Unsafe HTML New in version 3.9. The translation uses unsafe HTML markup translated strings weblate.checks.markup.SafeHTMLCheck safe-html safe-html ignore-safe-html The translation uses unsafe HTML links are also allowed. See also The HTML check is performed by the Ammonia [https://github.com/rust-ammonia/ammonia] library. URL New in version 3.5. The translation does not contain an URL translated0 码力 | 812 页 | 23.87 MB | 1 年前3
The Weblate Manual 4.18.1full stop in Devanagari by Devanagari danda (।). Unsafe HTML cleanup When turned on using a safe-html flag it sanitizes HTML markup. See also Unsafe HTML Trailing and leading whitespace fixer Makes flags Unsafe HTML New in version 3.9. The translation uses unsafe HTML markup translated strings weblate.checks.markup.SafeHTMLCheck safe-html safe-html ignore-safe-html The translation uses unsafe HTML links are also allowed. See also The HTML check is performed by the Ammonia [https://github.com/rust-ammonia/ammonia] library. URL New in version 3.5. The translation does not contain an URL translated0 码力 | 813 页 | 23.87 MB | 1 年前3
The Weblate Manual 4.18.2full stop in Devanagari by Devanagari danda (।). Unsafe HTML cleanup When turned on using a safe-html flag it sanitizes HTML markup. See also Unsafe HTML Trailing and leading whitespace fixer Makes flags Unsafe HTML New in version 3.9. The translation uses unsafe HTML markup translated strings weblate.checks.markup.SafeHTMLCheck safe-html safe-html ignore-safe-html The translation uses unsafe HTML links are also allowed. See also The HTML check is performed by the Ammonia [https://github.com/rust-ammonia/ammonia] library. URL New in version 3.5. The translation does not contain an URL translated0 码力 | 813 页 | 23.87 MB | 1 年前3
共 325 条
- 1
- 2
- 3
- 4
- 5
- 6
- 33













