Thanks again to Open Source Security, inc and Embecosm for their ongoing support for this project. Milestone Progress This week my focus was on the linux plumbers conference so I was not able to complete any tickets for the current milestone, though I have made some good progress in investigating closures in C++ and GO […]
GCC Rust Weekly Status Report 13
Thanks again to Open Source Security, inc and Embecosm for their ongoing support for this project. Array Capacity and constant folding This week fixed several bugs in the compiler one of the big issues was constant expressions. In rust array capacities must be constant’s the default implementation simply just expected a LiteralExpression but this is […]
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 […]
GCC Rust – Weekly Status Report – Jan 11th
This week was the announcement of the funding for GCC Rust. GCC Rust – How it can be achieved: https://www.embecosm.com/2021/01/12/gcc-rust-how-it-can-be-achieved/ Open Source Security, Inc. Announces Funding of GCC Front-End for Rust: https://opensrcsec.com/open_source_security_announces_rust_gcc_funding Dev wise this week was about completing building blocks for Tuples support. Completed Activities Implicit returns should enforce typing on stmts before final […]
GCC Rust – Weekly Status Report – Jan 4th
This was the first week back since the Christmas vacation, it was good to get back into Rust. The focus was making sure the name resolver was working correctly by creating an unused name pass which threw up some bugs which had to be resolved on the way. Implicit Returns was the other big focus […]
GCC Rust status
As of today there is only one outstanding ticket for us to reach the goal of basic compilation of rust. The compiler currently the following building blocks in place: Lexer Parser Static Analysis Pass structure Abstracted GCC backend to GIMPLE reused from GCCGO which will need amendments over time The first milestone is compile primitives: […]