Start learning with our library of video tutorials taught by experts. Get started
Viewers: in countries Watching now:
Finally, the course compares how code is written in several different languages, the libraries and frameworks that have grown around them, and the reasons to choose each one.
You already know that your operating system can run multiple programs at the same time. This is what's typically called multitasking, but there is also this idea of doing multiple things inside one program and this is multithreading. Now, multithreading is something you often do to keep your program responsive, and particularly in desktop or mobile applications with a graphical user interface. we've all interacted with programs where you click a button and it seems to make the application freeze and then a few seconds later come back.
Well, multithreading is designed to get you past that. By default, your program has what's referred to as a main thread of execution. All your code runs on one thread, one conveyor belt that's taking care of instruction after instruction. With multithreading, you might for example call a function, but instead of calling it normally, which means jumping into that function on the main thread, you call it and tell it to start on another thread, a custom thread, and your main thread continues processing while the secondary thread has another thing to do.
There are currently no FAQs about Foundations of Programming: Fundamentals.
Access exercise files from a button right under the course name.
Search within course videos and transcripts, and jump right to the results.
Remove icons showing you already watched videos if you want to start over.
Make the video wide, narrow, full-screen, or pop the player out of the page into its own window.
Click on text in the transcript to jump to that spot in the video. As the video plays, the relevant spot in the transcript will be highlighted.