News for hackers. Stuff that matters.
Re:Bare Metal Rust Generics by steveklabnik on Monday August 24, 2020 @07:48AM (#24259712)
I know you're not excited about ARM, but they are taking an active interest in Rust, going so far as to contribute employee time and company money to the project to get ARM platforms to an equal level of support as X86. They don't make the chips of course, but I'm hoping it trickles down to the manufacturers anyway. Things are already pretty good, I'm excited for them to get even better.
Re:Bare Metal Rust Generics by bborud on Monday August 24, 2020 @09:05AM (#24260214)
I'm very excited about ARM since half the time I spend programming MCUs that have ARM cores. Just not mBed.

But to be fair, it has been a while since I used mBed and it might be time to give it another spin just to know the lay of the land.

If they were to dedicate serious resources to making Rust run on M0 and up, I'd be really, really thankful.

Re:Bare Metal Rust Generics by steveklabnik on Monday August 24, 2020 @10:02AM (#24260726)
Ah :)

So yeah, they've given us hardware to be able to run CI, which is a huge step. This also includes statements like "Arm intends to further donate newer and more capable hardware to this initiative."

They've had employees doing testing and submitting patches and fixing bugs.

The focus is on aarch64-unknown-linux-gnu to start, but there's a lot of procedural kinks to work out. Future targets should go much more smoothly.

More detail here: https://github.com/rust-lang/rfcs/pull/2959

Re:Bare Metal Rust Generics by bborud on Tuesday August 25, 2020 @10:28AM (#24271677)
I'm mostly talking about devices that are too small to run Linux :). This is the biggest MCU I've worked on to date:

https://www.nordicsemi.com/Products/Low-power-cellular-IoT/n...

Re:Bare Metal Rust Generics by steveklabnik on Tuesday August 25, 2020 @12:18PM (#24272939)
Totally, Rust code has been running on that chip specifically for at least a year. ARM just wanted to start support at the big end of the spectrum. I'm personally working in the M4/M7 range, which is a bit bigger than you...
Re:Bare Metal Rust Generics by bborud on Tuesday September 01, 2020 @10:11AM (#24341877)
With Apple moving to ARM it would make sense to focus there first since ARM probably have a decent shot at growing their high end market with Apple's help.