happyborg, to android
@happyborg@fosstodon.org avatar

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

jarkko, to rust
@jarkko@social.kernel.org avatar

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:

  1. Roughly just .text, .bss, .rodata and ,data.
  2. No symbol mangling at all.

All the memory safety etc. fancy features would be then designed within exactly those constraints.

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.

underlap, to rust
@underlap@fosstodon.org avatar

Started another little Rust project with rustup update and cargo new .... I just love Rust's tooling.

underlap,
@underlap@fosstodon.org avatar

So my project needs a fairly simple HTTP server. So much choice:

  • std::net::TcpListener
  • hyper
  • warp
  • Rocket
  • tide

I'm tempted to start with warp as I like the functional approach and I want to write decent tests.

#RustLang

jgayfer, to gamedev
@jgayfer@fosstodon.org avatar

I published my first plugin for Bevy! 🎉

🕯️bevy_light_2d is a general purpose 2d lighting crate for Bevy.

It’s designed to be simple to use, yet expressive enough to fit a variety of use cases.

⭐️ GitHub https://github.com/jgayfer/bevy_light_2d

triskelion, to rust
@triskelion@floss.social avatar

Hey RIIR enthusiasts, sorry to disappoint you, but LLVM and glibc are not written in . Feel free to express your frustrations xD

vinc, to rust
@vinc@mastodon.social avatar

Today, I'm improving the network logs in my hobby operating system

chrisbiscardi, to rust
@chrisbiscardi@hachyderm.io avatar

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.

video/mp4

nrc, to rust
@nrc@hachyderm.io avatar

I wrote an overview and sales pitch for 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?

hko, (edited ) to rust
@hko@fosstodon.org avatar

During our work towards openpgp-card v0.5 (https://fosstodon.org/@hko/112520486266094575), we wondered how to deal with secrets in log files.

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?

hko, to rust
@hko@fosstodon.org avatar

I just released openpgp-card v0.5.0: https://crates.io/crates/openpgp-card/0.5.0

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).

#HSM #RustLang #PGP #GnuPG #gpg #Rust

tymwol, to rust
@tymwol@hachyderm.io avatar
  • What is the religion of developers?
  • It's not a religion, it's a cargo cult.
epage, to rust
@epage@hachyderm.io avatar

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?

See https://github.com/rust-lang/rfcs/pull/3383#issuecomment-2135594569 for more context

#rustlang

seanmonstar, to rust
@seanmonstar@masto.ai avatar

Here's #rustlang hyper-util v0.1.5 :rust:

  • Graceful shutdown helper for coordinating many connections
  • Enable service with less features.

https://github.com/hyperium/hyper-util/releases/tag/v0.1.5

dekirisu, to gamedev
@dekirisu@mastodon.social avatar

🦛 added ground type 'base'
🐔 ground tiles can be gathered
🐊 ..and placed if the tile is 'base'

video/mp4

nrc, to rust
@nrc@hachyderm.io avatar

nother page up on the website, and perhaps the most interesting one: 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).

nrc,
@nrc@hachyderm.io avatar

I'm very excited about these courses. I love writing high-performance code and this is really what we all use 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

markstos, to rust
@markstos@urbanists.social avatar

I don't understand this error message:

 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.

Cargo.toml contains:

[build-dependencies]
bindgen = "0.69.4"

kubikpixel, to rust German
@kubikpixel@chaos.social avatar

💩→🦀 How Rust rose to dominance (by accident)

📺 https://yt.drgnz.club/watch?v=8lMQfwreqRE


ferrous, to rust
@ferrous@social.ferrous-systems.com avatar

🎉 We have news: We've updated to 1.76.0 and you can now purchase your license online in our shop.
@pietroalbini fills in the details over on the blog 👉

https://ferrous-systems.com/blog/ferrocene-24-05-0/

dekirisu, to gamedev
@dekirisu@mastodon.social avatar

🐍 added items for tile objects
🦊 small plants can be gathered
🐳 ..and placed if the tile is empty

video/mp4

rsk, to gamedev
@rsk@mas.to avatar

Hey! my little rocket game "Scriptgrip" is now available online 🚀

video/mp4

kubikpixel, to rust
@kubikpixel@chaos.social avatar

»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?

🦀 https://www.pm.inf.ethz.ch/research/prusti.html


rusticorn, to rust
@rusticorn@fosstodon.org avatar

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 - 🦀🎮

ponda, to rust
@ponda@mastodon.online avatar

#C compiler on error: Line 45: segfault 0x00000634634
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!

  • All
  • Subscribed
  • Moderated
  • Favorites
  • megavids
  • thenastyranch
  • rosin
  • GTA5RPClips
  • osvaldo12
  • love
  • Youngstown
  • slotface
  • khanakhh
  • everett
  • kavyap
  • mdbf
  • DreamBathrooms
  • ngwrru68w68
  • provamag3
  • magazineikmin
  • InstantRegret
  • normalnudes
  • tacticalgear
  • cubers
  • ethstaker
  • modclub
  • cisconetworking
  • Durango
  • anitta
  • Leos
  • tester
  • JUstTest
  • All magazines