Nettsider med emneord «Rust»

Publisert 7. okt. 2020 14:36

The task is to design and implement a radmomization concept for Rust compilation

Publisert 16. juni 2020 12:40
Publisert 21. aug. 2017 15:05

When programmers access external data in a statically typed programming language, they often face a dilemma between convenient and type-safe access to the data.


In the programming language F#, a concept called type providers has been proposed as a solution to this problem by having compiler support for libraries with the capability to generate types at compile time.


This thesis presents json_typegen, a project which aims to show the feasibility of similar solutions in the RUSTprogramming language. The project uses compile-time meta-programming along with alternative interfaces to the same code generation implementation to achieve convenient, type-safe access in the JSON data format. While JSON is chosen as a format for the presented library, the approach  also applies to other data formats and sources