A Golang pipeline abomination

poxate.com
a-golang-pipeline-abomination

In this project, we need to overlay a looping short music track over a long voice soundtrack. The command to do this looks like this: func loopBackgroundMusic(voice io.Reader, music io.Reader, out io.Writer) error { bgPipe := Piper.CreatePipe(music) // — URL … Read more

Prep: Golang Comptime

github.com
prep:-golang-comptime

{{ message }} This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository. You can’t perform that action at this time.

Golang Interpreter Written in PHP

github.com
golang-interpreter-written-in-php

{{ message }} This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository. You can’t perform that action at this time.

Show HN: A Golang CP/M emulator

github.com
show-hn:-a-golang-cp/m-emulator

{{ message }} This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository. You can’t perform that action at this time.

Golang PGO builds using GitHub Actions

dolthub.com
golang-pgo-builds-using-github-actions

In February of this year, I announced that Dolt releases are now built as profile-guided optimized (pgo) binaries, levering this powerful feature of Golang 1.20 to increase Dolt’s read performance by 5.3%. Prior to my announcement, Zach, one of our … Read more

Golang’s best-kept secret: ‘executable examples’

bitfieldconsulting.com
golang’s-best-kept-secret:-‘executable-examples’

There are some common-sense restrictions on code that runs in the playground (and thus on executable examples running on pkg.go.dev). For example, there’s no networking available, and the amounts of CPU, memory, and execution time are limited to prevent abuse. … Read more

a[low:high:max] in Golang – A Rare Slice Trick

build-your-own.org
a[low:high:max]-in-golang-–-a-rare-slice-trick

01. Introduction The usual slice syntax in Golang is a[low:high], which you are probably familiar with. There is also another slice syntax in the form of a[low:high:max], which takes three indexes instead of two. What does the 3rd index max … Read more

How to Use AVX512 in Golang

gorse.io

AVX512 is the latest generation of SIMD instructions released by Intel, which can process 512 bits of data in one instruction cycle, equivalent to 16 single-precision floating point numbers or 8 double-precision floating point numbers. The training and inference process … Read more