[1]: https://en.wikipedia.org/wiki/Go_(programming_language)
[2]: https://en.wikipedia.org/wiki/Rust_(programming_language)
1,020 karma · joined November 4, 2019
[1]: https://en.wikipedia.org/wiki/Go_(programming_language)
[2]: https://en.wikipedia.org/wiki/Rust_(programming_language)
As far as I know, you can also use pointers (not smart ones, that's a C++ thing) inside structs in C, right? Like this:
struct student
{
char *name;
int age;
char *program;
char *subjects[5];
};Basque country is, again, rich because it has an special tax treatment and could be considered a tax heaven to some extent.
Truth is, Pat is doing nothing despite the generous government subsidies
I wanted to highlight some memorable quotes from my chat with Jeremy, who's a principal engineer at System76 and creator of Redox OS 1:
"Even the most skilled C programmers struggle to write bug-free code. Vulnerabilities in foundational libraries like libc are still being discovered today."
"I have not seen a big movement, a large amount of developers moving over [from Rust] to any other languages. I haven't seen them move to Zig. So if I had to bet on it, I would bet on Rust being here in 10 years and being the dominant memory safe compiled language."
On embedded systems: "The embedded controllers, although there is a lot of interest in Rust, I don't think the security advantages are really there as much because you're not often dealing with third-party input. You're usually dealing with things that are very structured and have fixed sizes and even C code can deal with those quite well."
His call to the Rust community: "Please stick with your projects. Please stop abandoning your Rust projects. It has been somewhat of a trend that a very nice new Rust crate will be created and the developer will spend a couple days to fill it out and then it will be left forever dead but still available on the crates.io website."
I feel seen on the last point. ^
The author of HarfBuzz has published [State of Text Rendering 2024](https://behdad.org/text2024/), where he [describes](https://docs.google.com/document/d/1UnR2zKf3Z_DDRS6vLgBkSHUe...) the ongoing rewrite of the entire open-source text rendering stack in Rust which is funded by Google Fonts.
The motivations for it are laid out at https://github.com/googlefonts/oxidize, and the actual code is at https://github.com/googlefonts/fontations. The individual crates are already published to crates.io, too!
The intent does seem to be to completely replace the C/C++ code in HarfBuzz and FreeType in Android and Chrome, which would be a massive win for security. Numerous other HarfBuzz/FreeType users such as Firefox and all the Linux desktop would also benefit.
Curiously, Microsoft is rewriting their proprietary font parsing code in Rust as well: https://redd.it/12yg3cp
The repo is open source, so any suggestions are welcome, as well as PRs and whatever issue you might want to file. I'd kindly request you that, if any performance optimizations may apply to more than one language, please let me know, as I want to keep things fair.
See more: https://www.kosalab.dev/tidbits/rust-inclusive-ranges