sizeof
Share on:
Enter Your Mastodon Instance
https://
Copy the link below to share to Mastodon
https://terminaltrove.com/sizeof/
A command-line tool to calculate the size of data structures
go install github.com/zackproser/sizeof@latest
![image preview of sizeof](https://cdn.terminaltrove.com/m/bcf40fe7-7e82-427c-a44d-3fa5d9a25ccf.gif)
sizeof is a command-line tool that calculates the size of data structures in bytes.
It's written in Go and can be used to understand memory usage in various programming scenarios.