Having beaten Windows .BAT files and FTP into submission on one laptop (thanks #WinSCP) while getting my #TauriV2 app to build for #Android on another, today I will be figuring out how to debug it with #AndroidStudio.
It almost works. I can call #RustLang from the #Svelte GUI, but my custom protocol handlers aren't being called. 🤔 #Tauri
I think there would be still space for systems programming language with a constraint from day zero that it would 1:1 compatible with plain C”s binary layout and memory model:
Roughly just .text, .bss, .rodata and ,data.
No symbol mangling at all.
All the memory safety etc. fancy features would be then designed within exactly those constraints.
#Rust is essentially a derivative of C++ when compiled to binary, which does not really make it a strong competitor for plain #C. It can substitute C in many cases for sure, just like C++ did, but there’s always need for minimal systems programming language, which also looks elegant in binary, not just in source code.
A compiled C program can be quite easily understood with a binary with no debug symbols at all if you understand the CPU architecture well enough. That is, and will be a strong asset for C.
I'm doing a lot of Blender -> Bevy work at the moment, and I needed a way to visually check the resulting texture atlases. Hence this sprite viewer that pulls in the metadata I'm generating via python scripts and Blender.
bevy_inspector_egui on a Resource + the generated information and I can check the animation for any directionality and any animation.
I wrote an overview and sales pitch for #RustLang for my new website: https://www.ncameron.org/rust/ What do you reckon? Does it tell you what you'd need to know if you're curious about Rust, but don't know much about it?
It's often good if secrets are redacted in logs: This avoids accidental publication of a user PIN (or decrypted payload) in bug reports.
On the other hand, it can be useful for a developer to have full and verbatim logs (including secrets) for debugging.
We started work on this, but would like to hear from you. What should we do?
openpgp-card is a Rust client library for using #OpenPGP card hardware security devices.
This version comes with a significantly adjusted API:
The low-level API has been moved to the "ocard" module. At the top level of the crate, more convenient abstractions are now directly available (including PIN handling for cards in KDF mode).
If Cargo gained a [diagnostics] table to mirror the recent #[diagnostic] attribute, what use cases would you have for improving Cargo errors related to your packages?
nother page up on the website, and perhaps the most interesting one: #RustLang training courses! https://www.ncameron.org/training/ There's a bit of detail about the courses I'm planning to offer and I'm really interested to hear what you all think about them (and of course any thoughts on the website design - this is the busiest page yet).
I'm very excited about these courses. I love writing high-performance code and this is really what we all use #RustLang for, right? But coming from managed, high-level languages to Rust means learning a lot about systems and performance engineering. I reckon the performance course will help a lot of folk in that position. https://www.ncameron.org/training/#performance
Updating crates.io index
error: failed to select a version for the requirement `bindgen = "=0.69.4"`
candidate versions found which didn't match: 0.65.1, 0.64.0, 0.63.0, ...
If I run crate search bindgen, it shows that v0.69.4 clearly exists.
🎉 We have news: We've updated #Ferrocene to #RustLang 1.76.0 and you can now purchase your license online in our shop. @pietroalbini fills in the details over on the blog 👉
»Prusti is an automated program verifier for Rust, based on the Viper infrastructure. It leverages Rust's strong type guarantees to simplify the specification and verification of Rust programs.«
Do any of you know this and use it or are there "better" or even integrated tools for this, if such a thing is needed at all?
Last Friday we had our 4th virtual @bevy meetup, let's say thank you to the amazing speakers: François, Lorenz and Jos - in case you want to (re)watch it here is the recording: https://youtube.com/live/rnE_nINEs2M - #rustlang#gamedev 🦀🎮
#C compiler on error: Line 45: segfault 0x00000634634 #Rust compiler on error: There is an issue with your code in the line 45, see here: [you code]. To fix it you simply have to do this and this, like that [fixed code]. Please have a nice day! #rustlang#programming#software