Hide metadata

dc.contributor.authorVesteraas, Erik Andreas
dc.date.accessioned2017-12-08T22:27:51Z
dc.date.available2017-12-08T22:27:51Z
dc.date.issued2017
dc.identifier.citationVesteraas, Erik Andreas. Rust types from JSON samples - Approximating type providers with procedural macros in Rust. Master thesis, University of Oslo, 2017
dc.identifier.urihttp://hdl.handle.net/10852/59248
dc.description.abstractWhen programmers access external data in a statically typed programming language, they are often faced with 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 Rust programming language. The project uses compile-time metaprogramming along with alternative interfaces to the same code generation implementation to achieve convenient, type-safe access to data in the JSON data format. While JSON is chosen as the format for the presented library, the approach also applies to other data formats and sources.eng
dc.language.isoeng
dc.subjectrust
dc.subjectmacro
dc.subjecttype safety
dc.subjectcode generation
dc.subjectmetaprogramming
dc.subjecttype provider
dc.subjectstrong types
dc.subjectF#
dc.titleRust types from JSON samples - Approximating type providers with procedural macros in Rusteng
dc.typeMaster thesis
dc.date.updated2017-12-08T22:27:51Z
dc.creator.authorVesteraas, Erik Andreas
dc.identifier.urnURN:NBN:no-61939
dc.type.documentMasteroppgave
dc.identifier.fulltextFulltext https://www.duo.uio.no/bitstream/handle/10852/59248/1/Thesis-ErikVesteraas.pdf


Files in this item

Appears in the following Collection

Hide metadata