While developer satisfaction with the Google-developed Go language has remained very high, barriers to usage remain, including lack of critical libraries, language features, and infrastructure, according to the results of the Go Developer Survey 2021, which were released last week. The survey was conducted last fall.
Satisfaction with Go was at 92 per cent during the past year, consistent with the previous year’s survey. Among the developers surveyed who did not use the language for a particular project, Go’s lack of features was cited by 39 per cent.
Go’s lack of libraries was cited by 34 per cent. But the most commonly cited missing feature cited was generics, which was officially introduced in Go 1.18 in March, after the survey was taken.
The Go Developer Survey 2021 was taken between October 26 and November 16, 2021, and solicited 11,840 responses, the largest turnout in the survey’s six years.
In other findings, 81 per cent of respondents were confident in the long-term direction of the Go project.
Challenges to using modules centred on versioning, use of private repos, and multi-module workflows. But Go 1.18 introduced workspaces, addressing many concerns.
Chief applications for Go include API/RPC services, CLI, web services, and libraries or frameworks while half of respondents wanted more guidance on best practices for Go performance optimisation and project directory structure.
In addition, the proportion of respondents who primarily developed with Go on Linux has been trending down, at 59 per cent in the 2021 report as opposed to 63 per cent in the 2020 report and 66 per cent in 2019. Users who primarily developed with Go on Windows increased from 19 per cent in the 2020 report to 24 per cent in the current report. But 92 per cent of respondents still target Linux for deployment of their Go applications.
Amazon Web Services (AWS), Google Cloud Platform, and Microsoft Azure remain the most popular cloud platforms for Go developers.