What can you build in Golang?!
Ғылым және технология
What can you build in Golang?!
In today's Golang video, we will talk about what you can build in the Go programming language. Along with that, I will also share with you the less common usage of Golang for projects, and what you should not build with Go. Enjoy!
--
Golang Dojo is all about becoming Golang Ninjas together. You can expect all kinds of Golang tutorials, news, tips & tricks, and my daily struggles as a Golang developer. Make sure to subscribe if you look forward to such content!
Get Your Golang Cheat Sheet! - golangdojo.com/cheatsheet
Git repos & notes - golangdojo.com/resources
Golang Informative - • How much do Golang dev...
--
#golang #goprogramming #golangdojo
Пікірлер: 198
📝Get your *FREE Golang Cheat Sheet* - golangdojo.com/cheatsheet
@ygjt76v0-----
2 жыл бұрын
@@ccriztoff bruh 😅
@frankcarv
2 жыл бұрын
completely broken, doesn't work
Just a minor note on the Game development part: Nothing is stopping you from doing the backend of a multiplayer in go, it is the graphics that it starts to be a problem.
I might just give it a Go. Don't think I've been able to C anything this interesting on the Net.
@abhaysalvi9787
Жыл бұрын
😂😂😂😂
@t-distributedkid3825
Жыл бұрын
Tried soo hard to phrase that eh?
@belgianheskey
Жыл бұрын
No need to React like that, just my Vue
@t-distributedkid3825
Жыл бұрын
@@belgianheskey 😂😂 C u Sharp
@belgianheskey
Жыл бұрын
And swift
Your channel is AWESOME, I'm watching it like a Netflix series. You talk in a interesting way the make us curious and hyped about the things. Congratulations and thank you!! 🙏
Html templating is useful if your front end is more functional based instead of needing to look good or Have a good UI.
Just a tiny tip since I hear you saying "Golang": I remember seeing a video from Rob Pike, and in the Q/A section, someone asked a question saying "in golang blah blah", and Rob Pike was almost offended, and he said "It's called Go, not Golang". One thing that they say and I personally do it myself: "the name of it is Go, but use Golang when searching the internet because it gives more relevant results"
@squ34ky
2 жыл бұрын
_"Let me interject for a moment... It's actually called GoNU/Lang ..."_ - Stallman
@kafanakodtome
2 жыл бұрын
@@squ34ky "I use Linux as my operating system," I state proudly to the unkempt, bearded man. He swivels around in his desk chair with a devilish gleam in his eyes, ready to mansplain with extreme precision. "Actually", he says with a grin, "Linux is just the kernel. You use GNU+Linux!' I don't miss a beat and reply with a smirk, "I use Alpine, a distro that doesn't include the GNU Coreutils, or any other GNU code. It's Linux, but it's not GNU+Linux." The smile quickly drops from the man's face. His body begins convulsing and he foams at the mouth and drops to the floor with a sickly thud. As he writhes around he screams "I-IT WAS COMPILED WITH GCC! THAT MEANS IT'S STILL GNU!" Coolly, I reply "If windows were compiled with GCC, would that make it GNU?" I interrupt his response with "-and work is being made on the kernel to make it more compiler-agnostic. Even if you were correct, you won't be for long." With a sickly wheeze, the last of the man's life is ejected from his body. He lies on the floor, cold and limp. I've womansplained him to death.
@squ34ky
2 жыл бұрын
@@kafanakodtome that was beautiful ❤️
@waldiniman
2 жыл бұрын
@@kafanakodtome My god, that is a beautiful story. This should become copy pasta lore
@squarerootof2
2 жыл бұрын
@@kafanakodtome You had to copy-paste that because a sloth will never type more than a single short sentence, usually a single word exclamation or a short meme. And whether you use Gnu utils or not, Linux will always be just the kernel.
Do you have a list of some sample web projects/ microservices by using Golang/Golang web?
When we write code, it is suppose to work exactly according to the logic we write. I understand if it could lost performance to bit slow down program processing if it really need to garbage collector. Refer to trading algorithm section: Golang has garbage collector build in and may "introduce undeterministic factor". Is there any other issue to beware in term of "undeterministic factor" in any other case? Also, if it really happen, it would also impact other types of program as well, isn't it?
Trading algorithms - you probably meant high frequency algorithms, cause most trading algos operate on much higher timeframes than milliseconds
@Z1g0l
2 жыл бұрын
I got confused since many trading algos run on Python, which isn't lightning fast. So I guess Golang still is an option in algotrading.
@AlexanderKurguzkin
2 жыл бұрын
@@Z1g0l whatever you can implement in Python, you sure can do in Golang
Using a c compiler (gcc) to compile c++? How did you not get an error as you were using iostream??
2:57. - Creates c++ program - Compiles it with wrong compiler - Segmentation fault. Jokes aside, great video.
@GolangDojo
2 жыл бұрын
;)
@lexsoft3969
2 жыл бұрын
Yeah, I use g++ instead of gcc, and it works just fine.
@elioyaboi4407
2 жыл бұрын
@@lexsoft3969 g++ is meant to compile c++ files, while gcc is for c files. I know, but they are not the same thing
@squarerootof2
2 жыл бұрын
GCC is a set of compilers. A compiler collection that will take C, C++ or asm sources depending on file extension. It also compiles Ada, FORTRAN, Obj C and more. It will call g++ automatically if it detects c++ code.
@theederominus
Жыл бұрын
@@lexsoft3969 you code golang?
I want to use Go for EVERYTHING ;) . I love it.
Thanks for answering this important question
how about making mobile application?can i build it with go? what about desktop? and does go have any good orm?
Amazing video man! Just what I needed
@GolangDojo
2 жыл бұрын
Glad it helped!
What about apps? Is Go a good idea for them - Im thinking of making one that would use LAN networking and im considering Go
Thank You very much, Sir!)
I use it like C, and I use C to make programming languages and... It made it really easy to build one and add features!!!
@dalemovictoria6931
5 ай бұрын
Make programming languages? How, if I may ask👀 Sounds interesting to me
@nandhawalrost
2 ай бұрын
@@dalemovictoria6931 i recommend you to read crafting interpreter book
very helpful video thanks❤
Rust looking rusty after this video
@letsgetrusty
2 жыл бұрын
Don't disrespect Rust!
@VanDerGrub
2 жыл бұрын
@@letsgetrusty its all jokes :) i hope there will be a lot of software products in the future where Rust and Go work together hand in hand 🧡💙
@bloatoo1312
2 жыл бұрын
@@VanDerGrub no point in using both go and rust.
@TroenderTass
2 жыл бұрын
If you honestly think Go even remotly can compete with Rust for anything other then simple webscraping, then you are naive at best. Not a Rust dev, nor a go dev, btw. Go is a toy compared to Rust.
@parthaschakra
2 жыл бұрын
don't disrespect Rust!, but it's okay to disrespect Go - wow
Sorry for asking a very beginner question. Is it good, develop some backoffice applications like POS or Accounting System using GO? Frontend and Backend.
@Blade_Dhruv
16 күн бұрын
yup
The best part is the Kirby music at the end
Can I use Golang for Android App Development?
Is Golang compatible with solidity to increase the block size and to increase the speed of transaction.
@pythonisease2418
Жыл бұрын
yes it is even PayPal an American language
Thank you , Good video
Great!
Please share video with information how to program 24/192 DAC.
That cough on Rust though 😆, both languages are good for their own use cases.
@tshwarelolebeko4223
Жыл бұрын
Rust is godly, not for the faint-hearted
Pretty much only good channel about go.. Think you should do rust vs go video, I think people will be interested in that
thanks, that video helped me to understand more do I need to learn that language now
Being a Python "dev" focused on backend business tooling, Go is probably my next language. It's a tossup between that and TypeScript.
Rust compiles to slowly for game development. AAA games will takes days to compile and test!
The way you roast "RUST" !!!! 🤭
Wanna to learn another backend language! Thx for the video & Gooder English ! May i ask where are you from ?
Any advice on starting out golang and getting better?
@OceanSlim
20 күн бұрын
Build something
Would you recommend Go for a complete newbie wanting to learn programming?
@mudueinstein3053
Ай бұрын
its always the base like the concepts rather than language, after learning go you might want to shift to something new so concepts will help you be adapted in much quicker way .SO ,focus on concepts.
I would just like to clarify this... GoLang is strictly a backend language, correct? So it would be used only on the server-side in a full-stack application.
@SandwichMitGurke
2 жыл бұрын
He said that go can compile to webassembly. webassembly runs in the browser. so in theory, it could be used in frontend too. but my guess is that there aren't any matures libraries for that
@_slier
2 жыл бұрын
i hate golang..but golang is turing complete..meaning u can do anything u wish for granted there is library for that
@echoptic775
Жыл бұрын
@@SandwichMitGurkeso in theory, c can be used for frontend programming too💀
@awesomedavid2012
8 ай бұрын
@@_slierhtml and CSS are together turning complete. It doesn't really mean that much
Looking for a GO type language, one in the Goldilocks zone.
Do you really need much of a language for the front end? JS is a front end language and it’s mostly used for the backend since node came out. I like JS but seems it’s gotten really far from its initial intent to the point it feels janky.
I guess Ruby might be for Front end If you cant use Go in Frontend.
How about Go used to build Ai..?
Should I learn Go or Rust in 2022 if I want to get a backend developer job?
@darkshadowsXtreme
Жыл бұрын
Go is probably the better choice for a job
Hey man just started but it’s different than any other language
are you saying I shouldn't write Go game in Go?
If golang is not advised for trading bots, what would be a good language for them?
@goncaloteixeira5800
2 жыл бұрын
C++
@edboss36
2 жыл бұрын
@@goncaloteixeira5800 what about python? Or is it too slow
@goncaloteixeira5800
2 жыл бұрын
@@edboss36 not sure. When we talk about Python it can be super slow or super fast. If the industry uses Python someone has probably written a C library that is blazing fast and has a py API. I. That case I would say Python is a good option, otherwise you should be looking at a non garbage collected language (or maybe LuaJIT or Julia which have a GC but are fast)
@edboss36
2 жыл бұрын
@@goncaloteixeira5800 Okay thank you
@saadisave
2 жыл бұрын
Rust
thank you!
@GolangDojo
2 жыл бұрын
Welcome!
Is Go Lang preferable for chat app with millions of users? Can you make tutorials on use of Go with Aws?
@ramissamedov1288
2 жыл бұрын
I think the best option is Elixir/Phoenix
@GolangDojo
2 жыл бұрын
Everything is prefered in Golang ;)
@tanzimibthesam5861
2 жыл бұрын
@@ramissamedov1288 too less jobs i believe go lang is good enoufh
@ramissamedov1288
2 жыл бұрын
@@tanzimibthesam5861Sure Go is good and also doing well in software jobs, but if you want chat app with millions of users, then Elixir/OTP is unbeatable.
DevOps are not responsible for writing dev code nor the features. It's more ops oriented, and focuses on automation and infra.
@sudeepkuchara5287
Жыл бұрын
so they are ops not devops
@felipemachado9049
11 ай бұрын
@@sudeepkuchara5287 actually, we code a lot and we are very very close to the other developers, so we can understand all the needs the product require. We'll provision mostly using IaC (infrastructure as code), that's why we are called "devops" and not just "ops"
My Guy, you are a G.
@GolangDojo
2 жыл бұрын
Thank you!
go can easily execute c/c++ files .... so opengl and opencv should not be a problem with golang as infrastructue
@theederominus
Жыл бұрын
Hey do you code golang?
0:20 epic
What about rust?
how do I properly structure a golang project?
@GolangDojo
2 жыл бұрын
Stay tuned! Video coming up!
@oizy1760
2 жыл бұрын
@@user-kg2qn8se4h MVC models are unrelated to the GoLang project structure. MVC can be applied alongside Go project structure. Just don't use it TO structure your GoLang project...
@oizy1760
2 жыл бұрын
@@user-kg2qn8se4h Like I said, if you're looking for standard Go project structure, MVC is incorrect. Unless you are developing a web application or website then that's when using MVC is necessary in Go, or for any language for that matter. Standard Go Project Structure != MVC Stack
@oizy1760
2 жыл бұрын
@@user-kg2qn8se4h The structure for other applications is dependent and there's no set way, but Go has explicit handling for certain folders in your project for set purposes. i.e "pkg" folder is for internal access to your code only, not external. This is useful for people who write web apps and API's and need to limit the scope for the end-user. The structure for other application depends on the application, so that's not a question I can answer quickly. My point is, I was saying don't use MVC structure for all of your Go projects. If you're not writing a web app or using a framework that uses/needs MVC there's no need to use it. For instance, writing a Discord bot in GoLang, you wouldn't setup the project to use MVC for the Bot because it has nothing to do with MVC.
but bro if you use springboot all that complex code in java will be taken care of
And what about all sorts of gags with artificial intelligence?
If there're games build with java, go is definitly a choice xD
What about Desktop Apps with Golang?
@GolangDojo
2 жыл бұрын
In part 2! :)
Make long video about building app please
@GolangDojo
2 жыл бұрын
Coming up!
👍
How about AI? Is Python still the better choice for AI than Golang?
@GolangDojo
2 жыл бұрын
Currently yes >:(
@ivantan222
2 жыл бұрын
@@GolangDojo Ok, thanks for your info. Hopefully, Golang will catch up. 👍
Subtitles going with it`s own life
They explain how to use Go in osdev
Did you just cough rust?
04:32, Java? Scalable? :awestruck:
I think that will be g++ main.cpp instead of gcc main.cpp. Btw great content
@martiananomaly
Жыл бұрын
gcc can also compile CPP files tho
@iamkartiknayak
7 ай бұрын
@@martiananomalyit's the other way around
go-colly plz
This guy will say coolhwhip instead of cool whip just like stewie
Like coughs* "rust" referencing to Lets go rusty's videos on go vs rust was lol
Seriously, do you like Rust or hate it? No sarcasm, btw
@GolangDojo
2 жыл бұрын
Gaundi said love and hate are the same chemicals intepreted slightly differently
Hello from Brazil
@GolangDojo
2 жыл бұрын
Hello!
didnt receive the cheat sheet ?
@fouadzouraibi5407
2 жыл бұрын
okay xd, i've received it now
I don't know how we've got from gcc (not g++ by the way) to segfault, but...... ok. lol
What is a “chee sheet “
Zig is for great justice.. its da best
@rei2502
2 жыл бұрын
Zig vs Rust?
build a golang project go through video
@GolangDojo
2 жыл бұрын
Coming up soon!
bruh... you can make games using libraries like g3n
Me too, I don't think javascript is funny or interesting, although I could pick it up to work, but it wouldn't be something I would prefer lolol
Yooooooo
Golang is definitely better than anything else for backend development. using Golang for frontend is absolutely bad Typescript is way better because of wast ecosystem and job opportunities. for blockchain, low level things and cpu intensive Rust is absolutely the best tool
@Christobanistan
Жыл бұрын
If your front end is shitty HTML.
@justuser9915
Жыл бұрын
php has more library then golang. beckend = php i think
@theederominus
Жыл бұрын
@@Christobanistan you code golang?
@Christobanistan
Жыл бұрын
@@theederominus No. But there's back end services, and there's systems programming. Go and C# are good for services, but I don't see doing that with Rust. The effort is too great and compile times too slow for too little benefit.
0:21 did you say rust 🤣🤣
I'm triggered
@GolangDojo
2 жыл бұрын
Truth hurts :)
the intro🤣🤣
website no longer works
@insidiousmaximus
Ай бұрын
Looks like golang went.
Did you just said "rust"
Although Go does its job pretty well, especially in Cloud Computing, there are really greater languages like C#, Rust, Elixir which can do the save stuff much better than Go.
@captainpramila1946
2 жыл бұрын
True but turns out after python and javascript go language is most popular. So its easy to find solutions and its communities rather than your described language. I mean those languages are better than go and has some communities too but if you stuck into a problem in go there are higher chances to get out of those problem in go than c# or rust, whats elixir btw??
@nid274
2 жыл бұрын
unfortunately we are not Microsoft windows specific.... what all can you build with C# for a Ubuntu server which also works with comparable performance in Mac?
@nid274
2 жыл бұрын
@@-rate6326 nope...net core is.. do you get WPF in Ubuntu?
@johnyepthomi892
2 жыл бұрын
Well every language has its own philosophy. The creator of Go limits features and makes it a point not be like similar to any other language. Stop trying to enforce your philosophy because the creators are aware of it but they have their own reasons. Please look up the philosophy behind Go and you’ll stop trying to talk about memory management like c++ or rust etc. and if you need memory management , YOU HAVE RUST, USE THAT. This problem of devs saying “go should have this feature or implementation” is totally against the philosophy. I can’t stress this enough. What you’re doing is trying to make Go into languages you’re already using and that’s just 🤦♂️
Smoke weed
Another google's spyware .
I think you didn't say Rust😅😅😅
I love Go, but no disrespect towards RUST because it’s next phase.
@GolangDojo
2 жыл бұрын
Golang is all the phases!
I love go but please don't mock javascript
@adamandsteve13
Жыл бұрын
Javascript deserves every bit of mocking
Rust cough haha
4 months ago: Golang is amazing! 3 months earlier: GOLANG IS TRASH IM DELETING MY YT ACCOUNT!!1!1 Now: Golang IS amazing... Dude, decide on your position...
@GolangDojo
2 жыл бұрын
Just wait...
@shapelessed
2 жыл бұрын
@@GolangDojo You're changing your opinions more frequently than a hormonally unstable woman.
The danged GC rules out Go as a decent game programming language.
@AwkworldStudios
Жыл бұрын
Isn't C# garbage collected? I'm not saying you should use Go for game dev BTW. I'm just not sure that the GC is a deal breaker
Seems boring. I'll stick to JS you can do anything with it.
rust😂😂
You n00b, rust doesn't need memory management, if you can code properly. Ownership takes care of everything.
Misbehave methods and lousy consideration...
I like Go but, Rust takeover is what I'm excited for.
Rust is stupid language huh 🤔, man stop it
There is only one reason to choose Go over any other rustguage - it's gopher. period.