Quantcast
Channel: Tony Bai
Browsing all 509 articles
Browse latest View live

Image may be NSFW.
Clik here to view.

Go语言编程指南翻译记:一本书,一支队伍,一段难忘的旅程

本文永久链接 – https://tonybai.com/2024/07/05/go-fundamentals-translation 嘿,各位Gopher们!猜猜发生了什么?我们团队翻译的《Go Fundamentals:Gopher...

View Article


Image may be NSFW.
Clik here to view.

通过实例理解Go访问和操作数据库的几种方式

本文永久链接 – https://tonybai.com/2024/07/15/understand-the-ways-to-access-databases-in-go 关系数据库操作是Go应用开发中的重要一环,尤其是Go Web应用、微服务等。作为Gopher,我们需要了解几种主流的数据库访问和操作方法,以便在项目中做出适当的选择。...

View Article


Image may be NSFW.
Clik here to view.

通过实例理解SQL查询语句的执行顺序

本文永久链接 – https://tonybai.com/2024/07/20/sql-query-execution-order SQL查询语句是关系数据库操作的核心。SQL查询语句有简有繁,简单的SQL查询语句,比如: SELECT column1, column2 FROM table_name WHERE condition;...

View Article

Image may be NSFW.
Clik here to view.

Go语言中的SIMD加速:以矩阵加法为例

本文永久链接 – https://tonybai.com/2024/07/21/simd-in-go 前些日子,一些资深Gopher,比如fasthttp的作者Aliaksandr Valialkin因函数迭代器加入Go...

View Article

Image may be NSFW.
Clik here to view.

Gopher Daily支持Feed订阅

本文永久链接 – https://tonybai.com/2024/08/04/gopherdaily-add-feed-support 在《Russ Cox“退位”,Go语言将迎来新领袖,未来将如何发展》一文的评论区,有Gopher问及gopher-daily.com的HTTPS证书过期的问题,这里再正式声明一下:gopher-daily.com并非Gopher...

View Article


Image may be NSFW.
Clik here to view.

使用TLA+形式化验证Go并发程序

本文永久链接 – https://tonybai.com/2024/08/05/formally-verify-concurrent-go-programs-using-tla-plus Writing is nature’s way of letting you know how sloppy your thinking is – Guindon 在2024年6月份举办的GopherCon...

View Article

Image may be NSFW.
Clik here to view.

通过Go示例理解函数式编程思维

本文永久链接 – https://tonybai.com/2024/08/11/understand-functional-programming-in-go 一个孩子要尝试10次、20次才肯接受一种新的食物,我们接受一种新的范式,大概不会比这个简单。– 郭晓刚 《函数式编程思维》译者 函数式编程(Functional Programming,...

View Article

Image may be NSFW.
Clik here to view.

都2024年了,当初那个“Go,互联网时代的C语言”的预言成真了吗?

本文永久链接 – https://tonybai.com/2024/08/17/go-the-c-language-of-the-internet-era-come-true 本文最初发表于我个人的微信公众号(iamtonybai),但鉴于图片消息的篇幅受限(<=1000字),一些内容没能如愿展开,这里在博客上重新发布一下,也顺道丰富一下文章的内容。...

View Article


Image may be NSFW.
Clik here to view.

Go 1.23中值得关注的几个变化

本文永久链接 – https://tonybai.com/2024/08/19/some-changes-in-go-1-23 距离上一次Go 1.22版本发布又过去六个月了,我们如期迎来了Go 1.23版本的发布](https://mp.weixin.qq.com/s/IpDUOe0AUDKW2PYCWmvLYw)。...

View Article


Image may be NSFW.
Clik here to view.

从零开始编程:Go语言真的适合新手吗?

本文永久链接 – https://tonybai.com/2024/08/22/go-as-first-language...

View Article

Image may be NSFW.
Clik here to view.

Go 1.18之后的语法新特性Quiz,你能做对几个?

本文永久链接 – https://tonybai.com/2024/08/27/a-new-syntax-quiz-after-go-1-18 自Go...

View Article

Image may be NSFW.
Clik here to view.

重拾精髓:go doc -http让离线包文档浏览更便捷

本文永久链接 – https://tonybai.com/2024/09/06/go-doc-add-http-support Go语言团队近期接受了Go团队成员、Go圣经《The Go Programming Language》合著者Alan Donovan的新提案,旨在进一步提升开发者体验。这个提案为go doc命令新增了一个强大的功能:通过go doc...

View Article

Image may be NSFW.
Clik here to view.

致敬:程序员成长路上的良师与经典著作

本文永久链接 – https://tonybai.com/2024/09/10/programmer-mentors-and-their-classic-works 早上送孩子去幼儿园的路上,收到一个小伙伴的微信:...

View Article


Image may be NSFW.
Clik here to view.

JSON包新提案:用“omitzero”解决编码中的空值困局

本文永久链接 – https://tonybai.com/2024/09/12/solve-the-empty-value-dilemma-in-json-encoding-with-omitzero...

View Article

Image may be NSFW.
Clik here to view.

Go unique包:突破字符串局限的通用值Interning技术实现

本文永久链接 – https://tonybai.com/2024/09/18/understand-go-unique-package-by-example Go的1.23版本中引入了一个新的标准库包unique,为Go开发者带来了高效的值interning能力。这种能力不仅适用于字符串类型值,还可应用于任何可比较(comparable)类型的值。...

View Article


Image may be NSFW.
Clik here to view.

htmx:Gopher走向全栈的完美搭档?

本文永久链接 – https://tonybai.com/2024/09/20/htmx-gopher-perfect-partner-for-full-stack...

View Article

Image may be NSFW.
Clik here to view.

Go weak包前瞻:弱指针为内存管理带来新选择

本文永久链接 – https://tonybai.com/2024/09/23/go-weak-package-preview 在介绍Go 1.23引入的unique包的《Go unique包:突破字符串局限的通用值Interning技术实现》一文中,我们知道了unique包底层是基于internal/weak包实现的,internal/weak是一个弱指针功能的Go实现。所谓弱指针(Weak...

View Article


Image may be NSFW.
Clik here to view.

“类型名称”在Go语言规范中的演变

本文永久链接 – https://tonybai.com/2024/09/24/the-evolution-of-type-name-in-go-spec Go语言规范(The Go Programming Language...

View Article

Image may be NSFW.
Clik here to view.

Go语言中的深拷贝:概念、实现与局限

本文永久链接 – https://tonybai.com/2024/09/28/understand-deep-copy-in-go 前不久,在“Gopher部落”知识星球上回答了一个Gopher关于深拷贝(Deep Copy)的问题,让我感觉是时候探讨一下深拷贝技术了。...

View Article

Image may be NSFW.
Clik here to view.

跟上Go演进步伐,你只需要关注这几件事儿

本文永久链接 – https://tonybai.com/2024/09/30/how-to-keep-up-with-go-evolution...

View Article
Browsing all 509 articles
Browse latest View live