Jump to content
Stef's Coding Community

Leaderboard

Popular Content

Showing content with the highest reputation on 12/08/2017 in all areas

  1. Here is something fun I did messing with my computer with the low level of experience and knowledge that I have. I have had some experience with python before, but I never built anything cool with it. I had several years of not doing anything with it so I decided to start from the beginning again. This little bit of code is basically my own personal "Hello World" program: x = [some number] while x > -1: print(x) x -= 1 The first time I encountered a "Hello World" program it took me a while to understand why it was special. It seemed like I had do
    1 point
  2. Now for something more interesting. Using this small program I asked my computer to count down from 10 million. I wanted to see how it would interact with my CPU cores. The CPU I have is a Ryzen 7 1700 so it is in fact 8 cores with 16 threads. It looks like Ubuntu sees every thread as a separate core. I didn't really know what to expect to see but it wasn't this. I find it interesting the different ways my cores are participating with running this simple program. I would be interested in knowing more about what is going on but of course that could be a rabbit hole I don't really need to u
    1 point
×
×
  • Create New...