Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Core
    • Labels:
      None

      Description

      For security and reliability, Lucy eschews C-style NULL-terminated strings
      except when absolutely necessary, favoring CharBuf objects instead. However,
      we would prefer to keep structs opaque and to use stack memory instead of heap
      memory for small string values. Furthermore, we would like to use object
      pointers consistently rather than object structs.

      These ends can be achieved by deploying the the non-standard but widely
      available stack memory allocator alloca().

        Attachments

        1. alloca.diff
          88 kB
          Marvin Humphrey

          Activity

            People

            • Assignee:
              marvin Marvin Humphrey
              Reporter:
              marvin Marvin Humphrey
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: