Skip to content

Conversation

edelsohn
Copy link
Contributor

Add details for Go language from Ian Lance Taylor.

Update best-practice-memory-safe-by-default-languages.md: COBOL
Add information about Go.

Signed-off-by: David Edelsohn <[email protected]>
Copy link
Contributor

@nellshamrell nellshamrell left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Overall looks good, but one change requested.


## Go

* Go is itself a memory safe language as long as you don't use the unsafe package. The [rules for using the unsafe package safely](https://pkg.go.dev/unsafe) explain the requirements, particularly in the description of the Pointer type.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I believe this bullet point would work better in the best practices for memory safe by default languages guide. Could this be moved to there?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I have merged the comment into the other document and opened a new pull request.

@edelsohn edelsohn closed this Jul 28, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants