Hello! I'm a hobbyist computer programmer and game developer. I post mostly computer and programming videos. Sometimes other things. Follow me or something.
Linux Setup Desktop: NsCDE Editor: Doom Emacs/LunaVim/Micro Terminal: xfce4-terminal/cool-retro-term (for the glowy videos) Font: IBM BIOS-2y from The Ultimate Oldschool PC Font Pack Shell: zsh
I can't get it to compile: /usr/bin/ld: /tmp/cc7Fzkm7.o: in function `main': fib.c:(.text+0x6f): undefined reference to `__gmpz_init_set_ui' /usr/bin/ld: fib.c:(.text+0x80): undefined reference to `__gmpz_init_set_ui' /usr/bin/ld: fib.c:(.text+0x8c): undefined reference to `__gmpz_init' /usr/bin/ld: fib.c:(.text+0xb9): undefined reference to `__gmpz_add' /usr/bin/ld: fib.c:(.text+0xcc): undefined reference to `__gmpz_set' /usr/bin/ld: fib.c:(.text+0xdf): undefined reference to `__gmpz_set' /usr/bin/ld: fib.c:(.text+0x140): undefined reference to `__gmpz_out_str' /usr/bin/ld: fib.c:(.text+0x156): undefined reference to `__gmpz_clear' /usr/bin/ld: fib.c:(.text+0x162): undefined reference to `__gmpz_clear' /usr/bin/ld: fib.c:(.text+0x16e): undefined reference to `__gmpz_clear' collect2: error: ld returned 1 exit status
the only confusing thing is that you're a Developer (allegedly) and don't know how computers work. this is miniscule. What you meant to say is "computers are so much faster than me, it may as well be magic, because I don't understand computers." What a terrible video - and you should be ashamed for trying to be like "omg LOOK COMPUTERS CAN DO MATHS!". Yes, that's why we invented them.
I am currently making a 2d space simulator, and I am constantly worried about what might be too much math for the computer. This video puts those worries to sleep.
OK, I admit it, I am old! Back in the mid 1970s my work computer was generally programmed in assembly and it did not have a disk. It had a "high speed" paper tape reader. It read 120 characters per second and the computer's clock speed was just over half a MegaHertz! I first realised that computers were fast when I calculated that the computer could process nearly a hundred pages of code in between reading adjacent characters from a paper tape. Things have only got faster since!
Computers are amazingly fast. They have been for decades. Everyday tasks can be so fast that you didn’t realize anything happened. Basic and old systems are even faster in some ways. I was surprised when I made a reaction time tester on an Arduino Uno some years ago. System latency was on the order of a microsecond and it showed. The PC had several centiseconds: whatever the mouse/keyboard does, a USB poll, scheduling and drawing an update, waiting for vblank, transmitting to the panel, some buffering there, LCD switch time. It’s freaky to watch high-speed video of it. Also to realize how much faster you are than the supposed human average, although who knows how that was determined. New gaming-oriented systems should be better, but instant is on another level.
fun fact: the GHz in front of your CPU indicate's the amount of calculations it can make in a second, like 2.10 GHz is like 2 billion and 100 million calculations in a second and 3.06 is like 3 billion and 60 million calculations in a second.
@@pigggy2313 bro i already know and most people know it but most don't know what the actual number means and what it does, i mean like most know the higher the number the faster the pc but don't know what actually higher does, like the difference is in billions so that's my point,you don't need to to comment that.
you needed to not use any OS because it slows the program down so make an OS that just does that your code does but faster because no other code is needed to process because thats the only task
now try running it as raw assembly code without even printing the numbers. It'd probably be a fraction of the time here. To get the numbers without printing them just use a watch or something. I just think it'd be cool to see what's the fastest one could physically make it go.
I also think about it quite a lot. We take that as granted sometimes, but what we can do with computers is insane. We can automate almost everything, and never do that thing again!
It's still amazing to me that Intel and AMD can fit all these numbers into their CPUs. And every year the number of numbers increases by doubling. Amazing stuff 10/10