5 ms·
You can run Rust on atmegas. It doesn't get much more small, but it can get a lot more exotic. https://github.com/avr-rust/rust https://github.com/avr-rust/rust
by nickez 9y ago
You can run Rust on atmegas. It doesn't get much more small, but it can get a lot more exotic. https://github.com/avr-rust/rust https://github.com/avr-rust/rust
- jeffreyrogers 9y agoBut then you're forced to use the rust compiler. Sqlite can be included in any project that can use a decent C compiler.
- eropple 9y agoWhy would you be forced to use the Rust compiler? You can generate C headers for a static Rust image.
- jeffreyrogers 9y agoIt brings the Rust compiler in as a dependency. I'm not saying you have to use Rust for the rest of the project, but it complicates things in a way that having C source code that you drop into your project doesn't.
- steveklabnik 9y agoI think you two are talking at cross-purposes. You are correct that building the project would require Rust. Your parent is correct that, with a pre-built binary, you don't need any Rust-specific stuff installed to make this work. Building from source is usual, of course, given the lack of a stable ABI.
- baldfat 9y agoArduino - http://jakegoulding.com/blog/2016/01/02/rust-on-an-arduino-uno/ http://jakegoulding.com/blog/2016/01/02/rust-on-an-arduino-u...
- ex3ndr 9y agoOk, then it leaves us a performance question, right?
- steveklabnik 9y agoIf Rust performance diverges significantly from C, then it's a bug. Bugs do happen! We take bug reports, please file them.
- ex3ndr 9y agobut the point is to have maximum performance. This is most deployed database in the world, the overall impact is incredible. It is not about "significantly" slower.
- steveklabnik 9y agoI said "diverges significantly", that comes on both plus and minus. Right now, Rust can be faster sometimes, but is also slower sometimes. It just depends.
- Sammi 9y agoNo it means there should _not_ be a performance question. It does however mean that there is an issue with supported platforms. Rust has support for all the major platforms already, but C is probably the most widely supported language in existence at all.