使用 Go 语言开发游戏服务端的是如何忍受无法热更新的?

Views :
Update time : 2025-06-21 10:00:18

这个事情其实可以用goja + golang 去做。

***s://github***/dop251/goja golang负责完成infrastructure的关键moduels,比如网络,日志,***模块,加密算法等;相关的函数注入到j***ascript的虚拟机goja中,在goja中完成游戏逻辑,逻辑用j***ascript(es5)来完成。

思路其实类似于openresty,但golang的扩展性和j***ascript的舒适性,远非c+lua能比的。

====PS: 在我的业务系统中,按代码规模分为三类应用:长篇***级别的基础系统,k8s+gola…。

使用 Go 语言开发游戏服务端的是如何忍受无法热更新的?
Related News
Read More >>
Blog Post With Youtube Video 组nas一定要TDP低的cpu吗?
2025-06-21 06:05:15
组nas一定要TDP低的cpu吗?...
Blog Post With Youtube Video 独立开发者都使用了哪些技术栈?
2025-06-21 06:25:16
独立开发者都使用了哪些技术栈?...
Blog Post With Youtube Video 使用 Go 语言开发大型 MMORPG 游戏服务器怎么样?
2025-06-21 07:00:16
使用 Go 语言开发大型 MMORPG 游戏服务器怎么样?...
Blog Post With Youtube Video golang总体上有什么缺陷?
2025-06-21 07:30:16
golang总体上有什么缺陷?...

Leave Your Message