Skip to content

[Structure] Add memory manipulation #681

@geekygirlsarah

Description

@geekygirlsarah

Description

This issue is for adding a new structure for all languages that will let you compare a new aspect of a language. Ideally someone with many programming languages will help work on this.

This structure should show how to deal with memory within a programming language. This could include:

  • Commands to allocate chunks of memory
  • Commands to delete chunks of memory
  • Are you able to request more memory for an existing memory chunk?
  • How to create pointers or references
  • How to access or write to items pointers point at
  • Whether pointers will self-destruct when the last usage of it is gone
  • How to trigger a garbage collection

Or other things. It should take some thought on all of the features that any programming language could have. Upon making this PR, expect it to have some revisions as people from various programming language backgrounds offer suggestions.

Requirements

  1. Look over the documentation at https://docs.codethesaur.us/thesaurus/add-new-structure/
  2. Add a new file under web/thesauruses/_meta named whatever feels appropriate
  3. Open up web/thesauruses/meta_info.json and add your new file to that file in the structures section.
  4. Add in some categories, then add in the concepts under that
  5. Feel free to use any _meta file as examples for how to do it
  6. Make a PR and we can help test and review it

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    Status

    To do

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions