<div>I'm interested in starting (or joining) a discussion on the next
(*non* backwards compatible) version of FPC. Instead of being
classically object oriented, there is merit in examining a model with
ad-hoc polymorphism like Rust.<br></div><div><br></div><div>Strongest features of Pascal (in my opinion):<br></div><div> 1. Code readability<br></div><div> 2. Strong typing<br></div><div> 3. Quick compilation.<br></div><div> 4. ???<br></div><div> <br></div><div>Strongest features of Rust (from wikipedia):<br></div><div> 1. Memory safety (no null pointers, no dangling pointers, no data races in safe code)<br></div><div> 2. Memory management with "resource acquisition is initialization"<br></div><div> 3. Ownership rules favorable for safety<br></div><div> 4. Ad-hoc polymorphism (traits) [instead of traditional OOP class inheritance]<br></div><div> 5. ???<br></div><div><br></div><div>Other features worth investigation:<br></div><div> 1. Syntax for parallel math (SIMD)<br></div><div> 2. Syntax and methodology for parallel algorithms dispatch (GPU via Vulkan, RISC-V coprocessors, etc.)<br></div><div> 3. ???<br></div><div><br></div><div>So,
what features are desirable for a 21st century programming language in
this world of multiple cores? I think a clean slate new language "done
the Pascal way" would be beneficial.<br></div><div><br></div><div>Could someone with knowledge of both Pascal and Rust elucidate the advantages of both languages?<br></div><div><br></div><div>Is there interest in combining the syntax of Pascal with the features of Rust et al. to create the next version of FPC?<br></div><div><br></div><div>Thanks!<br></div>