Best of GolangJuly 2022

  1. 1
    Article
    Avatar of bytebytegoByteByteGo·4y

    EP17: Design patterns cheat sheet. Also...

    In the US, tech companies usually run payrolls via Automatic Clearing House (ACH) The RDFI operates on the receiver’s bank accounts based on the instructions in the ACH files. Since 2018, it's possible to choose Same Day ACH so funds can be transferred on the same business day.

  2. 2
    Article
    Avatar of flaviocopesFlavio Copes·4y

    How to await in a loop in JavaScript

    You can do the same with a for..in loop to iterate on an object. You need to place the loop in an async function, then you can use await and the loop stops the iteration until the promise we’re awaiting resolves.

  3. 3
    Article
    Avatar of hashnodeHashnode·4y

    Applying concurrency in Golang

    Golang provides means of supporting concurrency in a lightweight manner. In programming terms it mainly refers to application tasks divided into smaller sub-tasks that are being processed simultaneously.

  4. 4
    Article
    Avatar of developercomDeveloper.com·4y

    Tips to Create a Proper Go Project Layout

    Go programmers typically follow certain patterns in laying out the files and directories in their projects. A Go project may contain multiple files with different package names. Setting up a proper layout in these cases is not always very straightforward in Go, especially for beginners. This Go programming tutorial provides a quick overview of specific use case scenarios.

  5. 5
    Article
    Avatar of communityCommunity Picks·4y

    Building a secure note sharing service in Go

    Go to develop a super small web service which can be used by people or organisations to share secrets in a slightly more private way. It can be run as a single binary or from a Docker container inside a company's own infrastructure. The entire solution will be open source with an OSS friendly Apache 2.0 license so that adding basic routing will be easier.

  6. 6
    Article
    Avatar of communityCommunity Picks·4y

    Go faster with Go: Golang for ML Serving

    The current Python service with single node can do 192 RPS, about 400 pairs each. Only about 20% average CPU utilization. The limiting factor now was the language, the serving framework and the network call to feature store. I chose Fiber framework for REST API, it seemed most welcoming, good documentation, expressjs like API. Took less than an hour.

  7. 7
    Article
    Avatar of beambloggersBeam Bloggers Webring·4y

    Will Carbon Kill Go's Momentum?

    Google is working on an experimental successor to C++ called Carbon. The project is still more of a theoretical prospect than anything one can meaningfully work with. It was originally meant to help solve Google’s C/C++ problems with its simpler syntax, memory safety, and faster build times.

  8. 8
    Article
    Avatar of communityCommunity Picks·4y

    Concurrent file compression

    The goal is to demonstrate parallel file compression with Golang. To traverse the directory tree, I’ll implement a Depth-First Search algorithm. This will be the skeleton of the compression algorithm. The next step is to add file compression, luckily, Go has great support for compression.

  9. 9
    Article
    Avatar of facebook_codeFacebook Engineering·4y

    Programming languages endorsed for server-side use at Meta

    Meta’s primary supported server-side languages are Hack, C++, Rust, and Python. For performance-sensitive back-end services, we encourage C++ and Rust. For business logic and relatively stateless applications, the Hack ecosystem has the highest level of automation and support at Meta and is the recommended language.

  10. 10
    Article
    Avatar of glcGolang News·4y

    Whats new in Golang 1.19

    Golang 1.19 has several changes in core libraries. A soft memory limit can be defined with the GOMEMLIMIT environment variable. Bool, Int32, Int64, Uint32 , Uint64 and Pointer are new atomic types under sync/atomic package.