Rust is the only language you can program a cocktail with.
Rust is the only language you can program a cocktail with.
@dentangle Yes, when you want to publish a crate _publicly_ for others to consume on crates.io, you need a GitHub account.
If you only want to publish a crate _privately_, you can do so with keelnr, a registry for your private crates (it's Open Source and can be self-hosted):
Hello #rust people 🦀
Am I correct in my understanding that to use or manage rust crates I would need a #GitHub login?
Looking at crates.io and this github issue[1] from 2016 it seems that using Microsoft's GitHub is the only way to login or publish. Is that still the case?
I'm rather reluctant to go back to using GitHub having given up GitHub[2] some years ago.
[1] https://github.com/rust-lang/crates.io/issues/326
Has anyone tried both #macroquad and #bevy?
I've made some simple games/demos with bevy. But I often go long stretches of time without working on games. When I pick them back up, bevy has rehauled the API again, so all the examples I find online don't work.
Not faulting bevy. But maybe I should pick up a more stable and simple framework.
Minimal auto-differentiation engine in Rust (for educational purposes)
🐍✨ Behold! The world's smallest #auto-differentiation engine in #Rust, perfect for those who want to bravely face mathematical irrelevance while drowning in #GitHub menus! 🔧🚀 Because nothing spells "educational purposes" quite like automated existential dread. 💡📉
https://github.com/e3ntity/nanograd #worlds-smallest-engine #educational-purposes #existential-dread #HackerNews #ngated
Minimal auto-differentiation engine in Rust (for educational purposes)
https://github.com/e3ntity/nanograd
#HackerNews #Minimal #Auto-Differentiation #Rust #Educational #RustLang #GitHub
🐼 Asterinas: a new Linux-compatible kernel project • LWN
「 Asterinas is a new Linux-ABI-compatible kernel project written in Rust, based on what the authors call a "framekernel architecture". The project overlaps somewhat with the goals of the Rust for Linux project, but approaches the problem space from a different direction by trying to get the best from both monolithic and microkernel designs 」
Hurl is a command line tool that runs #HTTP requests defined in a simple plain text format.
I'm nearly finished the work to support SQL Window functions in Diesel. Before merging it to Diesel's master branch I'm looking for feedback on the outlined API and the implementation. You can find the current state of the work in this PR:
https://github.com/diesel-rs/diesel/pull/4322
If you have comments or suggestions make sure to either comment here or on the PR itself.
#Hacking #Embedded #Rust Course (Chapter 3: Project Structure) - This chapter covers the project structure of Reverse Engineering Rust Pico.
#ReverseEngineering
https://github.com/mytechnotalent/rust_embassy_pico_project/blob/main/Hacking_Embedded_Rust.pdf
Look, another #Rust evangelist claiming they can #compile faster than a speeding bullet 🚀💨—all while ignoring the fact that the rest of us are stuck watching paint dry as our #CI pipelines run slower than a sloth on vacation 🦥. But hey, you do you, Rust fans! 😂
https://matklad.github.io/2021/09/04/fast-rust-builds.html #Evangelism #Slowdowns #Times #Humor #HackerNews #ngated
Hey, reading https://blog.veeso.dev/blog/en/dont-you-dare-to-sort-your-struct-fields-when-using-sized/, you are mistaken when you say that you can't instanciate `!Sized` types, you can, but you just can't store them anywhere it would require knowing it's size at compile time (like the stack).
The way to do it is to coerce it from the Sized version.
If you want a more deep-dive of what can be done with it, you can look at my blog:
Mini-rust in Rust 034: Our first program, actually working