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!
='Schemas' not 'data structures'= * struct definitions are normally mixed in with the the procedural instruction source code. * Structures are a binding of **data types** to **variable names**. * Separate the **representation** from the **implementation**. ** Standard native in memory with the same performance and so on. *** Allow for separate memory layout. Some arch (for example Cell processors require memory padding). *** In memory ordering. *** Endianness?. ** Serilization. ** Database backed. * Older OOP languages like C++ and Java also bind **methods/member functions** to **data structures**. * Newer languages like Rust and Go move away from OOP and use interfaces (ie traits) primarily. * Conceptually design it as **API's** not bound functions. ** Allow for standard native function calls, or RPC calls, etc... IPC or networked. ** Some kind of distributed backend (Raft, Blockchain) * Could allow security definitions in the schema. Ie, who can edit this variable. Allows you to separate the security implementation stuff from the data structure. * Would capnproto be usable? What about things like generics. iirk there is programming stuff capnproto doesn't support...
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