Thanks again to Open Source Security, inc and Embecosm for their ongoing support for this project. Add check for duplicate overlapping impl-items Rust allows for multiple impl blocks to give specialisation to a generic data type. But if the programmer adds a generic impl for a dup method it will become impossible to distinguish the […]
GCC Rust Weekly Status Report 11
Thanks again to Open Source Security, inc and Embecosm for their ongoing support for this project. Milestone Progress This week there has been no progress change for this milestone but that does not mean no work was done. I have opened a new PR that implements the TurboFish which ensure the compiler iterates all segments […]
GCC Rust Weekly Status Report 10
Status Report Call We are going to have our first community status report call this week on Zulip on 2nd April 2021 at 15:30 UTC+1, this is a public holiday for many people but I am going to work these days. Everyone is welcome just join on zulip. Testsuite changes Recently we have updated the […]
GCC Rust Weekly Status Report 9
Milestone Progress As part of my on going work into generics this milestone breaks down into 3 major pieces of work: ADT (algebraic data type) with generic params Function with generic params Impl blocks with generic params The first piece is in and merged the 2nd one is an open PR over on PR297. This […]
GCC Rust Weekly Status Report 8 – Return of the Generics
Google Summer of Code 2021 With the recent announcement of Google Summer of Code 2021 GCC Rust has received a lot of interest from many different students. All of whom are getting up and running with the compiler and trying to figure out what their project proposal will be. This year google summer of code […]
GCC Rust Weekly Status Report 7 – New Contributors
An exciting start to March with two new contributors lets welcome: Yizhe https://github.com/YizhePKU – Copyright assignment in progress Marc Poulhiès https://github.com/dkm – Awaiting Copyright assignment There are several streams of work going on in GCC Rust this month, opening up with issue-248, GCC has 2 loggers currently one in the JIT project and one in […]
GCC Rust Weekly Status Report 6 – Generics WIP
In this weeks status report, multiple pieces of work are in progress. You can find on the repo a branch for adding generics to Algebraic data types. To implement Generics, two significant pieces of work are needed: a ParamTy, a placeholder TyTy to reference of Generic Argument, the other is a Substitution Mapping that allows […]
GCC Rust Weekly Status Report 5 – Loop Expressions
Control flow 1 Milestone as been completed this means the front-end can now handle Block expressions, Loop and While Loop expressions, as well as method resolution. The remaining “For” loop construct has been left out for now. This requires Iterators that will need generics and traits to be implemented first. Since the milestone has been […]
GCC Rust – Weekly Status Report – 1st to 8th Feb 2021
The control flow one milestone is filling in the gaps in basic rust compilation such as impl blocks, method resolution, block expressions and loops. When the PR for block expressions was merged regressions in implicit returns were found via manual testing. The automated test suite failed to pick this up due to a bug in […]
GCC Rust – Weekly Status Report – 18th to 25th Jan 2021
The completed activities here are the final building blocks to complete the remaining tasks for the first planned milestone. In order to support the size type rules on ArrayIndexExpressions and allow for code such as: The LiteralExpression of ‘1’ resolves to an IntegralInferenceVariable which when unified as part of the HM algorithm resolves to a […]