Movatterモバイル変換


[0]ホーム

URL:


Skip to main content
r/golang iconr/golang icon

r/golang

members
online
Best
Open sort options
Change post view

Community highlights

  • Small Projects - November 24, 2025

    jerf votes • comments
  • Who's Hiring - November 2025

    Jobs
    votes • comments
  • Frequently Asked Questions

    FAQ
    votes • comments

  • My GO journey from js/ts land My GO journey from js/ts land

    I found GO looking for a better way to handle concurrency and errors - at the time I was working in a JS ecosystem and anytime I heard someone talk about golangs error handling, my ears would perk with excitement.

    So many of my debugging journeys started with `Cannot access property undefined`, or a timezone issue ... so I've never complained about gos error handling -- to much is better than not any (js world) and I need to know exactly where the bug STARTED not just where it crashed.

    The concurrency model is exactly what I was looking for. I spent a lot of time working on error groups, waitgroups and goroutines to get it to click; no surprises there -- they are great.

    I grew to appreciate golangs standard library. I fought it and used some libs I shouldn't have at first, but realized the power of keeping everything standard once I got to keeping things up to date + maintenance; Ive had solid MONTHS to update a 5y/o JS codebase.

    What TOTALLY threw me off wasgolangs method receivers -- they are fantastic. Such a light little abstraction of a helper function that ends up accidentally organizing my code in extremely readable ways -- I'm at risk of never creating a helper function again and overusing the craaaap out of method receivers.

    Thanks for taking the time to listen to me ramble -- I'm still in my litmus test phase. HTTP API, with auth, SSE and stripe integration -- typical SAAS; then after, a webstore type deal. Im having a great time over here. Reach out of you have any advice for me.


    u/JFrogPlatform avataru/JFrogPlatform
    Promoted
    Not for wannabes! JFrog Fly is for devs who need to get sh*t done. Zero config, zero hassle, zero cost - agentic powered SW delivery. Join the beta!
    Not for wannabes! JFrog Fly is for devs who need to get sh*t done. Zero config, zero hassle, zero cost - agentic powered SW delivery. Join the beta!

    jfrog.com
    Sign Up

    Go 1.25 includes a new experimental garbage collector, Green Tea
    When do Go processes return idle memory back to the OS? When do Go processes return idle memory back to the OS?

    My understanding is after a GC the spans which have no reachable objects are marked as idle and remain with the go process for future allocations. This is leading to overall memory usage of the process to be high by 50% that wants needed.

    I want to understand by default when does the go process return the idle memory to the OS?


    Created Nov 11, 2009
    Public

    Anyone can view, post, and comment to this community

    138K1.8K

    r/golang Rules

  • 1

    Be friendly and welcoming.

  • Post is not in keeping with an inclusive and friendly technical atmosphere.

  • 2

    Be patient.

  • Remember that people have varying communication styles and that not everyone is using their native language. (Meaning and tone can be lost in translation.)

  • 3

    Be thoughtful.

  • 4

    Be respectful.

  • In particular, respect differences of opinion.

    Do not include "engagement hooks", like exhortations to subscribe to some channel or redundantly asking what others think.

  • 5

    Be charitable.

  • Interpret the arguments of others in good faith, do not seek to disagree. When we do disagree, try to understand why.

  • 6

    Be constructive.

  • Avoid derailing: stay on topic; if you want to talk about something else, start a new conversation. Avoid unconstructive criticism: don't merely decry the current state of affairs; offer - or at least solicit - suggestions as to how things may be improved. Avoid snarking (pithy, unproductive, sniping comments) Avoid discussing potentially offensive or sensitive issues; this all too often leads to unnecessary conflict. Avoid microaggressions Do not post "Ask an AI"

  • 7

    Be responsible.

  • What you say and do matters. Take responsibility for your words and actions, including their consequences, whether intended or otherwise.

  • 8

    Follow the Go Code of Conduct

  • As a part of the Go community, this subreddit and those who post on it should follow the tenets laid out in the Go Code of Conduct:https://golang.org/conduct

    Treat everyone with respect and kindness. Be thoughtful in how you communicate. Don’t be destructive or inflammatory.

  • 9

    Must be Go Related

  • Posts must be of interest to Go developers and related to the Go language.

    This includes:

    • Articles about the language itself

    • Announcements & articles about open source Go libraries or applications

    • Dev tools (open source or not) specifically targeted at Go developers

    We ask that you not post about closed-source / paid software that is not specifically aimed at Go developers in particular (as opposed to all developers), even if it is written in Go.

  • 10

    Do Not Post Pirated Material

  • Do not post links to or instructions on how to get pirated copies of copyrighted material.

  • 11

    Job Listings Go in the Who's Hiring? Post

  • We have a monthly "Who's Hiring?" post that will stay pinned to the top of the subreddit. To avoid too much noise from companies, please post job openings there. Please keep in mind, this is for 1st party postings only. No 3rd party recruiters.

  • 12

    AI Policy

  • No GPT or other AI-generated content is allowed as posts, post targets, or comments. This is only for the content itself; posts about GPT or AI related to Go are fine.

    Posts of projects havedifferent rules.

    As it is not easy to determine what is and is not AI, posts will be removed based on their appearence.


    Moderators

    View all moderators

    [8]
    ページ先頭

    ©2009-2025 Movatter.jp