cinera_handmade.network/miotatsu/riscy/coad/coad002.hmml

123 lines
7.1 KiB
Plaintext
Raw Normal View History

2018-08-18 16:55:55 +00:00
[video member=miotatsu stream_platform=twitch project=book title="1.2 & 1.3" vod_platform=youtube id=Y9cRAecLf_M annotator=Miblo]
[0:07][Recap and set the stage for the day, with ~milton open]
[1:11][Chapter 1.2 - Eight Great Ideas in Computer Architecture[ref
title="Computer Organization and Design RISC-V Edition"
author="David Patterson & John Hennessy"
publisher="Morgan Kaufmann"
isbn=9780128122754
url=https://www.elsevier.com/books/computer-organization-and-design-risc-v-edition/patterson/978-0-12-812275-4]][:research]
[2:10][An example of the icons in the margins of the book]
[3:55][Great Idea 1: A Design for Moore's Law[ref
title="Computer Organization and Design RISC-V Edition"
author="David Patterson & John Hennessy"
publisher="Morgan Kaufmann"
isbn=9780128122754
url=https://www.elsevier.com/books/computer-organization-and-design-risc-v-edition/patterson/978-0-12-812275-4]][:research]
[5:01][A few notes on the datedness of that section]
[7:48][Great Idea 2: Use Abstractions to Simplify Design[ref
title="Computer Organization and Design RISC-V Edition"
author="David Patterson & John Hennessy"
publisher="Morgan Kaufmann"
isbn=9780128122754
url=https://www.elsevier.com/books/computer-organization-and-design-risc-v-edition/patterson/978-0-12-812275-4]][:research]
[8:39][Commentary on abstraction in software, and [@cmuratori Casey]'s compression-oriented programming][:rant]
[13:30][Great Idea 3: Make the Common Case Fast[ref
title="Computer Organization and Design RISC-V Edition"
author="David Patterson & John Hennessy"
publisher="Morgan Kaufmann"
isbn=9780128122754
url=https://www.elsevier.com/books/computer-organization-and-design-risc-v-edition/patterson/978-0-12-812275-4]][:optimisation :research]
[16:27][Great Idea 4: Performance via Parallelism[ref
title="Computer Organization and Design RISC-V Edition"
author="David Patterson & John Hennessy"
publisher="Morgan Kaufmann"
isbn=9780128122754
url=https://www.elsevier.com/books/computer-organization-and-design-risc-v-edition/patterson/978-0-12-812275-4]][:optimisation :research]
[17:03][Great Idea 5: Performance via Pipe-lining[ref
title="Computer Organization and Design RISC-V Edition"
author="David Patterson & John Hennessy"
publisher="Morgan Kaufmann"
isbn=9780128122754
url=https://www.elsevier.com/books/computer-organization-and-design-risc-v-edition/patterson/978-0-12-812275-4]][:optimisation :research]
[17:58][A few words on the old bucket brigade, and the Little Rascals movie[ref
site=IMDb
page="The Little Rascals"
url=http://www.imdb.com/title/tt0110366/]]
[18:52][Great Idea 6: Performance via Prediction[ref
title="Computer Organization and Design RISC-V Edition"
author="David Patterson & John Hennessy"
publisher="Morgan Kaufmann"
isbn=9780128122754
url=https://www.elsevier.com/books/computer-organization-and-design-risc-v-edition/patterson/978-0-12-812275-4]][:research]
[19:27][Great Idea 7: Hierarchy of Memories[ref
title="Computer Organization and Design RISC-V Edition"
author="David Patterson & John Hennessy"
publisher="Morgan Kaufmann"
isbn=9780128122754
url=https://www.elsevier.com/books/computer-organization-and-design-risc-v-edition/patterson/978-0-12-812275-4]][:memory :research]
[20:50][A few notes on the relevance of the cache][:hardware]
[24:33][Great Idea 8: Dependability via Redundancy[ref
title="Computer Organization and Design RISC-V Edition"
author="David Patterson & John Hennessy"
publisher="Morgan Kaufmann"
isbn=9780128122754
url=https://www.elsevier.com/books/computer-organization-and-design-risc-v-edition/patterson/978-0-12-812275-4]][:research]
[26:10][Chapter 1.3 - Blow Your Program[ref
title="Computer Organization and Design RISC-V Edition"
author="David Patterson & John Hennessy"
publisher="Morgan Kaufmann"
isbn=9780128122754
url=https://www.elsevier.com/books/computer-organization-and-design-risc-v-edition/patterson/978-0-12-812275-4]][:research]
[29:27][A :rant on languages providing features that cater to abstraction][:language]
[32:05][Glimpse into the future of creating our own small, minimal :language that is directly related to the assembly of RISC-V][:asm]
[33:14][Plug Krste Asanovic's tweet on the arrival of RISC-V support in GCC[ref
author="Krste Asanovic"
site=Twitter
page="GCC 7.1 with RISC-V support released!"
url=https://twitter.com/kasanovic/status/859492869953990658]][:language]
[34:08][From a high-level :language to the language of :hardware[ref
title="Computer Organization and Design RISC-V Edition"
author="David Patterson & John Hennessy"
publisher="Morgan Kaufmann"
isbn=9780128122754
url=https://www.elsevier.com/books/computer-organization-and-design-risc-v-edition/patterson/978-0-12-812275-4]][:research]
[37:14][Exercise for the viewer: Look up the encoding for the add instruction in the RISC-V spec, to see if it agrees with the book][:research]
[38:54][Instruction Encoding][:blackboard]
[39:23][Assembly :language and machine code[ref
title="Computer Organization and Design RISC-V Edition"
author="David Patterson & John Hennessy"
publisher="Morgan Kaufmann"
isbn=9780128122754
url=https://www.elsevier.com/books/computer-organization-and-design-risc-v-edition/patterson/978-0-12-812275-4]][:research]
[40:10][A few words on the programmer needing to think like the computer][:language]
[42:48][:Language abstractions, and an example swap function in [:asm assembly][ref
title="Computer Organization and Design RISC-V Edition"
author="David Patterson & John Hennessy"
publisher="Morgan Kaufmann"
isbn=9780128122754
url=https://www.elsevier.com/books/computer-organization-and-design-risc-v-edition/patterson/978-0-12-812275-4]][:research]
[50:17][A few words on gcc's ability to output assembly]
[50:40][Continuing about [:asm assembly][ref
title="Computer Organization and Design RISC-V Edition"
author="David Patterson & John Hennessy"
publisher="Morgan Kaufmann"
isbn=9780128122754
url=https://www.elsevier.com/books/computer-organization-and-design-risc-v-edition/patterson/978-0-12-812275-4]][:research]
[51:26][A few words on FORTRAN, COBOL and lisp still being used by businesses][:language]
[52:48][Improved programmer productivity[ref
title="Computer Organization and Design RISC-V Edition"
author="David Patterson & John Hennessy"
publisher="Morgan Kaufmann"
isbn=9780128122754
url=https://www.elsevier.com/books/computer-organization-and-design-risc-v-edition/patterson/978-0-12-812275-4]][:research]
[53:12][A few words of praise for D for prototyping][:language]
[55:49][Platform independence[ref
title="Computer Organization and Design RISC-V Edition"
author="David Patterson & John Hennessy"
publisher="Morgan Kaufmann"
isbn=9780128122754
url=https://www.elsevier.com/books/computer-organization-and-design-risc-v-edition/patterson/978-0-12-812275-4]][:language :research]
[56:16][On the truth of this to a certain extent, while languages themselves being cross-platform are doomed to failure][:rant]
[59:28][A good time to stop]
[/video]