aboutsummaryrefslogtreecommitdiff
path: root/_posts
diff options
context:
space:
mode:
authorMelody Horn <melody@boringcactus.com>2019-11-03 16:30:02 -0700
committerMelody Horn <melody@boringcactus.com>2019-11-03 16:30:02 -0700
commit6f3e62ca7a35233d73be0e50bba9be5a6c99f519 (patch)
tree6dafb08837724976d996127d2fdbc98e9ec42678 /_posts
parentcafc255719cbe2e29cd58c27cda4fe3b3583459d (diff)
downloadboringcactus.com-6f3e62ca7a35233d73be0e50bba9be5a6c99f519.tar.gz
boringcactus.com-6f3e62ca7a35233d73be0e50bba9be5a6c99f519.zip
write a rust 2020 wishlist
Diffstat (limited to '_posts')
-rw-r--r--_posts/2019-11-03-rust-2020.md15
1 files changed, 15 insertions, 0 deletions
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