Search
Items tagged with: rustlang
I feel like #C could be relegated to an #operatingsystems course to really delve into the intricacies of system calls and such.
#Rust #operating_systems #college #University
#rustlang #linux
Debian -- Details of package lsd in sid
ls command with a lot of pretty colors and some other stuffpackages.debian.org
What better way to learn than by making games? With Rust, you have a shiny new playground where your game ideas can flourish.
https://pragprog.com/titles/hwrust/hands-on-rust/
#rustlang
Hands-on Rust
Make fun games as you learn the Rust programming language through a series of hands-on game development tutorials and real-world use of core language skills.pragprog.com
https://maxwellrules.com/programming/rusty-python.html
Discussions: https://discu.eu/q/https://maxwellrules.com/programming/rusty-python.html
#programming #python #rustlang
Maxwell Rules - Extending Python with Rust - discu.eu
Discussions and related articles for «Maxwell Rules - Extending Python with Rust»discu.eu
Advent of Code 2022 Day 6 | Kotlin
Take part in Advent of Code 2022 in Kotlin and win prizes! Learn more in the blog post → https://blog.jetbrains.com/kotlin/2022/11/advent-of-code-2022-in-kot...YouTube
https://blog.uberspace.de/freelance-job-c-cpp-rust/
Boosts very welcome! #rustlang #jobad #job
Freelance-Softwareentwicklerin, C/C++/Rust (d/w/m)
This job posting is written in German. However, we all speak English here. Feel free to apply even if you don't know German. Translating this post is left as an exercise to the applicant.luto (Behind the Asteroid)
(From Pantheon S1E5.)
Step 1, @eliza complains: https://nitter.net/mycoliza/status/1592248742060920832
Step 2, we fix it: https://github.com/rust-lang/rust/pull/104469
Step 3, it lands on nightly: https://play.rust-lang.org/?version=nightly&mode=debug&edition=2021&gist=043ea14f2d5e54113fc40b5b175d18ed
From now on, obligations introduced by trait bounds will check whether the type is longer than 50 chars, and if it is, dump it into a file so that the CLI output doesn't become an unreadable mess.
#rust #rustlang
Make "long type" printing type aware and trim types in E0275 by estebank · Pull Request #104469 · rust-lang/rust
Instead of simple string cutting, use a custom printer to hide parts of long printed types. On E0275, check for type length before printing.GitHub
(Nitter addon enabled: Twitter links via https://nitter.net)
https://diziet.dreamwidth.org/13476.html
#Rustlang will complain about:
let range_a = &mut vec[0..10];
let range_b = &mut vec[10..];
Because the first mutable borrow is for the entire `Vec`. Rust doesn't understand that the ranges are non-overlapping. The solution is to use `.split_at_mut()`:
let (range_a, range_b) = vec.split_at_mut(10);
If you want to completely split a Vec into sub-ranges, see `vec.chunks_mut()`.
Try it: https://is.gd/Q5c8vD
https://rust-unofficial.github.io/patterns/
Introduction - Rust Design Patterns
A catalogue of Rust design patterns, anti-patterns and idiomsrust-unofficial.github.io
Aber der Anfang ist so halt gemacht.
A first look at Rust in the 6.1 kernel
There have been a lot of significant changes merged into the mainline for the 6.1 release, but one of the changes that has received the most attention will also have the least short-term effect for users of the kernel: the introduction of support for…lwn.net
(Nitter addon enabled: Twitter links via https://nitter.net)
- Generic associated types (GATs)!!!
- let-else statements
- break from labeled blocks
- std::backtrace
- split debug information on Linux
- MIR inlining during optimized compilations
- complete RLS deprecation
https://blog.rust-lang.org/2022/11/03/Rust-1.65.0.html
#opensource #programming
Announcing Rust 1.65.0 | Rust Blog
Empowering everyone to build reliable and efficient software.blog.rust-lang.org
https://www.p99conf.io/2022/09/07/uninitialized-memory-unsafe-rust-is-too-hard/
Discussions: https://discu.eu/q/https://www.p99conf.io/2022/09/07/uninitialized-memory-unsafe-rust-is-too-hard/
#cpp #programming #rustlang
Uninitialized Memory: Unsafe Rust is Too Hard - P99 CONF
Why writing unsafe Rust is a complex and user UN-friendly experienceP99 CONF
https://github.com/weiznich/diesel_async
Discussions: https://discu.eu/q/https://github.com/weiznich/diesel_async
#programming #rustlang
GitHub - weiznich/diesel_async: Diesel async connection implementation
Diesel async connection implementation. Contribute to weiznich/diesel_async development by creating an account on GitHub.GitHub
Aber bei Linus weiß man nie, daher wollte ich nicht wetten.
A "fireside" chat
In something of an Open Source Summit tradition, Linus Torvalds and Dirk Hohndel sit down for a discussion on various topics related to open source and, of course, the Linux kernel.lwn.net
(Nitter addon enabled: Twitter links via https://nitter.net)