Earlier quoted context omitted.
> IMO it would be great to get folks who write the enormous base of existing realtime apps driving critical devices everywhere to sit up and take notice of Rust. Rust cannot make any latency guarantees either. Reference counting and its lifetimes also have pathological cases, ie. worst-case, an object can reference the entire heap which will take time proportional to the number of dead objects to free. Copying collec…
Lifetimes are compile-time only and do not do any reference counting. So Rust has the same latency guarantees as C, for example.
Rust and the Future of Systems Programming [video]
111–120 of 511 posts
Re: Rust and the Future of Systems Programming [video]
#112Earlier quoted context omitted.
> Probably talking head videos with PowerPoints. Almost everyone in this video is an engineer on Rust, Servo, or Firefox. The exception is Dave Herman, head of Mozilla Research. These are unscripted responses to questions, no powerpoint involved. > They may not have used it, but know it exists. There are a lot of programmers in the world, and many of them don't read Hacker News. I meet new people who have never heard…
> but remember their first impression from a pre-1.0 version Can confirm, I routinely observe people in the wild dismissing Rust based on the existence of the `@` and `~` sigils, not realizing that we removed those years ago. :P
Thankfully due to repeated popularity on HN I gave it a try and I'm a convert now!
Re: Rust and the Future of Systems Programming [video]
#113when you can run javascript on a pebble watch it blurs the boundaries ... Want to concat an number and string ? JavaScript wont complain.
> Want to concat an number and string ? JavaScript wont complain. Is that supposed to be an endorsement?
foo = (string, number) => string + number
Now go write that in your preferred language!Re: Rust and the Future of Systems Programming [video]
#114The state of Rust editors continues to evolve [1], but I would be curious to learn more about the editors/IDEs that people are using for Rust development. Any stories or thoughts? [1] https://areweideyet.com/
Re: Rust and the Future of Systems Programming [video]
#115Earlier quoted context omitted.
> IMO it would be great to get folks who write the enormous base of existing realtime apps driving critical devices everywhere to sit up and take notice of Rust. Rust cannot make any latency guarantees either. Reference counting and its lifetimes also have pathological cases, ie. worst-case, an object can reference the entire heap which will take time proportional to the number of dead objects to free. Copying collec…
Rust itself can't, but you as the programmer can. It's not quite C, but you can do a lot of reasoning about what the compiler will do with your code, and avoid pathological cases.
You don't have to do this with tracing GC though, you just need a runtime that implements latency bounds.
Re: Rust and the Future of Systems Programming [video]
#116IMO C++ is unstoppable now, c++ 11, 14 and 17 additions with GSL and all things in the pipeline ...
Rust doesn't have to beat C++. If Rust steals 1/10th of C++'s marketshare, it will have a viable ecosystem.
Re: Rust and the Future of Systems Programming [video]
#117Earlier quoted context omitted.
The name of the game for the software industry is to continually create better tools that systematically, inexorably reduce the attack surface of apps built with them. Haskell does this in an interesting way by quarantining all side-effect code into Monads and preventing data races with immutability. Rust does it by making memory errors and race conditions impossible via its ownership mechanism. Think of it as guider…
Nevertheless these language specific solutions are completely opaque to an end user. These are software developer centric. As an end user I cannot inspect how these were applied and therefore develop trust in the end product. There's always an element of trust at the root of running a piece of software on my machine. I wish I could quickly inspect and be sure that say, the audio engine that mozilla firefox is running…
Sure it can. It actively prevents certain type of errors (buffer overflows, integer overflows), which are prime security exploits. Less exploits == more security.
Re: Rust and the Future of Systems Programming [video]
#118I've literally seen you tweet at people to kill themselves and then delete it. Idk about any of this other stuff but you certainly can't claim that your hands are clean in all this.
Re: Rust and the Future of Systems Programming [video]
#119Earlier quoted context omitted.
The name of the game for the software industry is to continually create better tools that systematically, inexorably reduce the attack surface of apps built with them. Haskell does this in an interesting way by quarantining all side-effect code into Monads and preventing data races with immutability. Rust does it by making memory errors and race conditions impossible via its ownership mechanism. Think of it as guider…
Nevertheless these language specific solutions are completely opaque to an end user. These are software developer centric. As an end user I cannot inspect how these were applied and therefore develop trust in the end product. There's always an element of trust at the root of running a piece of software on my machine. I wish I could quickly inspect and be sure that say, the audio engine that mozilla firefox is running…
To me it seems like this is more of an implementation detail and not language-specific.
Re: Rust and the Future of Systems Programming [video]
#120> GC pause ... sufficiently low power hw .. cheap phone Yeah, but even high-powered hardware can take a "major" hit from a GC pause when your application is extremely latency sensitive. IMO it would be great to get folks who write the enormous base of existing realtime apps driving critical devices everywhere to sit up and take notice of Rust. EDIT: I mean to say that many of my colleagues who write realtime software…
> IMO it would be great to get folks who write the enormous base of existing realtime apps driving critical devices everywhere to sit up and take notice of Rust. It would, and definitely should, move into the direction of safer languages than C. The biggest problem I see is tooling and legacy. Tooling, because there's a ginormous amount of testing and design software that "works with C" (whatever that means in the co…