Thanks man this was awesome! btw I didn't find the music too loud, it is very soft so even if it reached the same loudness you voice always overpowered it. Maybe it can be a little lower and your voice a bit louder, but it wasn't obstructive. Because I even gave this a prelisten whiling driving home from work and I still heard it fine.
@XeenimChoorch-nx8wx4 ай бұрын
The amount of hoops people have to jump through just to get a non bloated executable is staggering IIRC there are also a lot of hoops to jump through with the math library
@Pedro-jj7gp4 ай бұрын
Awesome video! Do you think you could make a longer in-depth tutorial on using the debugger? I think it'd be very helpful! :)
@kamilziemian9955 ай бұрын
Great video, thank you.
@ashishjog5 ай бұрын
Keep up the great work Dani, neat and crystal clear!
@fredericmanson4416 ай бұрын
I found your Channel looking to learn Assembly for GB game dev. And here I am!! I saw this vid and... I'm in the same boat. Mental health issue is not easy to deal with each day, each hour. And when coding was your joyful job AND hobby, because of some **cough** "thank you" **cough** from some of your **cough**"friendly colleagues and employers"**cough**, you are where you are NOW, wow... it's hard to "fight" that mental "state". It's really frakking hard... I hope AND I wish that learning ASM for that lil' grey block full of fun will bring me some "peace" in my mind. But as I said, it's frakking hard...
@DaniCrunch6 ай бұрын
I have not reached the part of actually doing assembly work for the GameBoy as I am still developing the assembler itself. But I hope to get there eventually. For the mental health I can honestly say that taking a step back from the corporate programming world was one of the best decisions at the time. I might have to eventually go back again. But the time away from all of it and working on things that interest me helped me quite a lot. So I hope you can find your peace of mind as well and know that you are not alone going through stuff like this. All the best <3
@thedrunkmonkshow6 ай бұрын
This was very fascinating to watch and I haven't seen something like this since the 90's when people would do coding competitions for compiling programs with the smallest footprint and that was back when it was the norm for software to be anywhere from 200k to 2MBs especially if it was a windows 95 application. It's crazy how we live in the time of Terabyte drives now and I still manage to fill a drive up to the max mostly because of installing video games. I wish more companies and developers would be mindful about this sort of thing and try to reduce the size of their software but it almost seems like a lost art from a bygone era unless it's designed for an embedded device.
@XeenimChoorch-nx8wx4 ай бұрын
Modern bloatware will include several hundred megabytes of frameworks just for a single function lol
@zaphhood47456 ай бұрын
I just love you C mans.
@tanchienhao7 ай бұрын
Amazing video
@TJYouToob7 ай бұрын
Excellent video, Dani. Thanks!
@ssmith50487 ай бұрын
Excellent , clear and concise explanations! Also very much appreciate your removing the music while you are speaking. Even if I like the music someone chooses to play during their talk, I don't want to hear it. Imagine going to a lecture of your fav prof and them playing some music in the background. It distracts and even worse can make it difficult to hear / focus on what the prof is teaching. Your videos have excellent info and should be treated with that level of respect. Once again, thank you for making good quality videos.
@DaniCrunch7 ай бұрын
Thank you. I agree with the music part. I usually don’t mind it but I received enough comments saying it was too distracting that it made sense to remove it. I can’t bring it over myself to remove it in the intro and outro though. But those are usually short anyways.
@DaniCrunch7 ай бұрын
@@alh-xj6gt Thank you 🙂
@lexer_7 ай бұрын
I couldn't have said "Javascript devs have no clue about hardware" in a more friendly and respectful way :D (Not trying to throw shade here, not knowing stuff is absolutely fine!)
@DaniCrunch7 ай бұрын
Haha 😄
@Man-xk9rz7 ай бұрын
Thank you so much for this useful insight. You have managed to make assembly much more graspable for a beginner like me. It's just instructions.
@DaniCrunch7 ай бұрын
Glad it was useful
@lliamnan7 ай бұрын
this was top notch dude
@channel111217 ай бұрын
A bit offtopic, but what is your keyboard? It sounds amazing.
@Kyoz7 ай бұрын
🤍
@boy_deploy7 ай бұрын
This is awesome 💯😎
@zamissocool7 ай бұрын
Got halfway through before I realised I'm not watching one of the bigger tech channels because its so well written
@starc0w7 ай бұрын
Very good! Thx!🍀 Your whole approach is really very good! ✨ Also that you use a batch file (I do the same): Simply great!
@henrik71118 ай бұрын
super interesting! excited for more! 😁
@Timberfist8 ай бұрын
I’d really like to watch more of your content but the combination of spoken word over background music makes this video un-listenable to. I lasted three and a half minutes before turning off.
@Olegach218 ай бұрын
+2
@taoufikfarouki42328 ай бұрын
love your unique content
@climjark80558 ай бұрын
Nice Video! It reminds me of when i am working on my operating system project, and havent fully implemented the CRT, just enough to get it going :)
@cybernit38 ай бұрын
The sublime text editor looks good but not free; there is also notepad++ which is sort of good and basic. Thank you for some tips to setting up the tools for C programming for Windows; I assumed you had to install Visual Studio.
@DaniCrunch8 ай бұрын
I mean you can use it for free, but it will pop up a message box every now and then to tell you to register. Should have mentioned that in the video. I do own a license for it but also haven't added the license to the laptop install haha. Plenty of other free options available though, that is true.
@revengerwizard8 ай бұрын
Only Microsoft could have used / as a cmd option character
@DaniCrunch8 ай бұрын
Yeah it is awkward haha. I saw someone use - for cl as well so maybe they now support both. The docs however still only list / so I went with that.
@zg9xUmvV8 ай бұрын
why are you still using windows...? :\
@Zeioth8 ай бұрын
On Linux it takes literally one line: sudo apt install gcc
@arunavabasak83308 ай бұрын
sudo apt install build-essential
@plato4ek8 ай бұрын
It's better without music. Or at least consider making it MUCH more quiet.
@georgehelyar8 ай бұрын
To install build tools, you can go to the Microsoft download page for visual studio, scroll down and expand "tools for visual studio", and then to "Build Tools for Visual Studio 2022" This is really useful if you want to set up a self hosted build agent for CI/CD too.
@DaniCrunch8 ай бұрын
I failed to mention that the PortableBuildTool installation also leaves out some UWP and WinRT stuff. I really just tried to go with a minimal installation. And as far as i know the build tools package needs you to use the bat script to init environment variables for the command prompt (or you use the cmd shortcut for developers that it provides). But yeah I don’t know how i ended up on that msdn site for build tools when they are just available in the way you described.
@georgehelyar8 ай бұрын
I think you can pick which workloads and components you want to install with command line arguments on the installer too but it's been a while since I tried. As well as compilers and runtimes, this could include tools like git, cmake, vcpkg etc I think but I can't remember how much of that is in the build tools and how much is in the full VS installer
@DaniCrunch8 ай бұрын
@@georgehelyar Yeah I do remember that being in the full VS installer. I should check out the build tools installer when I have to setup a new machine again. Was just so used to the PortableBuildTools installer haha
@dankodnevic32228 ай бұрын
VS Code would be good alternative for editor with a ton of extensions, which can easily switch between CL, GCC....
@watashiwahatchi8 ай бұрын
This is awesome
@wertigon8 ай бұрын
Here are my failproof instructions: Step 1, install WSL. Step 2, apt install build-essential git vim cmake Step 3, git gud with vim, gcc and git That's it folks! Best of it all, no need to care about licenses and complex IDEs :) Other than that, msys2 does not require a Linux VM (Which WSL essentially is) or any other steps than adding the bin folder to your $PATH.
@newsofthenerd8 ай бұрын
installing Linux inside of a malicious OS will not help, you need to remove any viruses from your computer first.
@stackercoding20548 ай бұрын
I'm used to develop on linux and found w64devkit to be really useful, it basically includes everything you need to make your workflow as similar as possible to linux. Also there is a tool called cv2pdb that comes really handy to be able to debug the compiled binary from gcc with remedybg as if you used cl
@jaitjacob8 ай бұрын
this was really useful.. i really hope you make more videos. e.g. compilation and linking(static .lib, dynamic .dll)
@velikanskaglava20878 ай бұрын
Thank you. Nice approach, useful!
@RobinEntertainment8 ай бұрын
Wow, I wrote an article on that a decade ago. It was hell for me to get it run. So much effort you put on this video.Good job
@johnnylee35058 ай бұрын
Just install Msys2
@alimctavish9988 ай бұрын
great video ! ........ why there is a newd interest in c recently ?
@DaniCrunch8 ай бұрын
I noticed in the places I frequent online that C/C++ interests have spiked after the whitehouse released guidance on memory safe languages. It is rather silly and could just be a coincidence.
@alimctavish9988 ай бұрын
@@DaniCrunch basically i have an interest these days on c , after i coded for sometime with c++ and opengl , now i feel like i wanna know more so started to work with c cuz some sdks like pspsdk are written in c , thats why i asked this question cuz i rencently started developing in c
@DaniCrunch8 ай бұрын
Nice. Making stuff for the Psp sounds like fun.
@androth15028 ай бұрын
US government said don't use C, so naturally, people don't trust the government (with good reason) and do the exact opposite.
@TokyoXtreme8 ай бұрын
"pofit"?
@DaniCrunch8 ай бұрын
That was a typo 🤣
@pacstrap93708 ай бұрын
linux: apt install gcc Done!
@user-tw2kr6hg4r8 ай бұрын
some people have to develop for windows
@aphextwiner8 ай бұрын
@@user-tw2kr6hg4r build for windows in linux
@ImRiz18 ай бұрын
or just double click on codeblock.exe setup and done instead of this stupid ass tutoriAl !!!!
@androth15028 ай бұрын
that's not "linux" that's ubuntu. meh. if you're going to bother with linux, might as well use the best linux distro there is; microsoft windows. you can have ubuntu and several other linux-based OSes running at the same time.
@jd4rce8 ай бұрын
I always dislike the fact that I have to install Visual Studio to develop in C/C++. I'm more involved with Linux, but sometimes I would like to work on Windows. Thank you for sharing your knowledge about development on Windows; it's invaluable.
@Finkelfunk8 ай бұрын
I never understood why Microsoft makes such a deliberate effort to make programming in C that much more difficult on Windows. It's as if they want you to stop developing something better.
@kreuner118 ай бұрын
You don't have to. You may use mingw
@imrank3408 ай бұрын
Increase the Font size please.
@DaniCrunch8 ай бұрын
I noticed too late in the editing stage that I haven’t used the usual font sizes since everything was recorded from a laptop this time around. I tried to zoom in as best as I could without the footage looking bad. But most of the information about the commands should be on the slides with bigger font. Don’t think you’ll miss much else.