随笔分类 -  Golang

Golang学习
摘要:Duck Typeing & Interface Duck Typing Duck typing in computer programming is an application of the duck test -- "if it walks like a duck and it quacks 阅读全文
posted @ 2021-04-24 21:43 DengSchoo 阅读(132) 评论(0) 推荐(0)
摘要:Golang Garbage Collector Go 1.3 mark and sweep方法 步骤: 第一步暂停程序业务逻辑,找出所有对象,找出不可达对象,和可达对象 第二步开始标记,程序找出它所有可达的对象,并做上标记 标记完成,清除未标记的对象 停止STW 业界常见的垃圾回收算法有以下几种: 阅读全文
posted @ 2021-04-01 20:48 DengSchoo 阅读(826) 评论(0) 推荐(0)
摘要:Golang入门语法学习,涵盖一个聊天室小项目用于加深对语法和知识点的理解。 阅读全文
posted @ 2021-03-27 10:27 DengSchoo 阅读(120) 评论(0) 推荐(0)