Search

Items tagged with: RustLang


JetBrains has just published the results for their yearly #rustlang developer survey.

There's a lot of interesting data.
A data point some might find surprising: more than a third of Rust developers are using Rust for web development!

An exciting space to be in right now.

The full survey results can be found on jetbrains.com/lp/devecosystem-… including comments from me, Tim and Florian.



The sudo-rs (safety-oriented and memory-safe implementation of sudo and su in #rustlang) underwent an 🔍audit by
ROSecurity (radicallyopensecurity.com/)
. You can read about the findings and what its changed over on our blog 👉

ferrous-systems.com/blog/sudo-…

👏 Thanks to @NGIZero and ISRG (abetterinternet.org/) for the funding.


En estos días fríos y un poco depresivos me ha dado por aprender #rust #rustlang y me está encantando, no solo por el lenguaje en sí, sino por los maravillosos recursos oficiales de aprendizaje que tienen. Los tres que tienen en su web son muy, muy buenos.

rust-lang.org/learn


You know how it's hard to learn something you can't see the point of?

I think this is why senior developers, particularly, flock to Rust.
We've been in the trenches, we've been paged at 4am, we've debugged the same missing semicolon or bad indentation errors a thousand times.

You tell me that with just a bit more syntax, Rust can fix my PTSD? I say SIGN ME UP! 🎉

A junior developer, the sweet summer child, only wants things to be easy NOW.

#RustLang isn't optimised for easy NOW.
It's optimised for easy FOREVER.

youtube.com/watch?v=2hXNd6x9sZ…




:ferris: vs :julia:

My talk about "Rust vs Julia in scientific computing" is confirmed!

I am very excited about it :D
Only 7 minutes, but that is fine for the first public talk :)

The talk will be recorded and I will write a blog post about it. Stay tuned :D

You can still register to the free online conference "Scientific Computing in Rust":

scientificcomputing.rs/

#RustLang #Rust #JuliaLang #ScientificComputing



Answer: 0231 🦀

0 gets dropped at the end of its statement.

1 will last to the end of the main scope.

2 is assigned to the underscore pattern making it temporary, and gets dropped at the end of the statement.

3 is treated as a value; the underscore prefix allows the unused… twitter.com/i/web/status/16668…

QT orhunp_: 🦀 #rustlang quiz

what is the output of this program?




Tl'dr #rustlang is a great collaboration opportunity for @gnome and @kde.

A long long time ago, #freedesktop initiative was created for precisely this goal. While in many ways it was a success story (especially in terms of establishing standards), it came short in one specific aspect: code collaboration.

Most freedesktop (all?) projects were and are almost exclusively developed and maintained by GNOME folks. That's not very surprising, given that C (being that lowest common denominator) had to be the programming language of choice. Just like most GNOME folks wouldn't want to touch C++, KDE folks don't particularly enjoy coding in C either. I know both have their reasons and the point here is not to play the blame game here.

There is not much point in dwelling in the past here but if we decide to write all future infrastructure/non-UI projects (that would have otherwise been written in C or C++) in Rust, there's a great potential for collaboration, I believe.

Talk is cheap, you could say and I agree. Hence why I've taken some steps in this direction already: github.com/dbus2/



Microsoft is rewriting parts of GDI in Rust, as evidenced by a new file called "win32kbase_rs.sys" which contains a complete reimplementation of the REGION type in rust, and a vive ID called "Rust_GDI_REGION".

#rust #rustlang #microsoft #windows



Over the Easter holidays I experimented a bit with building Rust code with meson instead of cargo.

Specifically I tried building a GStreamer plugin with a few dozen Rust dependencies, but the same applies in a similar way to GTK/GNOME applications or literally anything else.

A write-up of the results with a lot of details can be found here: coaxion.net/blog/2023/04/build…

#RustLang #GStreamer #GNOME #GTK #meson #cargo #BuildSystems


🦀 "Why the Rust Community Should Be Worried About the New Carbon Language"

👉 should we?

👉 If we some language can do what Rust can do but more simpler, we should be happy to switch but is that the case here?

Article:
towardsdev.com/why-the-rust-co…

#rustlang #rust #cpp #carbon





:youtube_logo: In today's video, I have some strange recommendations on how to learn #RustLang! :rust:
youtu.be/2hXNd6x9sZs





Watch Philip's talk at #FOSDEM, where he covers the API and prototypes for 'connectbyname', a library function that takes as input a DNS name and returns a TLS connection, as well as a new EDNS(0) option called Proxy Control option that allows stub resolvers to send requirements to a local proxy.

We're developing an #API in #rustlang that can internally use asynchronous #DNS lookups, implement Happy Eyeballs, support #DANE, SVCB/HTTPS, encrypted client hello, etc.

fosdem.org/2023/schedule/event…



As part of the optimizations, there are a lot fewer temporary allocations now, e.g. for NUL-terminated strings.

Also, in addition to better performance, the code generation improvements also reduce the binary size considerably.

Some GStreamer plugins saw reductions of 15-20% 🥳

#GStreamer #Rust #RustLang