Shepherd's Oasis, LLC

Shepherd's Oasis, LLC

A software consulting, contracting, training, teaching and services company here to help you deliver the best quality for your business, organization, customers and constituents!

A Mirror for Rust: Compile-Time Reflection Report

A plan for generic compile-time introspection in Rust, without the usual run-time baggage.

Shepherd, ThePhD

60-Minute Read

A reflective glass ball sits on a root of a tree, photographed upside-down to allow for the reflection inside of the glass ball to appear right-side up. The reflection shows the sky and the trees around in the forested area.

With a powerful trait system, compile-time constants, and where-and-:-style bounding for types and constants, Rust’s take on generic functions has been a refreshing departure from the anything-goes, Wild Wild West, errors-only-when-called template system of C++. Furthermore, its macro system has been a much needed replacement of C’s underpowered macro system, allowing users to actually generate code in a consistent and dependable manner at compile-time, with the ever-powerful…

Recent Posts

Categories

About

A contracting and consulting company ready to serve your business needs, locally or globally!