Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.Sign up
proposal: Go2: standard libary without statements used with runtime #29868
Whether the standard library were free of statements used with the Go's runtime, then it would be easier to be able to transpile the Go's standard library to other high-level languages like Java, Swift, C#, or until a low-level language like C.
That would include the usage of
Go is a language with a little syntax and easily readable by whatever developer, so if there are libraries in Go that could be transpiled to other language, then we would save a lot of developer's hours by avoiding to have to build a library to solve the same problem at every different language. Besides, the great advantage over FFI is the free penalty at performance.