From 6f3e62ca7a35233d73be0e50bba9be5a6c99f519 Mon Sep 17 00:00:00 2001 From: Melody Horn Date: Sun, 3 Nov 2019 16:30:02 -0700 Subject: write a rust 2020 wishlist --- _posts/2019-11-03-rust-2020.md | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 _posts/2019-11-03-rust-2020.md diff --git a/_posts/2019-11-03-rust-2020.md b/_posts/2019-11-03-rust-2020.md new file mode 100644 index 0000000..b2fd02a --- /dev/null +++ b/_posts/2019-11-03-rust-2020.md @@ -0,0 +1,15 @@ +--- +layout: default +title: "Rust 2020: Write Once, Run Anywhere" +--- +thing that is cool: writing the same codebase and having it run on desktop, mobile, and web + +thing that is lame: JavaScript is the only language where people really do that right now, outside of big commercial game engines + +things that need to happen for Rust to get there: +1. promote more platforms to tier 1, or maybe introduce a "tier 1.5" where std is guaranteed to work but rustc and cargo are not (although it'd be cool for rustc to work on WebAssembly) + - iOS: `aarch64-apple-ios`, `armv7-apple-ios`, `i386-apple-ios`, `x86_64-apple-ios` + - Android: `aarch64-linux-android`, `arm-linux-androideabi`, `i686-linux-android`, `thumbv7neon-linux-androideabi`, `x86_64-linux-android` + - WebAssembly: `wasm32-unknown-unknown` (or one of the other `wasm32` targets) +2. test platform abstractions (graphics libraries, game engines, UI frameworks) on all of those +3. get some high-level examples together of how to use Rust to write performant cross-platform code -- cgit v1.2.3