Get yourself and that retarded looking hamster of of here.
Easton Stewart
>newer Go releases have issues compiling on 9front lol
Aiden Barnes
Trying to learn it slowly. It would be my first real language. I do literally everything in Powershell dabbled in JavaScript but I learn best by doing. I play around a lot with restful API's so I wanted to try in GO just seemed to be too much of a brainlet to get it.
Aiden Harris
>using goimports >do not have to manage my imports at all, the tool does it for me Go's tooling makes other languages a joke.
Oliver Morgan
why don't you Go fuck yourself lol
Isaac Edwards
>built-in testing, benchmarking, sample profiling, tracing, race detector and build tool comfy as fuck
Nicholas Jackson
>>This thread was brought to you by Thompson, Pike, Griesemer, and Kernighan >no mention of Cox Who do you think you are
Asher Russell
anyone uses this for computer vision? like gocv
Aaron Hall
based
Josiah Kelly
No. I mainly do web services.
Henry Morgan
Haven't found a use-case for now, but I'm eager to try it out once I find a sufficient reason to. Currently C/Lua/Shell/Make are enough.
Isaac Anderson
what IDE are you using? im currently using vim-go, but i dont like it so far
Lucas Brown
Such an amazing language filled with innovation...
Just kidding you fucking faggot stop it with the meme languages
Adam Sullivan
Visual Studio Code has really good official plugin for Go, haven't seen anything that matches it
Austin Robinson
I use Intellij Idea. It's paid but worth it.
Elijah Mitchell
Alright, give me the low-down on Go. What's the strenghts and weaknesses, how does it fare in scientific computing (matrices, plotting of data..)?
Ethan Campbell
From the perspective if an infosec professional that only writes small programs and script.
Easy to understand. Concurrency. Package management.
I'm seeing go used more and more in my industry. Currently python is the most popular but I can see go overtaking it pretty quickly here.
Brayden Cooper
Why don't you Go ahead and suck my cock? Sage
Asher White
I want to git gud at excel. What are the best online materials you fellas would recommend?
Hunter Sanders
>talk about anything related to Go or Plan 9 So, /comfy/ general?
Fuck, I really need to get me some of that Race detector. Does it do niggers only or do they include other races too.
Jackson Roberts
No, since all Go compilation is cross-compilation, you can compile the Go toolchain on Linux while targeting Plan 9 and then just copy it over with drawterm. You don't need to bootstrap from some older Go version.
Ok guys so I am appending text to a file, and I am using openfile(), and Fprintf, but my program tends to add quite a bit of text at short amount of time, and I am opening and closing the file quite a bit in a short amount of time. I am wondering what alternatives should I use so I am not constantly opening and closing the file to append to it, even though at times I get quite a bit of info to throw in there at once.
I hope that made sense.
Sebastian Nguyen
I made a Mandelbrot set Google map on a kubernetes cluster: mc.deadbeef.codes
Daniel Jones
I've done it. Just Werks™. Beats the hell out of cross compiling C on Unix (or god forbid Windows). The user demographic around 9front the farthest from having trouble overcoming technical hurdles.
Lincoln Taylor
please stop splintering /dpt/ and shitting up the catalog
Evan Perry
Was it a VM or a standalone Plan 9? How did you transfer the compiler?
Robert Stewart
I did it on a 9front VM, although I had run a 9front grid on real hardware before. drawterm exposes the host system's fs on /mnt/term, and you can copy directories on Plan 9 with dircp(1).
Go on, oldfag programmer of 10 years here. I have no idea what you are talking about.
Dylan Thomas
Like ReadProcessMemory and WriteProcessMemory, opening handles, dll injection, etc
Jordan Gomez
Ah yea, I've never done that in any lang. I must admit the most I use go for is automation (mainly in aws) and APIs. You could definitely include a malicious C payload with go-bindata that does. You could probably just include a C lib that does this in the go code anyways.
Aaron James
C
>expecting "our programmers are too stupid for java and c" gophers to understand memory
Adam Nguyen
But I am that stupid, I probably could not figure out C if I tried
Grayson Cox
Gib generics pls
Kevin Collins
then you have no business editing memory stick to making webshit CRUD APIs
Eli Hill
Delusional
Cooper Edwards
>>I've seen some really cool infosec stuff written in Go, lately. Check out github.com/gen0cide/gscript That looks really interesting, do you have any more info on what it does? there is nothing in the readme
Grayson Thomas
retard go fag cant even follow links in readme
Dylan Morales
That link is sparse too, faggot.
Christopher Peterson
>what are gradle, maven, cargo, ant, pip...
Eli Scott
Any good books on infosec that utilizes go for a newbie to infosec?
Joseph Scott
It's video game cheats dude nothing crazy
Evan Murphy
I like that there are no generics. Instead you can use reflection and take the route of static code generation. You get strong type safety for a little bit of extra boilerplate.
Zachary Ramirez
Its never been a real issue for me but I would like to have a clean simple C++ style templating system.
Dylan Lee
Go is easy, but if err nil spam is stupid.
Nolan Lewis
It's an attack framework type of thing with an embedded JS runtime (V8). It allows you to easily package up + deploy multiple payloads and execute them concurrently, in their own little runtimes. You write these payloads in a slightly extended dialect of JS, compile them along with the GScript runtime into your payload, and deploy that using whatever vector you deem appropriate.
This has a lot of benefits incl making development/customization rapid and easy, prevents the failure of one payload from borking the rest, among other things. Keep an eye out for the upcoming defcon talk.
No one uses standalone Plan 9, not even its developers. It doesn't even work anymore on bare metal since everyone only runs it in a VM no one notices if it breaks.
that's not the issue, Go maintains the last release written in C for bootstrapping - this is actually great thing. But 9front needs some patches and those broke on new releases.
Noah Wood
It's much easier to write python. Go is still missing generics and classes.
Buffer your writes instead of writing small snippets. Then purge the buffer when the buffer fills
Evan Jones
just use cpp if you want to hack gaymes
Elijah Perry
How did you handle errors in C already?
Jack Johnson
Untrue. 9front is in active development and has quite a few users running it on real hardware. code.9front.org/hg/plan9front
I'm pretty sure Bell Labs' Plan 9 still has the odd user here and there as well.
>But 9front needs some patches and those broke on new releases. Needed. The problem was fixed not too long ago. And I'm pretty sure the issue was only on amd64.
Aaron Miller
C is worse char *result; if ((r = lib_func("param", 3, &result)) != STATUS_OK) { return STATUS_ERR; } printf("%s\n", result);
Ethan Clark
>C is worse Oh. Glad we came to the agreement that Go's error handling is OK then.
John Wilson
The absolutely pig disgusting for loops were a dealbreaker for me.
Samuel James
>Glad we came to the agreement that Go's error handling is OK then. It's not, Go is just as shit. Explicit error checking is cancer.
Christopher Perez
>C is worse >Go is just as shit The anti-Go shill brain
Blake Jenkins
You're replying to two different persons, smartass.
Luke Morales
Not to mention the non sequitur of asserting that since B is shit, A must be good or ok.
John Gray
>explicit error checking is cancer You should be doing it constantly anyways.
Jayden Gray
?
Luis Gutierrez
Or, you know, just use a programming language and runtime that isn't designed by boomer Unix dinosaurs.
Wyatt Turner
Wrapping everything in 14 layers of exception blocks is no more elegant and infinitely harder to debug.
Caleb Smith
exceptions have built in stack traces tho
Jose Adams
>Wrapping everything in 14 layers of exception blocks is no more elegant and infinitely harder to debug. Well, 14 layers of try catch is obviously bad design by any standard, but as say, you usually have the backtrace in the form of stack frames and can easily find out where the exception was thrown originally.
Levi King
Youre also having to sift through the entire stack to find which little bit caused the error since you naturally just slap a "throws" in the signature or wrap most of the function inside of it. Theres literally nothing wrong with immediate error handling over exceptions, especially because if youre not an oaf you can skip the individual error checks you know are going to be safe. Error checking always sucks and theres no "better" solution over the other.
Camden Reyes
>Youre also having to sift through the entire stack No, the place where the error was thrown is at the top.
>Theres literally nothing wrong with immediate error handling over exceptions, There's literally everything wrong with it. First of all, exceptions means that your compiler is allowed to implicitly optimise for the successful code branch (instead of you needing to annotate "likely" and "unlikely" in every condition). Secondly, the code is a lot easier to read. Thirdly, if combined with RAII, you can make safer resource management.
Kevin Cox
You make code faster by writing faster code. Depending on the compiler to be smart enough to optimize for you isn't going to accomplish anything.
Kevin Powell
>You make code faster by writing faster code. Depending on the compiler to be smart enough to optimize for you isn't going to accomplish anything. It accomplishes readable code, and allows the compiler to make smart choices on different architectures. This is the purpose of using "likely" and "unlikely" annotations in your C code to begin with.
Jace Williams
When it comes to branch optimization, it makes a big difference. Obviously, algorithm makes a bigger difference but when you are comparing features you hold all other factors constant in the equation so you do not commit any correlation fallacies. In other words, we assume that the go language and other language (presumably c++) implemented the same algorithm as closely as possible. You find that the error checking has performance disadvantages due to the constant branching from the error checking. Lerk moar and learn to think rationally.