Editing
Programming Language
(section)
Jump to navigation
Jump to search
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
=File Structure (Ideas)= * Make 'flat'. * List of all symbol names. * Changing the name should result in all uses of the name being updated. * Use hash for id or index number? ** A name change with a hash would require all call sites to be updated as well. ** Index ID would be easier to update. ** An Index ID would allow name changes without breaking API. ** A hash might be needed for cross API compatibility. ** An ID would be quicker to lookup since it's just an index in an array. A Hash would require a hashmap. ** What about a UUID? It would be unique so cross library boundaries would be ok. No changes on rename. But slowish to look up. ** Index ID's could be put into namespaces. Would allow cross API's to be fine. ** UUID's could remove the need for namespaces. * How to remap from symbol id to uses... ** Keep a mapping of all the sites that use the symbol? * Could have a local identifier number, that maps to a global UUID. Could also combine the UUID+specific version. Would let you use different versions of the same function in the program. Could also save space (no 128bit number for every symbol, just a smaller one. But that might make merging problematic.)
Summary:
Please note that all contributions to Hegemon Wiki may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see
Hegemon Wiki:Copyrights
for details).
Do not submit copyrighted work without permission!
Cancel
Editing help
(opens in new window)
Navigation menu
Personal tools
Not logged in
Talk
Contributions
Log in
Namespaces
Page
Discussion
English
Views
Read
Edit
Edit source
View history
More
Search
Navigation
Main page
Recent changes
Random page
Help about MediaWiki
Tools
What links here
Related changes
Special pages
Page information