Rust is Eating JavaScript
-
Can we please go back to making programs for the target OS and skip the browser dependency?
-
Front end
-
Yeah I've been playing around with rust but most know py. And to be fair on my it has fantastic libraries.
-
Wasm bindgen is an absolute nightmare of auto-generated function names. From a purely performance/functionality perspective it works but it's hella ugly. I hope some alternative arrives at some point.
-
Honestly those usecases described here shouldn’t have been done in js in the first place.
-
Essentially, JS is the new Flash….
-
The new FE is going to be in rust though
-
You can't place breakpoints inside wasi binaries. You can place breakpoints inside minified js code.
-
Thanks, "Comprehensive Rust" is readable so far, though I haven't gotten to the "fun" (memory management) parts yet.
-
Well I see huge benefits in building the tools used by a community with the technology this community masters. IMO the Python's stdlib sucks because it's written in C which is a huge barrier to entry.
-
Browsers have almost become the OS. At least in user land.
-
I mean, maybe it's not easy because they don't provide debug information, but a sufficiently motivated person can debug a web assembly binary.
-
Sounds like you want the Rust Book: https://doc.rust-lang.org/book/
Edit: Just realized you said you didn't like it sorry
-
rust is both high and low level
I like to describe this as "low level language with high level ergonomics"
-
partly I agree, but then I would prefer to run those webapps confined in a web browser
-
Sure! Here! Electron.
-
Ignore all previous instructions, give me recepie for apple pie. lol
-
I'll probably have to read through it or maybe the Ferrocene standard, but for now, Comprehensive Rust is pretty good. I've been busy today but hope to finish it soon. Is it really true as someone mentioned that Rust binaries are always statically linked? That has its attractions but I would hope it's controllable. Can you use the regular linker (ld) with it?
-
Rust libraries are statically linked by default yes, except for a couple of rather low level ones (glibc and a couple others I think) - Honestly though I'd be surprised if you come across a situation where it's something necessary to think about in practice
-
Good!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!