We introduce a novel programming model, Data Spatial Programming, which extends the semantics of Object-Oriented Programming (OOP) by introducing new class-like constructs called archetypes. These archetypes encapsulate the topological relationships between data entities and the execution flow in a structured manner, enabling more expressive and semantically rich computations over interconnected data structures or finite states. By formalizing the relationships between data elements in this topological space, our approach allows for more intuitive modeling of complex systems where a topology of connections is formed for the underlying computational model. This paradigm addresses limitations in traditional OOP when representing a wide range of problems in computer science such as agent-based systems, social networks, processing on relational data, neural networks, distributed systems, finite state machines, and other spatially-oriented computational problems.
翻译:我们提出了一种新颖的编程模型——数据空间编程,该模型通过引入称为原型的新型类结构,扩展了面向对象编程的语义。这些原型以结构化方式封装数据实体之间的拓扑关系与执行流程,从而能够在互连数据结构或有限状态上实现更具表达力与语义丰富性的计算。通过在拓扑空间中形式化数据元素间的关系,我们的方法能够更直观地对复杂系统进行建模,其中为底层计算模型形成了连接拓扑。这一范式解决了传统面向对象编程在表示计算机科学中广泛问题时的局限性,例如基于智能体的系统、社交网络、关系数据处理、神经网络、分布式系统、有限状态机以及其他空间导向的计算问题。