Originally posted by patrick1946
View Post
Announcement
Collapse
No announcement yet.
XCP-ng Initating Effort To Rewrite Xen Components In Rust
Collapse
X
-
-
Originally posted by patrick1946 View Post
Yes but the examples are all systems with a large public interface or an OS. Not all of the programs have that. It got common with the advent of the web technologies. If you would not have this large public interface you would not get all the problems. Web technologies have efficiency problems too. As an user I avoid web apps like milk and I am lactose intolerant. ;-) They are slow, eat my battery and work very often not offline. Actually when I need them most. And they save the my data in cloud. That are problems no computer language can fix.
- Likes 1
Leave a comment:
-
Originally posted by ssokolow View PostPlus, you have to recognize that a non-trivial slice of the people "pushing for Rust" are more just seeing Rust as the last building block needed to allow people to still see them as credible when they push against C, C++, or other languages that make memory-unsafety so easy.
For Android, the argument is "Rust or Java. Rust just allows us to broaden the rule we were already applying to more low-level components". The Chromium team wrote Safer Usage of C++ and Borrowing Trouble: The Difficulties Of A C++ Borrow-Checker about how much work they went through to make use of C++ safer and why it's still not enough. For parsers, Google was already experimenting with a compile-to-C language named WUFFS which enables guarantees even stricter than Rust at the expense of not being general-purpose. The NSA didn't argue for Rust specifically, but for ditching C and C++ in favour of memory-safe languages in general. etc. etc. etc.
Leave a comment:
-
Plus, you have to recognize that a non-trivial slice of the people "pushing for Rust" are more just seeing Rust as the last building block needed to allow people to still see them as credible when they push against C, C++, or other languages that make memory-unsafety so easy.
For Android, the argument is "Rust or Java. Rust just allows us to broaden the rule we were already applying to more low-level components". The Chromium team wrote Safer Usage of C++ and Borrowing Trouble: The Difficulties Of A C++ Borrow-Checker about how much work they went through to make use of C++ safer and why it's still not enough. For parsers, Google was already experimenting with a compile-to-C language named WUFFS which enables guarantees even stricter than Rust at the expense of not being general-purpose. The NSA didn't argue for Rust specifically, but for ditching C and C++ in favour of memory-safe languages in general. etc. etc. etc.Last edited by ssokolow; 21 March 2023, 09:49 AM.
Leave a comment:
-
Originally posted by darkonix View PostPeople is too sensitive these days. We should evaluate the language objectively independently of it's promoters.
The term objectively is deeply rooted into metaphysics and only works if you can close a system. Even in physics it is hard. But how is that possible with something like a computer language? Maybe you can evaluate it economical but even that is very hard because you have to collect so much data. Computer languages are so context dependent that you can argue endlessly. ;-)
Leave a comment:
-
Originally posted by darkonix View Post
Smalltalk is great but it was not just a language. It uses a virtual machine that preserves the status of every object persistentenly. This is significantly different form other languages that you could compile or interpret. I believe this was probably a bigger barrier to adoption.
While the persistent VM that preserved your environment was unconventional, I don't think that was a dealbreaker in this regard.
Leave a comment:
-
Originally posted by patrick1946 View Post
Do you experienced the rise of Java? Actually it really reminds me to Rust except Java was much more successful in the beginning. New concept always look very convincing but only after they are used widely broad experience gets gathered with them and new concepts grow out from them.
People have their context and it's all we have. If people argument from a different context it is easy to say that their context is an 'illusion' but my is 'fundamentally solid'. But you can never know because nobody can see the future except for a Messiah like figure. ;-)
In comparison the same in Java was multiplatform, used a standard database driver in Java that was also portable. Easy string and memory management. It would have been just perfect for that use case.
- Likes 1
Leave a comment:
-
Originally posted by patrick1946 View Post
Smalltalk existed since the '70 but the syntax was really different.
I think the biggest drawback of Rust is some of their Evangelists overselling it aggressively. ;-)
- Likes 1
Leave a comment:
-
Originally posted by ssokolow View Post
Bear in mind three key details:- Java had massive promotional funding behind it from Sun Microsystems. Rust's rise has been more organic/viral.
- Java was basically the first thing in its niche, and its growth was arrested partly by the rise of C#... which came about as Microsoft's "I'll build my own casino, with blackjack and hookers" after Sun sued them for trying to Embrace, Extend, Extinguish with Visual J++ and which also had massive promotional funding and platform tie-in behind it. Java also was hampered by Sun's over-dedication to "write once, run everywhere". (eg. The difficulty of integrating with POSIX APIs on POSIX's terms is which Richard Stallman never liked Java but did like Python. C# integrates with Windows APIs on Windows's terms and that's one big reason it's so popular.)
- Rust is the first innovation in niches formerly unique to C and C++ to gain significant traction in decades. Assuming other factors don't halt its growth, it has the potential to be a huge success. (eg. D had potential, but the ecosystem split and the ""technically optional but, because so many third-party libraries rely on it, mandatory in practice" garbage collector killed its momentum.)
Combine that with a fairly easy to learn language and bobs your uncle.
Last edited by mdedetrich; 20 March 2023, 04:09 PM.
- Likes 4
Leave a comment:
-
Originally posted by patrick1946 View PostI think the biggest drawback of Rust is some of their Evangelists overselling it aggressively. ;-)
When I say "Rust is the first innovation in niches formerly unique to C and C++ to gain significant traction in decades.", I'm referring to things like how Microsoft is apparently using it internally but won't say where, Google is praising the results of migrating parts of Android from C and C++ to Rust and preparing to use it in Chromium, and it's the first non-C, non-Assembly language where support is tentatively getting added to the Linux kernel.
The more "like Java was"-y stuff would be how Espressif has hired the guy who DIYed ESP32 Rust support on top of their Xtensa fork of LLVM (upstreaming in progress) so he can have a full-time job providing official Rust support for both Xtensa-based and RISC-V-based ESP32 models and how Infineon recently announced official Rust support for some of their lines of automotive-oriented microcontrollers.
- Likes 2
Leave a comment:
Leave a comment: