|
sarehu posted:I have a question for you Go people. Suppose you write a web application in Go. What do you do to get it running in actual production? Yeah, you don't even need nginx really if you want to give it access to lowports. code:
code:
Urit fucked around with this message at 03:23 on Mar 15, 2015 |
# ¿ Mar 15, 2015 03:17 |
|
|
# ¿ May 3, 2024 10:23 |
|
Is there a consensus on the most viable embedded scripting language for Go? I'm writing something that I'd like to allow (friendly - as in written by internal users and stored on disk with the program) arbitrary code execution in. Lua seems to be vaguely incompatible with Go on Windows due to longjmps for error handling which causes straight up crashes, plus it's playing with CGo. Otto looks neat but it's Javascript which no one wants to write, and it's not really fast for string processing. I found a random project on Github called Agora but it hasn't been maintained for a year and it's somone's toy scripting language, though it looks pretty neat.
|
# ¿ Mar 16, 2015 19:01 |
|
NickPlowswell posted:There's Awesome, thanks a ton. Those were the two I saw as well but I was seeing if there was something else out there that was better that I just didn't know about. CGo is cool and all but I'm running in a mixed Windows/Linux environment so the cross-compilation of Go is a huge plus for me, and having to hope that MinGW is going to work today and/or the C portion won't segfault is a pain in the rear end.
|
# ¿ Apr 16, 2015 21:44 |
|
First Time Caller posted:Learning Go because we're using Youtube's open source mysql sharding toolset, Vitess. http://www.vitess.io There's not much to post about because all the legitimately cool poo poo is done by Rust and everyone's already argued out Generics etc. The language is so simple that there's not much to talk about especially once you realise it's Google re-inventing Java like Microsoft did with C#.
|
# ¿ Oct 8, 2016 18:19 |
|
comedyblissoption posted:Can you elaborate on this? I mainly have experience w/ .NET and am wondering if my preconceived notions of golang would match yours. Not the person who posted before, but for me coming from .NET I missed generics and class-based inheritance the most plus some stuff feels strangely clunky and you can't do operator overloading. Oh, and there's no such thing as function overloading (e.g. foo(string x) and also foo(string x, int y))
|
# ¿ Dec 11, 2016 23:18 |