ohai.social is one of the many independent Mastodon servers you can use to participate in the fediverse.
A cozy, fast and secure Mastodon server where everyone is welcome. Run by the folks at ohai.is.

Administered by:

Server stats:

1.8K
active users

The guy who invented #Rust seriously can't explain anything clearly. I had serious problems understanding some very simple concepts such as ownership, borrowing, scope, .. So, I talked to #Gemini just to find that she was using exactly the same vocabulary. After a long argument with Gemini, I finally convinced her that the jargons used by Rust are unnecessarily confusing and do not really explain what happens in the computer in terms of memory management. I explained everything in 11 lines. #AI

🚀 Wow, a whole article explaining that #enums in #Rust can be optimized! Who would’ve thought that a #compiler might actually, you know, do its job? 🙄 Next week: discovering that water is wet and that the sky is blue. 🌧️
jpfennell.com/posts/enum-type- #Optimization #Insights #Programming #Humor #HackerNews #ngated

jpfennell.comA surprising enum size optimization in the Rust compiler · post by James FennellPersonal website of James Fennell

I may be comfortable enough in #Rust to start a project in it from scratch one day, but this cycle of designing and implementing completely in #Python first and then duplicating the spec and a lot of the logic in Rust from the ground up afterward seems like it works rather well.

The design is fixed by the time I start porting it and the Python is a reference and implementation guide.

Continued thread

🔄 Eliminates central intermediaries to reduce latency and single points of
failure for time-sensitive applications like emergency response
🌐 Supports cross-platform interoperability between agents built in #Python, #Java, and #Rust environments