🐼 Golang Weekly #378: Golang vs Python: The Ultimate Battle in DevOps

GoPa Golang Weekly Newsletter is part of FAUN Developer Community. We help developers learn and grow by keeping them up with what matters.

--

🔗 From the web

SQS Re-Drive with Golang and Step Functions

Failure is a giving in distributed systems. Using the SQS re-drive APIs is enhanced with SQS re-drive with Golang and Step Functions.

Writing a Go fuzz target

An exploration of fuzz testing in Go with a look at how to write a fuzz target for a (nearly) realistic function.

✅ Go: Using pointers to reduce copies is premature optimization

When deciding whether to use pointers or values in Go, the size of the data being dealt with is a crucial factor. For small or negligible amounts of data, it doesn’t matter much. However, with extremely large variables, passing by pointer can be necessary to avoid excessive copying. The performance impact of pointers depends on the CPU’s caching behavior, and there is no general rule for when to use pointers. Instead, focus on expressing your intent in code and consider profiling for optimization if copying large values becomes a bottleneck.

Memory-wall problem

The memory wall problem occurs when a processor’s speed surpasses the rate at which data can be transferred to and from memory, resulting in performance slowdowns. CPUs mitigate this by using L-caches, which are small and fast. Understanding memory allocation and cache utilization is crucial for optimizing program performance.

GitHub actions and Go private modules

Using private go modules in local development and GitHub actions workflows with ssh keys

✅ Go: Tracing HTTP requests

The HTTP protocol is fast, secure, and reliable. However, it needs other protocols and services to work properly, and when things don’t go well it is necessary to have access to detailed information about the time spent in each step. The steps to make an HTTP call are as follows: DNS Lookup The client sends a DNS query to the DNS server. The DNS server responds with the IP for the name.

Go Toolchains

Starting in Go 1.21, the Go command allows for switching between different versions of the Go toolchain based on module requirements, and it automatically selects the appropriate toolchain version. The GOTOOLCHAIN environment setting and the go and toolchain lines in the go.mod file determine the toolchain version used

Golang vs Python: The Ultimate Battle in DevOps

In the world of DevOps, two programming languages are often pitted against each other: Golang and Python. Both languages have their own strengths and weaknesses, and choosing the right one for your DevOps needs can be a tough decision.

⭐ Supporters

Cloud Native Microservices With Kubernetes

“Cloud Native Microservices With Kubernetes” is a hands-on, example-rich guide focused on real-world examples and practical learning that covers everything needed from the basics to the most advanced concepts.

OpenAI GPT For Python Developers

Explore the fascinating world of Artificial Intelligence and solve real-world problems!

In this practical guide, you will build intelligent real-world applications using GPT-3, DALL-E, Whisper, CLIP, and more tools from the OpenAI and ML ecosystem.

Rest assured, you don’t need to be a data scientist or machine learning engineer to follow this guide

👉 Spread the word and help developers find you by promoting your projects on FAUN. Get in touch for more information.

ℹ️ News

New Golang-based Skuld Malware Stealing Discord and Browser Data from Windows PCs

A new Golang-based information stealer called Skuld has compromised Windows systems across Europe, Southeast Asia, and the U.S.

⚙️ Tools

terramate-io/terramate

Terramate adds powerful capabilities such as code generation, stacks, orchestration, change detection, data sharing and more to Terraform.

geziyor/geziyor

Geziyor, blazing fast web crawling & scraping framework for Go. Supports JS rendering.

peterldowns/pgtestdb

pgtestdb makes it cheap and easy to create ephemeral Postgres databases for your golang tests.

Legit-Labs/legitify

Detect and remediate misconfigurations and security risks across all your assets

👉 Spread the word and help developers find and follow your Open Source project by promoting it on FAUN. Get in touch for more information.

🛍️ Swag Store

The Anarchist T-shirt

❤️ 20% exclusive discount for FAUNers on all products (+free shipping included) when you use the code “THANKSFAUN”.

🤔 Did you know?

ENIAC (Electronic Numerical Integrator and Computer) was the first programmable, electronic, general-purpose digital computer, completed in 1945.

😂 Meme of the week

❤️ Thanks for reading

👉 Never miss an issue
Join FAUN Developer Community and subscribe to our newsletter here.

👋 Keep in touch and follow us on social media:
- 💼LinkedIn
- 📝Medium
- 🐦Twitter
- 👥Facebook
- 📰Reddit
- 📸Instagram

👌 Was this newsletter helpful?
We’d really appreciate it if you could share it with your friends! You can also donate to help us keep this newsletter going.

ℹ️ Have a question or feedback?
Feel free to reach out to us at community@faun.dev. We’d love to hear from you!

🤩 Want to sponsor our newsletter?
Reach out to us at sponsors@faun.dev and we’ll get back to you as soon as possible.

--

--