I wanted to study some twenty-first century programming languages, open source and                         not coming out from a big vendor, and I pic

Overview of Rust and Pony

submited by
Style Pass
2023-03-14 20:30:09

I wanted to study some twenty-first century programming languages, open source and not coming out from a big vendor, and I picked Rust and Pony. Here is my potted overview of the features.

Both Pony and Rust are compiled programming languages for highly concurrent applications, use C family syntax (like C++, C#, Java), are designed to be safe (thread-safe, deadlocks, race conditions, dangling pointers). But both add quite a few nice wrinkles and side ideas. 

A Trait is like a class that can be mixed-in, but does not have any fields. It allows different abstract or real functions to be defined, and for providing type information to satisfy generic functions implemented with that type as an argument.

Both Rust and Pony are designed around compile-time features to prevent memory problems: how do you make sure your program has enough details that static checking can detect errors and fail to compile.

Leave a Comment