On Mar 22, 2017, at 11:10 AM, Marlon Fez <[email protected]> wrote:
> I just heard about go, a new good language, but I cannot find the answer to
> my question. Is this new programming language a server side (Back-End)
> language or a client side (Front-End) language?
> I currently work with C# for server side work and JavaScript for client side.
> Is Golang work in both side like NodeJS?
Go normally compiles to native code; it's a general-purpose language so you can
run that code on servers or clients or wherever you like, but it is not
normally a "compiles-to-JavaScript-and-runs-in-a-web-browser" language. (For
example, you can write phone apps in Go, using it as a client-side/front-end
language, but that's not the kind of front-end use I think you're asking about.)
There is a project to compile Go to JavaScript so you can use it in a web page
as a "front-end" language, but I don't know much about it:
https://github.com/gopherjs/gopherjs <https://github.com/gopherjs/gopherjs>
But the most common use of Go is as a server or systems language.
--
You received this message because you are subscribed to the Google Groups
"golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.