Atitit jdk net golang sdk标准库对比 Atitit sdk封装的艺术 艾提拉著 1. 重要模块8个 1 1.1. Collections集合,core,net,io,

Atitit jdk net golang sdk标准库对比

 

Atitit sdk封装的艺术  艾提拉著

 

 

 

1. 重要模块8个 1

1.1. Collections集合,core,net,io,Script,sql,text,fp 1

1.2. 全部模块25个 1

2. Jdk net clr类库对比(25模块) 1

3. 语言标准库 2

4. atitit 软件框架类库设计的艺术.docx 3

  1. Jdk net clr类库对比(25模块)

 

模块

Jdk

Net

golan

1

Collections集合

Java.util.*

Collections

container 封装堆、列表和环形列表等容器

2

Configuration

 

System.Configuration

 

3

resource

resource

 

 

4

Core核心模块

core

System.Runtime

runtime 运行时接口

go Go语言的词法、语法树、类型等。可通过这个包进行代码信息提取和修改

 

5

Net网络模块

Net

(ftp http )

System.Net

net 网络库,支持 Socket、HTTP、邮件、RPC、SMTP 等

os 操作系统平台不依赖平台操作封装

6

Web

 

System.Web

 

7

Windows

Jafavx swing

System.Windows

 

8

Fp函数式模块

func

System.Linq

 

9

 

 

 

 

10

Img图像处理模块

img

System.Drawing

image 常见图形格式的访问及生成

 

11

io

Io

Io

bufio 带缓冲的 I/O 操作

bytes 实现字节操作

io 实现 I/O 原始访问接口及访问封装

12

Codec编码模块

codec

 

encoding 常见算法如 JSON、XML、Base64 等

13

Media多媒体模块

media

System.Media

 

14

Script脚本运行时

script

Microsoft.JScript

 

15

Data sql数据库与

sql

System.Data

database 数据库驱动和接口

 

16

Secury安全

secury

System.Security

System.Security.Cryptography

crypto 加密算法

17

xml

xml

System.Xml

 

18

Math数学模块

math

 

math 数学库

19

Text文本处理模块

text

System.Text

regexp 正则表达式封装

sort 排序接口

strings 字符串转换、解析及实用函数

text 文本模板及 Token 词法器

20

Print打印机模块

print

System.Printing

 

21

 

Util tool

Calendar loale loggin

 

22

Reflect反射

reflect

System.Reflection

reflect 语言反射支持。可以动态获得代码中的类型信息,获取和修改变量的值

23

Globalization国际化

Util 。loale

System.Globalization

 

 

时间日期

 

 

time 时间接口

 

24

并发类

java.util.concurrent

System.Threading 命名空间

除同步线程活动和访问数据的类(MutexMonitorInterlockedAutoResetEvent 等)外,此命名空间还包含一个 ThreadPool 类

 

 

 

 

 

debug 各种调试文件格式访问及调试功能

flag 命令行解析

fmt 格式化操作

html HTML 转义及模板系统

path 兼容各操作系统的路径操作实用函数

plugin Go 1.7 加入的插件系统。支持将代码编译为插件,按需加载

 

 

 

 

Go语言标准库强大.mhtml

posted @ 2019-09-17 18:39  attilaxAti  阅读(33)  评论(0编辑  收藏  举报