Advertisement
Guest User

Smash Mouth's All-Star but it's CS 61C

a guest
Jun 19th, 2021
459
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.25 KB | None | 0 0
  1. https://www.youtube.com/watch?v=LYG7sMtb6u8 <-- All Star Song Audio
  2.  
  3. Somebody once told me 61C is gonna roll me
  4. I ain't the sharpest kid in CS
  5. I was looking kind of glum when I finally first saw
  6. Well it looks like I'll use "C" in this project
  7.  
  8. Well, the mallocs start coming and they don't stop coming
  9. Just read the spec and I hit the ground running
  10. Didn't make sense not to free everything
  11. Your code gets short but your memory goes weak
  12. So much to make, so much to free
  13. So what's wrong with #include OMP?
  14. You won't know til you run make
  15. You'll never learn if it don't break
  16.  
  17. Hey now, you're in parallel
  18. Get your threads on, go fast
  19. Hey now, you're a SIMD
  20. Get the vectors, get past
  21. And all that's serial is mold
  22. Only Amdahl's law breaks the mold
  23.  
  24. It's a warm place, and they say it gets warmer
  25. You're sweating up now, wait 'til you get bigger
  26. But the Apple men beg to differ
  27. Judging by the chip in the Macbook picture
  28. The module we made is about to crash
  29. The memory's pretty slow so you might as well cache
  30. My CPU's on fire, how 'bout yours?
  31. That's the way I like it and I'll never get bored
  32.  
  33. Hey now, you're in parallel
  34. Get your threads on, go fast
  35. Hey now, you're a SIMD
  36. Get the vectors, get past
  37. And all that serial is mold
  38. Only Amdahl's law breaks the mold
  39.  
  40. *musical interlude*
  41.  
  42. Hey now, you're in parallel
  43. Get your threads on, go fast
  44. Hey now, you're a SIMD
  45. Get the vectors, get past
  46. And all that serial is mold
  47. Only Amdahl's lawwww
  48.  
  49. Dan once asked
  50. Could you write some code for class?
  51. "I need to get myself a module in python"
  52. I said, "Yep, what a concept
  53. I could use a little numc myself
  54. And we could all use some matricies"
  55.  
  56. Well, the mallocs start coming and they don't stop coming
  57. Just read the spec and I hit the ground running
  58. Didn't make sense not to free everything
  59. Your code gets short but your memory goes weak
  60. So much to make, so much to free
  61. So what's wrong with #include OMP?
  62. You won't know til you run make
  63. You'll never learn if it don't break
  64.  
  65. Hey now, you're in parallel
  66. Get your threads on, go fast
  67. Hey now, you're a SIMD
  68. Get the vectors, get past
  69. And all that serial is mold
  70. Only Amdahl's law breaks the mo-old
  71. And all that serial is mold
  72. Only Amdahl's law breaks the mo-old
  73.  
  74. Written by Arunan Thiviyanathan
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement