QBA22. - It's Hip To Be MAGIC Square!

แชร์
ฝัง

ความคิดเห็น • 2

  • @Notarget1337
    @Notarget1337 ปีที่แล้ว +1

    Have you tried running same thing on QB64? It could be blazing fast solving this problem on a modern processor natively.

    • @dr.doodlesqbasicasylum8709
      @dr.doodlesqbasicasylum8709  ปีที่แล้ว +1

      Thanks for the input! To answer your question, I have not tried this code on QB64, though I did compile it in QUICKBasic, and as you alluded to, it does run MUCH more quickly. The thing is, as a benchmark, the difference in performance between my two systems is really quite insignificant.
      Let's face it; ANY system can run a compiled program adequately fast, but when that same program must be interpreted "on the fly", I feel it gives a much better indication of the relative power of a given system.
      And honestly, the point of this program was never to be especially efficient, but just to inspire a logical approach toward solving various mathematical problems.
      As always, I encourage you to experiment with "tweaking" or optimizing this code any way you see fit & see what happens; this IS, after all, how we learn!
      Thanks, once again for commenting, and remember to have FUN coding! (Because if it ain't fun, why bother, right?) Cheers for now & I hope to see you in the next one!