• mike64_t Profile Picture

    mike64_t @mike64_t

    a year ago

    It always amazes me how this is not the first thing taught in a CS class. It always makes people have Eureka moments whenever I show this to people...

    mike64_t tweet picture
    mike64_t tweet picture
    mike64_t tweet picture
    mike64_t tweet picture
    keyboard_arrow_left Previous keyboard_arrow_right Next

    114 180 3K 588K 5K
    Download Image
  • mike64_t Profile Picture

    mike64_t @mike64_t

    a year ago

    (also not me calling the program counter the stack pointer because stupidity)

    0 0 74 43K 4
  • mike64_t Profile Picture

    mike64_t @mike64_t

    a year ago

    In case you are wondering at the LOAD 200, 0 JUMP 0 part of the program, this basically just exploits the fact that the memory is initialized with zeros and we can get a zero by just loading some address that hasn't been touched yet. Jumping to that value, will reset the program counter (unfortunately called stack pointer in this code due to brain damage) back to 0 to restart the program, creating an infinite loop, which this program aims for.

    2 0 51 35K 24
  • jamesjyu Profile Picture

    james yu @jamesjyu

    a year ago

    @mike64_t Usually the first thing taught in a computer engineering course in EE depts

    0 0 8 2K 0
  • Xilo_K Profile Picture

    xilo @Xilo_K

    a year ago

    @mike64_t honestly writing a little 6502 emulator is a great way to get into CS

    0 0 7 1K 2
  • 0xKeef Profile Picture

    Keef @0xKeef

    a year ago

    @mike64_t Explain to me as my first thing I learn about CS

    1 0 2 2K 0
  • nehadesaraju Profile Picture

    neha @nehadesaraju

    a year ago

    @mike64_t lol this was the easy part, implementing instruction bubbling/optimizations was the nightmare

    0 0 2 73 0
  • cybourgeoisie Profile Picture

    Ben @cybourgeoisie

    a year ago

    @mike64_t This reminds me of Feynman's attempts to teach physics "from first principles" to kids who didn't learn physics yet, which didn't work well. It did work for anyone who was taking a second pass through everything. Because then they have the context of "why" and where it goes.

    0 0 1 82 0
  • _yashkarthik Profile Picture

    yash karthik @_yashkarthik

    a year ago

    @mike64_t This is beautiful

    0 0 1 549 0
  • ThePhysicsMemes Profile Picture

    Physics Memes @ThePhysicsMemes

    a year ago

    @mike64_t Factorio first

    0 0 0 135 0
  • verbine Profile Picture

    Elad Verbin @verbine

    a year ago

    @mike64_t This is the first thing thet taught me and i hated it. It becomes mindblowing only after you learn a lot more

    0 0 0 91 0
  • fastnfair Profile Picture

    drop - buying skins @fastnfair

    a year ago

    @mike64_t @ethananam imagine hating students so much the first thing you’d teach them is assembly.

    4 0 183 23K 2
  • thebadcode Profile Picture

    austin (e/accordion 🪗) @thebadcode

    a year ago

    @mike64_t For the right kind of student, this would be a great introduction, but immediately going meta (writing programs that simulate computers executing programs) would confuse the shit out of many.

    2 0 173 23K 9
  • realvanneth Profile Picture

    Van @realvanneth

    a year ago

    This low level stuff is not THAT helpful and should be abstracted for like 90% of developers. If performance needs to be studied down to this level of granularity is needed, you’re probably part of the 10%. If this was the first thing I saw in class, I would change majors immediately.

    3 0 37 20K 5
  • ___jaiden_ Profile Picture

    j money @___jaiden_

    a year ago

    @mike64_t I think you are more appreciative of it when you learn it after.

    1 0 21 5K 0
  • charcombination Profile Picture

    String @charcombination

    a year ago

    @mike64_t This is the first thing taught in a CS class in my university I’m not really sure this improves understanding unless you want to go low level later on

    1 0 10 7K 0
  • dshaw002 Profile Picture

    David @dshaw002

    a year ago

    @mike64_t You’re teaching how computer handles instructions, but not how to translate thought to these formats (e.g. stacks, recursion, loops, etc). Someone with no knowledge ahead of this explanation could easily get lost. SICP is the best book I’ve seen do this so far

    3 0 7 5K 7
  • Download Image
    • Privacy
    • Term and Conditions
    • About
    • Contact Us
    • TwStalker is not affiliated with X™. All Rights Reserved. 2024 www.instalker.org

    twitter web viewer x profile viewer bayigram.com instagram takipçi satın al instagram takipçi hilesi twitter takipçi satın al tiktok takipçi satın al tiktok beğeni satın al tiktok izlenme satın al beğeni satın al instagram beğeni satın al youtube abone satın al youtube izlenme satın al sosyalgram takipçi satın al instagram ücretsiz takipçi twitter takipçi satın al tiktok takipçi satın al tiktok beğeni satın al tiktok izlenme satın al beğeni satın al instagram beğeni satın al youtube abone satın al youtube izlenme satın al metin2 metin2 wiki metin2 ep metin2 dragon coins metin2 forum metin2 board popigram instagram takipçi satın al takipçi hilesi twitter takipçi satın al tiktok takipçi satın al tiktok beğeni satın al tiktok izlenme satın al beğeni satın al instagram beğeni satın al youtube abone satın al youtube izlenme satın al buyfans buy instagram followers buy instagram likes buy instagram views buy tiktok followers buy tiktok likes buy tiktok views buy twitter followers buy telegram members Buy Youtube Subscribers Buy Youtube Views Buy Youtube Likes forstalk postegro web postegro x profile viewer