statically

Posted by 夏泽民

https://www.arp242.net/static-go.html Go creates static binaries by default unless you use cgo to call C code, in which case it will create a dynamically linked library. Turns out that using cgo is more common than many people assume as the os/user and net packages use cgo by default, so importing either (directly or indirectly) will result in a non-static binary. The easiest way to check if your program is statically compiled is to run file on it:



TinyGo

Posted by 夏泽民

https://marianogappa.github.io/software/2020/04/01/webassembly-tinygo-cheesse/ This is the story of how I managed to expose my Golang chess API project cheesse as a WebAssembly binary, compiled using TinyGo, so JavaScript could use it without needing a server. What are all those technologies? WebAssembly



reflect

Posted by 夏泽民

reflect 包实现具有两个基础 unsafe 操作内存对齐和 runtime 包的变量。



dubbo-go 与 gRPC

Posted by 夏泽民

https://gocn.vip/topics/10234 grpc 先来简单介绍一下grpc。它是google推出来的一个RPC框架。grpc是通过IDL(Interface Definition Language)——接口定义语言——编译成不同语言的客户端来实现的。可以说是RPC理论的一个非常非常标准的实现。



delve

Posted by 夏泽民

安装Devle   安装Devle非常简单,直接运行go get 即可:



Search

Popular posts

Anything in here will be replaced on browsers that support the canvas element

Recent posts

This blog is maintained by 夏泽民

Get in touch with me at 465474307@qq.com

Subscribe to our mailing list

* indicates required