2021SC@SDUSC Application and practice of software engineering in Software College of Shandong University -- Ebiten code analysis and source code analysis
2021SC@SDUSC
1, Overview
This article will focus on ebiten's clock system and Filter texture Filter in image rendering options. Firstly, the clock system is used to record the timeline during the game, including obtaining the current time, initializing parameters, obtaining the current FPS (frames transmitted per second), TPS (transactions ...
Added by jthomp7 on Sat, 27 Nov 2021 00:33:42 +0200
Go concurrent programming - Mutex source code implementation
Mutex: how to solve the problem of concurrent access to resources
Multithreading accesses shared resources through mutual exclusion, which is basically the locking of shared memory? (if it is multi process, can you simply use mutual exclusion locks? Do you need distributed locks?) Usage scenario of synchronization primitive:
Share resources. ...
Added by Funk001 on Wed, 24 Nov 2021 10:44:39 +0200
The usage of zap log library developed by go web and the configuration of zap log in gin framework
(1) Introduction
zap is a log repository for comparing fire in go. It provides different levels of logs and is fast Official documents: https://pkg.go.dev/go.uber.org/zap#section-readme You can also use github to search zap directly. The document has a comprehensive introduction. We encourage you to watch the documents. You can have video ma ...
Added by BMN on Tue, 23 Nov 2021 22:19:19 +0200
NGINX introduction to enterprise application practice - Basic
This is a series of free knowledge, including graphic version and video version. What you see now is graphic version.NGINX series courses are divided into three parts: basic part, advanced part and enterprise practice part. What you are reading now is basic part.The video version is published in my own community. Friends who like watching video ...
Added by bladx on Tue, 23 Nov 2021 09:32:31 +0200
[Golang] implementation of table splitting method with the same table structure and different table names based on beego/orm
1, Background
In the process of business scenario development, with the increase of data volume, the table splitting strategy with the same table structure and different table names is one of the common scheme choices. As follows, take golang as the back-end business development, and try to modify beego's orm library to implement a separate tab ...
Added by captain_scarlet87 on Mon, 22 Nov 2021 20:59:42 +0200
Godson's way to go - install go in Godson
Tools and Resource Center
Help developers work more efficiently and provide tools and resources around the whole life cycle of developersdeveloper.aliyun.com/tool?spm=a1z3...
Go language configuration of generation 2 of Godson school and installation of go opencv
Go language is a rising star. It is very necessary for us to configure the envi ...
Added by vinoth on Sun, 21 Nov 2021 07:56:52 +0200
Go practice | application and implementation of cache based on local memory
Hello, I'm a fisherman from Go school.
Everyone is familiar with caching. Baidu Encyclopedia is defined as:
Cache refers to the memory that can exchange high-speed data. It exchanges data with the CPU before the memory, so the speed is very fast.
Therefore, cache is used to improve the speed of data exchange. The cache we are going to talk ab ...
Added by hairulazami on Sun, 21 Nov 2021 04:32:07 +0200
[dry goods] deployment of Filecoin Venus cluster test network (calibration)
What did you learn?
Complete the cluster construction, deploy Venus worker on multiple machines and cooperate with Venus sealer (close to the production environment)
Overall objectives:
1. Implement multiple worker sealed sectors
2. Mining
Test server configuration
Server system: U ...
Added by mlla2 on Sat, 20 Nov 2021 21:35:05 +0200
Learn to write casually 4
Composite data type (construction type)
map
Golang map is a reference to the Hash table, which is almost a PHP associative array or Python dictionary. Of course, C++ STL also has a map, but golang map should be unordered_map. Map all keys must be of the same type, and values must also be of the same type. This is not as arbitrary as PHP asso ...
Added by Papalex606 on Sat, 20 Nov 2021 03:55:46 +0200
Follow the old cat to do GO basic grammar
In the last blog, the old cat has synchronized with everyone how to build the relevant GO language development environment. I believe all the little partners in the car should have finished the environment. At the beginning of this article, we will be familiar with the basic grammar of GO language. After this article is finished, we actually ex ...
Added by ProblemHelpPlease on Fri, 19 Nov 2021 19:37:10 +0200