Simple Artificial Neural Network entirely in assembly language

Поділитися
Вставка
  • Опубліковано 17 вер 2024

КОМЕНТАРІ • 38

  • @ComputingMongoose
    @ComputingMongoose  20 годин тому

    The code for my simple assembly language artificial neural network is now on github: github.com/ComputingMongoose/AsmANN

  • @elementare.
    @elementare. 7 днів тому +12

    You're insane, I'll watch your videos from start. Thank u!

    • @ComputingMongoose
      @ComputingMongoose  7 днів тому +4

      I'm glad you enjoyed it. Also, stay tuned for more. I will post in a few days a comparison with Pytorch Lightning for the same small data and will continue building more functionality for my ASM neural network.

  • @JoeBurnett
    @JoeBurnett 3 дні тому +3

    Wow! This is great! I would also love seeing this adapted in ARM assembly if you’re taking suggestions for future videos.

    • @ComputingMongoose
      @ComputingMongoose  3 дні тому +3

      Suggestions are always welcome! I am also playing with a Pi Pico at the moment, but not in assembly. In the future however I may do some ARM assembly as well.

  • @fhmisml
    @fhmisml 6 днів тому +3

    somehow youtube brought me here and this is insane, +1 sub

  • @shreymaru1613
    @shreymaru1613 6 днів тому +1

    Crazy idea and efforts to make this 🤯

    • @ComputingMongoose
      @ComputingMongoose  6 днів тому

      Glad you enjoyed it! And not really that much effort. I always enjoyed assembly and I'm currently working in AI research, so I was really curious how it compares to have it in ASM vs Python. In a few days I will post a video with the speed comparison of a similar small network implemented in Pytorch Lightning, for the same data and no gpu. So stay tuned for more crazy stuff 😎 🙃

  • @corelativ.
    @corelativ. 17 годин тому

    Such a great video , perhaps could you make an explanation how to learn code on your own way ?

    • @ComputingMongoose
      @ComputingMongoose  5 годин тому

      Thank you. This is actually the second request for a learning video. I will try to make one, but not in the very near future since it will take me a while to cover the architecture and the basic instructions.

  • @Accanfo
    @Accanfo 3 дні тому +1

    Nuts

  • @burnytech
    @burnytech 2 дні тому +1

    nice

  • @youtubpremiu0008
    @youtubpremiu0008 6 днів тому +4

    i recently came across your channel and it seems you pretty great at dealing things at hardware level i also want to study and know about the computer hardware and but the problem is i didn't have any organized set of resources which make a lot harder to understand things i do have a pretty knowledge about the computers though but still there so many missing puzzles that are yet to fit to fully understand can you help me please.

    • @gac5700
      @gac5700 6 днів тому +2

      nand2tetris (building a computer from first principles),
      computer systems a programmer's perspective,
      operating systems three easy pieces,
      computer networking a top down approach

    • @ComputingMongoose
      @ComputingMongoose  6 днів тому +1

      I see user @gac5700 already replied with a nice set of resources. I want to add that sometimes it may be easier to start learning using a simpler CPU (either a microcontroller or an older CPU for example). All CPUs have registers, buses, addresses, data, etc. In a simpler one you can play with a reduced set of such registers and instructions. I would recommend Intel 8080 (you can find a bunch of emulators) or Intel 8088 (again a bunch of emulators or even real hardware). 8088 is the basis for modern x86 architectures and the basic instructions are the same (also when a modern CPU turns on it is basically in 8088 mode). On the microcontroller side, you can easily start playing with a Pi Pico or similar and even create some circuits. Pi Pico has a modern ARM-based or RISC-V based CPU (these are different from x86). It all depends what you want to do with what you learn.

    • @ComputingMongoose
      @ComputingMongoose  6 днів тому

      Good ones!

  • @notsojharedtroll23
    @notsojharedtroll23 4 дні тому

    I was discussing on a
    Some comments over videos about this and fucking hell. Very cracked

  • @kenedi987
    @kenedi987 3 дні тому +1

    amazing video,

  • @tusharrakhunde9921
    @tusharrakhunde9921 3 дні тому +1

    You're amazing 😮

  • @GizmoJunk
    @GizmoJunk 5 днів тому

    Is this Giskard; is this you, from the The Engineering Guild? It sure sounds like it's you.

  • @turnoff7572
    @turnoff7572 4 дні тому

    Here before your chammel gets some traction. Would you be willing to make x86 16 or 32bit assembly tutorials for absolute beginners to programming.

    • @ComputingMongoose
      @ComputingMongoose  4 дні тому +3

      I was considering some beginner tutorials (not in the very near future though), but I was thinking about modern 64-bit stuff. Why are you interested in 16 or 32 bit as a beginner? From a job perspective, nowadays almost everything runs in 64-bit. If you want to do some code optimization or write routines for drivers in assembly you are likely working on 64-bit systems. Alternatively, you could learn ARM / RISC-V for things like embedded systems.

    • @filipzdravkovic7134
      @filipzdravkovic7134 День тому

      @@ComputingMongoose What tutorial or course would you recommend to a person who is completely new to assembler ?

    • @ComputingMongoose
      @ComputingMongoose  20 годин тому

      @@filipzdravkovic7134 I'm sorry, but I don't have a particular tutorial or resource in mind. My experience was accumulated over many years from many sources and through work. I do hope you will find a good resource.

  • @BryanChance
    @BryanChance 4 дні тому +1

    Hmmm...ok it's go..:-)

  • @ALTINSEA1
    @ALTINSEA1 4 дні тому

    Was this faster since its low level languae?

    • @ComputingMongoose
      @ComputingMongoose  3 дні тому +2

      Actually yes. I will upload a video comparing this to Pytorch Lightning in a couple of days, using the same data and no gpu.

  • @warzik5910
    @warzik5910 3 дні тому +1

    1) what

  • @faridfael8826
    @faridfael8826 3 дні тому +1

    You are legend 😂

  • @MasabHuq
    @MasabHuq 5 днів тому

    You monster

  • @MahmutAyabakan
    @MahmutAyabakan 3 дні тому

    Miller Scott Miller John Martin Paul

  • @NewmanWilliam-g9i
    @NewmanWilliam-g9i 4 дні тому

    Young Sarah Jackson Helen White Jeffrey