tsung-wei-huang / cs1420

Object-oriented Programming in C++
2 stars 2 forks source link

Assignment Questions #1

Open ghostmango opened 3 years ago

ghostmango commented 3 years ago

Dear Dr.Huang,

Hi, the assignment on canvas says it's due on 10/8. However, the assignment tab is open for submission until 10/9(SAT) 2:59 PM. Could you confirm the exact KST date for it? https://utah.instructure.com/courses/740762/assignments/9889942

tsung-wei-huang commented 3 years ago

@ghostmango actually, the time is set to be at Utah's time. Please stick with the canvas due time.

ghostmango commented 3 years ago

Hi, I have more questions about optimization.

  1. Are you going to cover optimization in class? If not, could you recommend me videos or links about it?
  2. In PA1 it says 'Do you see significant runtime difference when enabling -O3 optimization in your compiler?', how do I run the new code on the right to see its runtime(It looks like machine code or something)? The time on the bottom looks like compile time, not runtime.
  3. PA2 it says 'Do you see any difference between the two versions in terms of assembly? (with optimization -O2)', what point should I look for?

dddd ,

tsung-wei-huang commented 3 years ago

@ghostmango thanks for the questions.

  1. I believe I have talked about the optimization in 10/8's lecture - yet there are plenty tutorials and education materials available online that you can learn :)
  2. on the top right (gear icon) of online gdb https://www.onlinegdb.com/, you can select extra compiler flags to run the program with and without optimization.
  3. This can be a very general discussion - for example, lines of assembly code and the code complexity you have seen.
ghostmango commented 2 years ago

@tsung-wei-huang Hi, Could you upload the lecture slide and PA? I'd also like to see the recorded lecture of NOV 12th and 19th. Have a great Thanksgiving break!

tsung-wei-huang commented 2 years ago

Hi, I have uploaded the lectures and PAs (sry I forgot)

I will upload the video later today. They are in my another computer.

On Wed, Nov 24, 2021 at 3:51 AM Woojin Lee @.***> wrote:

@tsung-wei-huang https://github.com/tsung-wei-huang Hi, Could you upload the lecture slide and PA? I'd also like to see the recorded lecture of NOV 12th and 19th. Have a great Thanksgiving break!

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/tsung-wei-huang/cs1420/issues/1#issuecomment-977758910, or unsubscribe https://github.com/notifications/unsubscribe-auth/ADE72BOREJWXTBSAZZJRBOTUNS7TJANCNFSM5FQI3W3Q .

-- Tsung-Wei Huang Assistant Professor, Department of ECE University of Utah, Salt Lake City, UT Webpage: https://tsung-wei-huang.github.io/