Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. The Lounge
  3. I'm refactoring my codebase...

I'm refactoring my codebase...

Scheduled Pinned Locked Moved The Lounge
c++javagraphicsperformance
5 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • P Offline
    P Offline
    Paul Sanders the other one
    wrote on last edited by
    #1

    ... to get rid of all the hideous manual memory management I was using. (It's written in C++, and yes, I know I never should have done that in the first place, but let's just say I'm older and wiser now). Anyway, I just wanted to share the fact that I'm down to ~2500 compiler errors and counting. Things are looking up. It'll be interesting shaking out the bugs though, it actually worked just fine before the big hackathon of Spring '22. Also, just for the benefit of you C++ hounds, I find myself in an interesting position. In order to support the various platforms I want to support, I am limited to C++14 (which is actually not too bad) but, on my feeblest platform, the STL only supports C++03. That means no 'move semantics' in (most importantly) `std::vector` so I have rolled my own and plan to put up an article or two about that when I get my head above water. So take cover! You have been warned! :) And now, back to work :(

    Paul Sanders. Some of my best work is in the undo buffer.

    OriginalGriffO 1 Reply Last reply
    0
    • P Paul Sanders the other one

      ... to get rid of all the hideous manual memory management I was using. (It's written in C++, and yes, I know I never should have done that in the first place, but let's just say I'm older and wiser now). Anyway, I just wanted to share the fact that I'm down to ~2500 compiler errors and counting. Things are looking up. It'll be interesting shaking out the bugs though, it actually worked just fine before the big hackathon of Spring '22. Also, just for the benefit of you C++ hounds, I find myself in an interesting position. In order to support the various platforms I want to support, I am limited to C++14 (which is actually not too bad) but, on my feeblest platform, the STL only supports C++03. That means no 'move semantics' in (most importantly) `std::vector` so I have rolled my own and plan to put up an article or two about that when I get my head above water. So take cover! You have been warned! :) And now, back to work :(

      Paul Sanders. Some of my best work is in the undo buffer.

      OriginalGriffO Offline
      OriginalGriffO Offline
      OriginalGriff
      wrote on last edited by
      #2

      2500 compiler errors? Damn! It's amazing what an extra close curly bracket can do, isn't it? :-D

      "I have no idea what I did, but I'm taking full credit for it." - ThisOldTony "Common sense is so rare these days, it should be classified as a super power" - Random T-shirt AntiTwitter: @DalekDave is now a follower!

      "I have no idea what I did, but I'm taking full credit for it." - ThisOldTony
      "Common sense is so rare these days, it should be classified as a super power" - Random T-shirt

      P 1 Reply Last reply
      0
      • OriginalGriffO OriginalGriff

        2500 compiler errors? Damn! It's amazing what an extra close curly bracket can do, isn't it? :-D

        "I have no idea what I did, but I'm taking full credit for it." - ThisOldTony "Common sense is so rare these days, it should be classified as a super power" - Random T-shirt AntiTwitter: @DalekDave is now a follower!

        P Offline
        P Offline
        Paul Sanders the other one
        wrote on last edited by
        #3

        Oh man, that's a killer! "Unexpected end-of-file found", TVM MSVC.

        Paul Sanders. Some of my best work is in the undo buffer.

        OriginalGriffO 1 Reply Last reply
        0
        • P Paul Sanders the other one

          Oh man, that's a killer! "Unexpected end-of-file found", TVM MSVC.

          Paul Sanders. Some of my best work is in the undo buffer.

          OriginalGriffO Offline
          OriginalGriffO Offline
          OriginalGriff
          wrote on last edited by
          #4

          Or worse, an extra one - then pretty much everything after it throws a compiler error. :-D

          "I have no idea what I did, but I'm taking full credit for it." - ThisOldTony "Common sense is so rare these days, it should be classified as a super power" - Random T-shirt AntiTwitter: @DalekDave is now a follower!

          "I have no idea what I did, but I'm taking full credit for it." - ThisOldTony
          "Common sense is so rare these days, it should be classified as a super power" - Random T-shirt

          P 1 Reply Last reply
          0
          • OriginalGriffO OriginalGriff

            Or worse, an extra one - then pretty much everything after it throws a compiler error. :-D

            "I have no idea what I did, but I'm taking full credit for it." - ThisOldTony "Common sense is so rare these days, it should be classified as a super power" - Random T-shirt AntiTwitter: @DalekDave is now a follower!

            P Offline
            P Offline
            Paul Sanders the other one
            wrote on last edited by
            #5

            Toys and pram well and truly no longer acquainted with each other.

            Paul Sanders. Some of my best work is in the undo buffer.

            1 Reply Last reply
            0
            Reply
            • Reply as topic
            Log in to reply
            • Oldest to Newest
            • Newest to Oldest
            • Most Votes


            • Login

            • Don't have an account? Register

            • Login or register to search.
            • First post
              Last post
            0
            • Categories
            • Recent
            • Tags
            • Popular
            • World
            • Users
            • Groups