Toptube Video Search Engine



Title:Making Golang 13x faster with Assembly code
Duration:32:28
Viewed:13,779
Published:01-07-2024
Source:Youtube

One of the coolest parts of Go (golang) is that there are many ways to speed up your program. One such way is to take advantage of the ability to create .s and .asm assembly code files that are compiled directly into your program. In this video I go over what I did in my Golang Vulkan game engine to improve the performance of the linear algebra math. Taking advantage of the SIMD (AVX) instructions we can improve some functions by nearly 13x. SIMD is "single instruction multiple data" and is a key component missing from the standard go compiler. We can of course use the built in assembly capabilities of Go to improve performance and access non-accessable cpu instructions for many more things other than vectorization operations, but this is probably the most common operation people would drop into assembly for. Go assembly file ► https://github.com/KaijuEngine/kaiju/blob/master/src/matrix/mat4.amd64.s Twitter ► http://brentfarris.com/twitter Website ► http://brentfarris.com GitHub ► http://brentfarris.com/github



SHARE TO YOUR FRIENDS


Download Server 1


DOWNLOAD MP4

Download Server 2


DOWNLOAD MP4

Alternative Download :