menelion, to windows
@menelion@dragonscave.space avatar

today I've heard for the first time about the open-source screen reader project for written in . Unfortunately only Readme has an English version, all other documents and code comments are in chinese, but the project seems very promising. Use Google Translate or another translator if you, like me, don't speak Chinese. https://gitcode.net/mzdk100/rigela

jonny, (edited ) to random
@jonny@neuromatch.social avatar

I am starting a new project that is intended to be designed as a () protocol eventually with implementations in multiple languages. I know well, but I have been learning and think I'll need to write at least some of the perf-sensitive components in Rust. Do I prototype it in Python and then rewrite in Rust later, or try and power through and write it in Rust now?

edit: added hashtags fwiw

janriemer, to rust

Currently in the process of rewriting my from v4.2 to v1.0.0-alpha.6 🤓

It is a lot of fun so far, but I have to say these type signatures are wild!😄

I'm still struggling with it far more than I'd like, but I guess it is just a matter of time until intuition kicks in and it will become more and more natural.

Exciting project ahead!🙂

I'm even able to parse string literals with escape sequences - something I haven't even achieved with nom!

ekuber, to rust
@ekuber@hachyderm.io avatar

2023
@nellshamrell's "Rustacean Community Interfaces" talk in full swing, talking about the many hats rustaceans wear.

image/jpeg
image/jpeg
image/jpeg

d_k_bo, to rust
ekuber, to rust
@ekuber@hachyderm.io avatar

Request for feedback: how would you change this compiler error? Can you tell what's going on? What the problem is? Do you get a sense of how you might be able to solve it?

alice_i_cecile, to opensource
@alice_i_cecile@mastodon.gamedev.place avatar

Hi! I'm back from RustNL! Taking it light today (definitely still exhausted) but I'm feeling ready for another . Let's take a look at the PRs that our community has made and reviewed for us this week :) There was a request to check the website repo, so let's start there! 9 PRs are ready, so that's a great call: https://github.com/bevyengine/bevy-website/pulls?q=is%3Aopen+is%3Apr+label%3AS-Ready-For-Final-Review

janriemer, to rust

C++ will be taken over by .

What will be the Rust-equivalent for ?

I mean is a very good first step, but it's basically the C++ for C.

So in short:
C => C++
JavaScript ≈> TypeScript
C++ =>
JavaScript => ???

I think it will be a looong way to go, but maybe, maybe we'll see more and more in the , but not quite sure yet.

#C

fell, (edited ) to programming
@fell@ma.fellr.net avatar
defcon201, to devops
@defcon201@hostux.social avatar
chrisbiscardi, to rust
@chrisbiscardi@hachyderm.io avatar

Trying to find good ways to visualize different properties of Signed Distance Fields/Functions.

This is visualizing every place the cursor could be, because an SDF only gives you the distance to the closest object.

I don't think this one is terribly useful, but it was fun to make the fragment shader.

video/mp4

jsbarretto, to rust
@jsbarretto@social.coop avatar

Let chains in nightly are nothing short of godly. I'm working on my compiler's IR optimiser, and I'm astounded at how many long, deeply nested tracts of logic used to detect certain patterns in the IR shrivel down to just a few lines while being easier to understand.

I admit that I was sceptical when I first heard about the proposal, but the lang team have smashed it out of the park. I think this is an ergonomic improvement on-par with the ? error propagation operator.

julia, to rust

One thing I will say: Rust on the web is overkill. I know, it's tempting to have something like leptos and have a single language on both frontend and backend.

What you should be doing is using the web platform. Most work should be done on the server anyways, your front end code should only be used for progressive enhancement. The user shouldn't have to run JavaScript in order to use your site. Plain and simple.

gregorni, to rust
@gregorni@fosstodon.org avatar

Somehow, whenever I write Rust, I feel like it's not really for me. I always spend so much time dealing with Rust logic, and so little time on actually writing the code I want.

I can understand how it suits a lot of people to have an extremely clear visualization of the path their code takes when it runs, but I prefer to write less code, even in that means sacrificing performance.

hywan, to rust
@hywan@fosstodon.org avatar

I’m starting a new project to learn about linkers. It’s called ˋweld`, and it lives here https://github.com/Hywan/weld.

I do this on my free time; understand very sporadically.

This toot is a thread to show progress or to ask help.

janriemer, to rust

Hm...I'm getting the impression that is increasingly met with a refusal by some people (it's an almost hateful attitude sometimes).

I wonder why. Of course there are a lot of layers to it, but one is definitely that Rust has gotten a lot more exposure to people and so there are just a lot more potential matches that lead to Err(()) and that's Ok(()) (sorry, pun intended).

But I wonder, if there's more to it than what meets the eye (feeling excluded/alienated/left behind?).

janriemer, to rust

To all people, who think 's syntax is ugly: maybe you should give this one a read:

Complexity Has to Live Somewhere - by Fred Hebert (discovered through @algo_luca's book):

https://ferd.ca/complexity-has-to-live-somewhere.html

"If you're unlucky and you just tried to pretend complexity could be avoided altogether, it has no place to go in this world. But it still doesn't stop existing."

imsnif, to rust
@imsnif@hachyderm.io avatar

Dear - the story goes like this:

  1. User wants to install my app
  2. User sees cargo as the recommended installation method
  3. Not knowing what cargo is, user installs it from their dist's repo
  4. Their dist's repo has an old version and the installation fails

The dists say this is not on them because they only use cargo to compile their own stuff

I try to keep my MSRV low, but often can't because of my deps

This is reported 2-3 times a week

What's the correct approach here?

janriemer, to rust

Some people: "Rust's syntax is so confusing to me." 🥴

The project: "Let's match that confusion with even more confusing syntax!" :awesome:

🤦

/sarcasm

asgrim, to rust
@asgrim@phpc.social avatar

Hrmm, #rustnationuk24 it's only 10:15 and one of the speakers already dunking on PHP 🙄 I thought the #rustlang community was supposed to be welcoming, but apparently not.

andrie, to rust
@andrie@fosstodon.org avatar

CRAN has published a policy for using code in an package. https://cran.r-project.org/web/packages/using_rust.html

gfxstrand, to rust
@gfxstrand@mastodon.gamedev.place avatar

A bit annoyed by the documentation situation with ... As with most things in Rust land, it's great if you use cargo and it really sucks if you don't.

Unlike rustfmt, rustdoc actually has to be able to compile the code so it needs access to all your dependencies. You can't just invoke rustdoc on foo.rs and call it a day. It really needs to be invoked by the build system. Worse, it doesn't support all the same flags as rustc, some of which are used by meson.

asgrim, to Java
@asgrim@phpc.social avatar

I got a Stream Deck delivered today and started playing around with it already, very handy for step debugging! I have several other ideas already to improve my workflow too...

alice_i_cecile, to opensource
@alice_i_cecile@mastodon.gamedev.place avatar

Welcome to Monday's edition of Cracking the Cryptic . Today we have 13 community-reviewed PRs in our backlog for me to take a look at :) There's a couple of truly exciting ones today, so do follow along.

https://github.com/bevyengine/bevy/pulls?q=is%3Aopen+is%3Apr+label%3AS-Ready-For-Final-Review+-label%3AS-Controversial+-label%3AS-Blocked+-label%3AS-Adopt-Me+

juliobiason, to random
@juliobiason@functional.cafe avatar

Ok, so I have a Vec<(String, f32)> and I need to, somehow, make it [[String]], but I want to do it lazily instead of converting the whole Vec...

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