alcinnz
alcinnz boosted

Figma have been pretty quiet about their use of Rust since their initial post in 2018¹. To the point where I thought they may have replaced that component with a non-Rust implementation. It seems that not the case though, as they have a new post out today about some optimisations they made to their Rust code:

https://www.figma.com/blog/supporting-faster-file-load-times-with-memory-optimizations-in-rust/

¹ https://medium.com/figma-design/rust-in-production-at-figma-e10a0ec31929

/via https://lobste.rs/s/pz9rgk#Rust

Due to a rise of vibecoding, I have invented a simple detector script, that can determine whether some code was written by AI or not:

bash<br/>#!/bin/bash<br/>set -euo pipefail<br/>IFS=$&#39;\n\t&#39;</p><p>filename=&quot;${$1:?please provide a filename}&quot;<br/>if [[ &quot;$filename&quot; ~= *.rs ]]<br/>then<br/> echo &quot;Not AI!&quot;<br/> exit 0<br/>fi</p><p>echo &quot;AI!&quot;<br/>exit 1<br/>

#rust #rustlang #ai #bash

RustLang question: If From is implemented between two types, is it possible to seamlessly convert between Vectors of those two types?

Compiler won't let me impl from&lt;Vec&lt;...&gt;&gt; for the two types since Vec isn't in my crate.

This whole thing is working around the fact that NodeGroup in an external crate doesn't have Deserialize on it, though it is generated code by prost...

#Rust#RustLang

He fet un primer joc senzillet amb #rust #bevy - el podeu provar a https://carles.barrobes.com/game.html - Programar videojocs és molt diferent dels tipus de programes que faig habitualment (aplicacions o APIs per a web), i la veritat és que Bevy sembla molt ben pensat per a això. Una experiència molt refrescant. Kudos @bevy

Gleam is an interesting new functional programming language. It is an ML-family language with syntax very similar to Rust, but it's not a replacement.
If you like Rust and don't like Go (or Elixir's Ruby syntax), Gleam might be worth considering for I/O bound applications needing high concurrency.
Gleam can also replace Elm on the browser. Code written in Gleam is apparently 30% faster than hand-written JavaScript.

https://gleam.run

#Gleam#Elixir#Rust#FunctionalProgramming#FP

A little nervous to do this but I don’t see too much #bevy content so I thought I would shoot my shot.

I’ve been working on a factory game written in #rust with #bevy and I recently hit a big milestone (aka now on steam)

If anyone’s interested in #indiedev dev logs I have a rss/atom feed. This weeks is mostly about art, but I normally talk about ECS woes and the pain of programmatic terrain generation. This is my first “large scale” game so it’s a mixed bag.

https://exofactory.net/blog/2025-07-06/