> On Jan 5, 2020, at 11:23 AM, Jim Russell <[email protected]> wrote:

One set of rabbit holes I can't resist are new programming languages; I've 
been known to (misquoting someone more clever than I) excuse my horrid memory 
for names by explaining that every time I learn a new name I forget an old 
programming language. 
--------------
(Whoops, I wasn't done and didn't mean to send that...)
--------
They advertise that you can install and try it with almost one click. (Almost - 
I installed it on my Mac, but with my usual talent for screwing stuff up, got 
it to fail my first "hello world" program--that's another story.)

However, as I was hunting on my iPhone for the cause, smart ass me wondered how 
Rust would handle installing on my iPhone. One option offered was to play with 
rust without installing, at https://play.rust-lang.org/. Tried it, and was met 
with a source document containing the hello world program that I hadn't been 
able to run. So I pushed the RUN button, and it did, yielding a correct STD Err 
and STD out.

Equally impressive were the options offered by the run button:

"WHAT DO YOU WANT TO DO?
Run
Build and run the code, showing the output. Equivalent to cargo run.
Build
Build the code without running it. Equivalent to cargo build.
Test
Build the code and run all the tests. Equivalent to cargo test.
ASM
Build and show the resulting assembly code.
LLVM IR
Build and show the resulting LLVM IR, LLVM’s intermediate representation.
MIR
Build and show the resulting MIR, Rust’s intermediate representation.
WASM
Build a WebAssembly module for web browsers, in the .WAT textual representation.
Note: WASM currently requires using the Nightly channel, selecting this option 
will switch to Nightly"

Consider that this is a compiled and linked language I was impressed! There 
seems to be some lessons to be learned from us for expanding the public 
exposure to our favorite language. 
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to