Lenses in Rust and My Solution

Information about a lens library written in rust

rust for python/JS devs โ€” on 4grab.com ownership, borrowing, lifetimes explained using mental models you already have. no theory โ€” just the stuff that clicks. https://4grab.com/pay.php?id=ptag_69c42af344a58 #prompt #rust #programming #developer
Rust for Developers Who Know Another Language: Ownership, Async, CLI โ€” Purchase

Rusting stove and oven at Eureka Mine in Death Valley National Park.

#NationalPark #rust #decay #DeathValley

@rustaceans

- The ease of defining new data structures that are very robust
- Ownership/Borrowing almost forces you to transform data from one form into another when programming your algorithm (first point is a prerequisite for this)
- perfect mix of procedural and functional style

...and probably so much more...

I love #Rust! ๐Ÿฅฐ

#RustLang

I know #Mago Analyzer is good, but sometimes it goes really overboard with the intent of pursuing #Rust-level of strutiny on a more lenient language.

- PHPStan:
You forgot to add this PHPDoc to this method.

- Mago:
YOU STRAIGHT TRIPPIN', MOTHERFUCKER! SEE THIS "MIXED" BULLSHIT? LINE 248 IN FUCKING RED, YOU BLIND-ASS TROGLODITE? IT AIN'T NO INT, IT AIN'T NO STRING! U TRYNA GET REPLACED BY CLAUDE? DID YOU LEARN PROGRAMMING ON FUCKING WINDOWS ME?

#Programming #PHP #Coding #Code

Building ezli.me, a link shortener in Rust

0 comments

Lobsters

Fun fact: if you have a big list of IP address ranges (like, say, a GeoIP database), and you need to perform lookups in #Rust, you can, using a build script, turn it into Rust match patterns!

Then you can include!() that Rust snippet into your program.

This will turn it into a compile-time lookup table, which should be extremely fast at run time because the program will not spend any time loading or parsing a database.

But of course you have to recompile to update the databaseโ€ฆ

#programming

rustunit

Rustunit offers software development consulting with a focus on rust, game-development and large scale distributed backend services.

I have to say, #Mago for #PHP is great, but its analyzer is sometimes too dumb strict.

#Code #Coding #SoftwareDevelopment #Programming #WebDevelopment #WebDev #Rust