That's all you need to know about Rust governance btw. The RFC process sadly has been non-existent for many years already.
😢7👎1
A proposed ownership design for D Lang in an article published in 2009, which as you could guess predates Rust's ownership system - https://bartoszmilewski.com/2009/06/02/race-free-multithreading-ownership/
Though as the author himself notes on Twitter, Graydon Hoare when working on Rust might have also been aware of the papers that D Lang ownership proposal lists as references.
Though as the author himself notes on Twitter, Graydon Hoare when working on Rust might have also been aware of the papers that D Lang ownership proposal lists as references.
Bartosz Milewski's Programming Cafe
Race-free Multithreading: Ownership
Since ownership plays a major role in race-free programming, it will be the first topic in my proposal for a race-free system. I presented the bird’s eye view of the system and provided a few…
👍5👎1
And another slide by Graydon Hoare explaining the move semantics from way back, when Rust was only incubating. I like how from beginning they decided to make the terminology not too academic.
👍5👎1
And as usual Rust comes up as the most "admired and desired" language in the Stack Overflow survey
Stack Overflow
Stack Overflow Developer Survey 2023
In May 2023 over 90,000 developers responded to our annual survey about how they learn and level up, which tools they're using, and which ones they want.
👍5🎉4❤1👎1🔥1
Rust fact vs. fiction: 5 Insights from Google's Rust journey in 2022
TL;DR
For those thinking about getting started with Rust here Google Devs confirm and debunk some rumors about the language:
Rumor 1: Rust takes more than 6 months to learn – Debunked (1-2 month to be productive)
Rumor 2: The Rust compiler is not as fast as people would like – Confirmed
Rumor 3: Unsafe code and interop are always the biggest challenges – Debunked (interop is easy, macros and async are the hardest)
Rumor 4: Rust has amazing compiler error messages – Confirmed
Rumor 5: Rust code is usually of high quality – Confirmed (people feel that code written in Rust is usually of high quality by nature)
TL;DR
For those thinking about getting started with Rust here Google Devs confirm and debunk some rumors about the language:
Rumor 1: Rust takes more than 6 months to learn – Debunked (1-2 month to be productive)
Rumor 2: The Rust compiler is not as fast as people would like – Confirmed
Rumor 3: Unsafe code and interop are always the biggest challenges – Debunked (interop is easy, macros and async are the hardest)
Rumor 4: Rust has amazing compiler error messages – Confirmed
Rumor 5: Rust code is usually of high quality – Confirmed (people feel that code written in Rust is usually of high quality by nature)
Googleblog
Rust fact vs. fiction: 5 Insights from Google's Rust journey in 2022
Wondering about Rust? We're addressing rumors and providing insight gained from years of early adoption of Rust here at Google.
👍8👎1🔥1😁1
Interesting trick, but there are usually easier ways to do typechecks during macro expansion in more specific cases
👎1
A new blog post from Bob Nystrom talks about sum types and making them look nice in a procedural language, while preserving memory safety.
Though they are not entirely type-safe, I agree with him that it's a good fit for the language that targets simplicity. Maybe
Though they are not entirely type-safe, I agree with him that it's a good fit for the language that targets simplicity. Maybe
Go should have also done something like that, it would definitely look better than simulating variants with interfaces like it's usually done there👍3👎1
Getting closer to ML ready state. Though in any case it won't be possible to iterate/prototype in Rust as fast as you can in Python. Which I guess is one of the reasons why ML is not present enough in Rust yet.
👎1
Name squatting is a huge problem on crates.io Now also malicious intent was detected in some of the crates with popular names like
postgress - https://blog.phylum.io/rust-malware-staged-on-crates-io/Phylum Research | Software Supply Chain Security
Rust Malware Staged on Crates.io
Phylum routinely identifies malware and other software supply chain attacks targeting high-value, critical assets: an organization’s software developers. Most recently, we’ve reported on a flurry of sophisticated attacks targeting JavaScript developers, respawning…
😱9👍2🔥2👎1😁1
Recommendations on whether to commit lockfiles for Rust libraries changed - https://blog.rust-lang.org/2023/08/29/committing-lockfiles.html
Now it's basically "it depends" instead of a strict "no".
Now it's basically "it depends" instead of a strict "no".
blog.rust-lang.org
Change in Guidance on Committing Lockfiles | Rust Blog
Empowering everyone to build reliable and efficient software.
👍7❤1👎1🔥1
So time for a bit of offline socializing. If anybody will be in Moscow on 7th of September - join us at a Rust meetup. I'll give a talk there on Async and Runtimes in Rust.
progmsk.timepad.ru
Rust — современный язык программирования / События на TimePad.ru
Винсент Амбо и Егор Ивков расскажут о проектах, которые они пишут на Rust. Доклады будут полезны и опытным Rust-программистам, которые хотят расширить свои горизонты, и Rust-новичкам, которые хотят погрузиться в язык и посмотреть, чего он стоит.
👍7🔥4👎1
Forwarded from @yegor256 news (yegor256)
Do you know of a Telegram group where ChatGPT and other Large Language Models talk to each other, and where people can also join to participate in the discussion? If you don't, maybe it's an interesting task to implement. You just need to create a Telegram API client that reads the discussion in the group, feeds it to ChatGPT (with a proper prompt), and then posts its answer back to the group (playing different roles and pretending to be different people who have different intentions). Such a chat may turn into a battlefield for Generative AI bots.
🔥6👍1👎1