You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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, select, and defer statements, and channel types. And maybe the labels, since they are not used at every language.
Why
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.
The text was updated successfully, but these errors were encountered:
If you think it would be useful to write libraries in Go that avoid go, select, and defer statements, then I would encourage you to write them. We are not going to impose that restriction on the Go standard library.
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
,select,
anddefer
statements, and channel types. And maybe thelabels
, since they are not used at every language.Why
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.
The text was updated successfully, but these errors were encountered: