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
|
模块 |
Jdk |
Net |
golan |
1 |
Java.util.* |
container 封装堆、列表和环形列表等容器 |
||
2 |
Configuration |
|
|
|
3 |
resource |
resource |
|
|
4 |
Core核心模块 |
core |
runtime 运行时接口 go Go语言的词法、语法树、类型等。可通过这个包进行代码信息提取和修改
|
|
5 |
Net网络模块 |
Net (ftp http ) |
net 网络库,支持 Socket、HTTP、邮件、RPC、SMTP 等 os 操作系统平台不依赖平台操作封装 |
|
6 |
Web |
|
|
|
7 |
Windows |
Jafavx swing |
|
|
8 |
Fp函数式模块 |
func |
|
|
9 |
|
|
|
|
10 |
Img图像处理模块 |
img |
image 常见图形格式的访问及生成
|
|
11 |
io |
Io |
Io |
bufio 带缓冲的 I/O 操作 bytes 实现字节操作 io 实现 I/O 原始访问接口及访问封装 |
12 |
Codec编码模块 |
codec |
|
encoding 常见算法如 JSON、XML、Base64 等 |
13 |
Media多媒体模块 |
media |
|
|
14 |
Script脚本运行时 |
script |
|
|
15 |
Data sql数据库与 |
sql |
database 数据库驱动和接口
|
|
16 |
Secury安全 |
secury |
System.Security.Cryptography |
crypto 加密算法 |
17 |
xml |
xml |
|
|
18 |
Math数学模块 |
math |
|
math 数学库 |
19 |
Text文本处理模块 |
text |
regexp 正则表达式封装 sort 排序接口 strings 字符串转换、解析及实用函数 text 文本模板及 Token 词法器 |
|
20 |
Print打印机模块 |
|
|
|
21 |
|
Util tool |
Calendar loale loggin |
|
22 |
Reflect反射 |
reflect |
reflect 语言反射支持。可以动态获得代码中的类型信息,获取和修改变量的值 |
|
23 |
Globalization国际化 |
Util 。loale |
|
|
|
时间日期 |
|
|
time 时间接口
|
24 |
并发类 |
java.util.concurrent |
System.Threading 命名空间 除同步线程活动和访问数据的类(Mutex、Monitor、Interlocked、AutoResetEvent 等)外,此命名空间还包含一个 ThreadPool 类 |
|
|
|
|
|
debug 各种调试文件格式访问及调试功能 flag 命令行解析 fmt 格式化操作 html HTML 转义及模板系统 path 兼容各操作系统的路径操作实用函数 plugin Go 1.7 加入的插件系统。支持将代码编译为插件,按需加载
|
Go语言标准库强大.mhtml