www.ncameron.org
The Rust Language Server (RLS) is an important part of the plan to provide IDE support for Rust developers. In this blog post I'll try to explain how the RLS works. The language server architecture for IDEs is a client/server architecture....
News & Blog Posts
2017-09-26
~8 min read
www.ncameron.org
2017-09-20 Welcome to the 2nd issue of these weeks in dev-tools! We've had a bunch of tools releases, some new people joining the team, and some accepted RFCs. We're also just getting into the impl period. We're hoping the impl period can b...
News & Blog Posts
2017-09-26
~1 min read
www.ncameron.org
IDE support for Rust is one of the most requested features in our surveys and is a key part of Rust's 2017 roadmap. Here, I'm going to talk about one of the things we're doing to bring Rust support to IDEs - the RLS. Programmers can be pret...
News & Blog Posts
2017-08-15
~4 min read
www.ncameron.org
2017-08-14 Welcome to the first ever issue of 'These Weeks in Dev-Tools'! The dev-tools team is responsible for developer tools for Rust developers. That means any tools a developer might use (or want to use) when reading, writing, or debug...
News & Blog Posts
2017-08-15
~2 min read
www.ncameron.org
Updated with some small changes tl;dr active development of Rustfmt will become nightly only for a while, and the default formatting will change dramatically. There are two big but orthogonal issues facing Rustfmt right now. On the formatti...
News & Blog Posts
2017-06-06
~2 min read
www.ncameron.org
TL;DR Primarily I would sell Rust as a language which lets you get stuff done and done quickly (all kinds of stuff, including lots of stuff you might not usually be comfortable with). A language that can be written easily, read easily, and...
News & Blog Posts
2017-01-03
~2 min read
www.ncameron.org
As I outlined in an earlier post, libmacro is a new crate designed to be used by procedural macro authors. It provides the basic API for procedural macros to interact with the compiler. I expect higher level functionality to be provided by...
News & Blog Posts
2016-01-25
~16 min read
www.ncameron.org
Over the Christmas break I made a start implementing an ELF library in Rust. This was interesting for me since I've not done a lot of library work before. I hope it will be interesting for you to read about it because it shows off some of t...
News & Blog Posts
2016-01-18
~13 min read
www.ncameron.org
2015 was a huge year for Rust - we released version 1.0, we stabilised huge swathes of the language and libraries, we grew massively as a community, and we re-organised the governance of the project. I expect 2016 will not be as interesting...
News & Blog Posts
2016-01-11
~6 min read
www.ncameron.org
KCL part 1: units This blog post is about numeric units. Numbers in KCL are not just a number like 42 they always include units, e.g., 42mm. This is not unknown: F# has a famous and
News & Blog Posts
2016-01-11
~1 min read
www.ncameron.org
In this blog post I'll lay out what I think procedural macros should look like. I've discussed the syntax elsewhere, and I'll discuss the API we make available to procedural macros in a later blogpost. I've previously outlined the whole sco...
News & Blog Posts
2015-12-21
~6 min read
www.ncameron.org
I would like to improve the syntax for both macros by example and procedural macros. For macros by example, there is a soft backwards compatibility constraint: although new macros do not have to be backwards compatible with old macros, they...
News & Blog Posts
2015-12-14
~6 min read
www.ncameron.org
Note, I'm not sure of the terminology for some of this stuff, so I might be making horrible mistakes, apologies. Usually, when we talk about macro hygiene we mean the ability to not confuse identifiers with the same name but from different...
News & Blog Posts
2015-11-30
~3 min read
www.ncameron.org
In this post I want to give a bit of an overview of the changes I'm planning to propose for the macro system. I haven't worked out some of the details yet, so this could change a lot. To summarise, the broad thrusts of the redesign are: cha...
News & Blog Posts
2015-11-30
~9 min read
ncameron.org
In the next few blog posts I want to cover some areas for improvement for Rust macros. I'll drill down into one topic at a time. I'll propose solutions, but not in RFC-levels of detail. I hope to get lots of early feedback this way, rather...
News & Blog Posts
2015-11-23
~7 min read
ncameron.org
In the last blog post I introduced macros and some general issues. In this post I want to describe macros (and other syntactic tools) in Rust. In the next instalment, I'll go into hygiene and implementation issues in more detail, and cover...
News & Blog Posts
2015-11-09
~4 min read
www.ncameron.org
(Continuing from last time). procedural macros Also known as syntax extensions or syntax plugins or compiler plugins (which they are just a category of). I'll not get into the naming thing here, but I'll try and stick to 'procedural macro'....
News & Blog Posts
2015-11-09
~6 min read
www.ncameron.org
Previously I covered macro_rules and procedural macros. In this post I'll cover macro hygiene in a bit more detail. In upcoming posts, I'll cover modularisation for macros, some implementation details, some areas where I think we should imp...
News & Blog Posts
2015-11-09
~11 min read
www.ncameron.org
Design patterns are "general reusable solutions to a commonly occurring problem within a given context in software design". Design patterns are a great way to describe some of the culture and 'tribal knowledge' of programming in a language....
News & Blog Posts
2015-10-26
~1 min read
www.ncameron.org
Rustfmt is a tool for formatting Rust code. It has seen some rapid and impressive development over the last few months, thanks to some awesome contributions from @marcusklaas, @cassiersg, and several others. It is far from finished, but it...
News & Blog Posts
2015-10-12
~5 min read