[rust-dev] Rust on microcontrollers and embedded systems

2013-06-21 Thread Thomas Daede
Hello, I'm relatively new to Rust, and this is the first time I've posted on this list. For my senior honors thesis, I would like to improve Rust so that it can be used on microcontrollers and other small embedded systems. This is a sector dominated by C and has seen little change for quite a

Re: [rust-dev] Rust on microcontrollers and embedded systems

2013-06-21 Thread Thad Guidry
I would rather see Atmel AVR or ARM Cortex M0 as targets. Also, would low voltage, low power 8-bit targets with under 512KB ram be impossible ? On Fri, Jun 21, 2013 at 10:20 AM, Thomas Daede daede...@umn.edu wrote: Hello, I'm relatively new to Rust, and this is the first time I've posted

Re: [rust-dev] Rust on microcontrollers and embedded systems

2013-06-21 Thread Corey Richardson
On Fri, Jun 21, 2013 at 11:33 AM, Thad Guidry thadgui...@gmail.com wrote: I would rather see Atmel AVR or ARM Cortex M0 as targets. Would need an LLVM backend for AVR. A quick google found http://sourceforge.net/projects/avr-llvm/ though. I don't know anything about it though.

Re: [rust-dev] Rust on microcontrollers and embedded systems

2013-06-21 Thread Thomas Daede
On Fri, Jun 21, 2013 at 10:33 AM, Thad Guidry thadgui...@gmail.com wrote: I would rather see Atmel AVR or ARM Cortex M0 as targets. Also, would low voltage, low power 8-bit targets with under 512KB ram be impossible ? Where are you finding 8-bit targets with 512KB ram? Generally they have 8K

Re: [rust-dev] Rust on microcontrollers and embedded systems

2013-06-21 Thread Thad Guidry
I was thinking more of Industrial systems VS. Gadgetry Robotics projects. No problems. Getting support for the M0 will be important long term is what I am saying. On Fri, Jun 21, 2013 at 10:53 AM, Thomas Daede daede...@umn.edu wrote: On Fri, Jun 21, 2013 at 10:33 AM, Thad Guidry

Re: [rust-dev] Rust on microcontrollers and embedded systems

2013-06-21 Thread Brian Anderson
On 06/21/2013 08:20 AM, Thomas Daede wrote: Hello, I'm relatively new to Rust, and this is the first time I've posted on this list. For my senior honors thesis, I would like to improve Rust so that it can be used on microcontrollers and other small embedded systems. This is a sector dominated

Re: [rust-dev] Rust on microcontrollers and embedded systems

2013-06-21 Thread Alex Bradbury
On 21 June 2013 22:17, Brian Anderson bander...@mozilla.com wrote: - Adding compatibility with the newlib C library Last time this came up we preferred musl. https://github.com/mozilla/rust/issues/7283 Musl isn't really comparable to Newlib. Newlib is (relatively) easy to port to platforms

Re: [rust-dev] Rust on microcontrollers and embedded systems

2013-06-21 Thread Thomas Daede
On Fri, Jun 21, 2013 at 4:17 PM, Brian Anderson bander...@mozilla.com wrote: On 06/21/2013 08:20 AM, Thomas Daede wrote: - Compiling runtime and Core without thread support This is a major refactoring project which isn't made any easier by the current situation in which we have 2 entire

Re: [rust-dev] Rust on microcontrollers and embedded systems

2013-06-21 Thread Corey Richardson
On Fri, Jun 21, 2013 at 5:53 PM, Thomas Daede daede...@umn.edu wrote: On Fri, Jun 21, 2013 at 4:17 PM, Brian Anderson bander...@mozilla.com wrote: On 06/21/2013 08:20 AM, Thomas Daede wrote: - Compiling runtime and Core without thread support This is a major refactoring project which isn't

Re: [rust-dev] Rust on microcontrollers and embedded systems

2013-06-21 Thread Lindsey Kuper
On Fri, Jun 21, 2013 at 5:53 PM, Thomas Daede daede...@umn.edu wrote: On Fri, Jun 21, 2013 at 4:17 PM, Brian Anderson bander...@mozilla.com wrote: On 06/21/2013 08:20 AM, Thomas Daede wrote: - Compiling runtime and Core without thread support This is a major refactoring project which isn't

Re: [rust-dev] Rust on microcontrollers and embedded systems

2013-06-21 Thread Brian Anderson
On 06/21/2013 02:53 PM, Thomas Daede wrote: On Fri, Jun 21, 2013 at 4:17 PM, Brian Anderson bander...@mozilla.com wrote: On 06/21/2013 08:20 AM, Thomas Daede wrote: - Compiling runtime and Core without thread support This is a major refactoring project which isn't made any easier by the

Re: [rust-dev] Rust on microcontrollers and embedded systems

2013-06-21 Thread Thomas Daede
On Fri, Jun 21, 2013 at 5:42 PM, Brian Anderson bander...@mozilla.com wrote: On 06/21/2013 02:53 PM, Thomas Daede wrote: On Fri, Jun 21, 2013 at 4:17 PM, Brian Anderson bander...@mozilla.com wrote: On 06/21/2013 08:20 AM, Thomas Daede wrote: - Compiling runtime and Core without thread