arendjr

joined 2 years ago
[–] arendjr@mstdn.social 2 points 1 week ago

@solardirus @SorteKanin Maybe Go is easier to read in a word-for-word sense, but when I read a program, I want to understand what it does and why it works the way it works. I want to validate its properties to build a mental model of how pieces interact.

As soon as I start doing that I find Rust is much easier to reason about, because the compiler enforces a lot of properties that I rely on, whereas with Go I end up looking through multiple files to get the same picture.

[–] arendjr@mstdn.social -2 points 1 month ago

@jenesaisquoi @Ordoviz It’s a gray area, legally. What you say is theoretically correct, but there’s practical issues once you’ve looked at the code that will open you up to legal liability anyway.

For instance, what if you need a utility function during your reimplementation for which there is really only one obvious implementation? You can no longer claim to have come up with it by yourself.

I doubt the FSF would sue over it, but companies are known to avoid the risk.

 

This Thursday, I gave a presentation about @biomejs at the @jetbrains office in #Amsterdam. It was great to hear all the positive feedback about our project, and anecdotes from both users and people who may become our users 😊 It was nice talking to you, and I’ll get happily back to hacking towards Biome 2.0 👨‍💻

 

If you have no plans yet for Thursday night and you happen to be around #Amsterdam, I'll be speaking about @biomejs at the #Rust #Meetup at the @jetbrains office: https://www.meetup.com/nl-NL/rust-amsterdam-group/events/304514267/

Maybe I'll see you there!

[–] arendjr@mstdn.social 1 points 2 years ago (1 children)

@somedev @netwren I wrote an older article about implementing Redux reducers in Rust: https://fiberplane.com/blog/writing-redux-reducers-in-rust

For us, the use case was migrating existing Redux reducers written in TypeScript to Rust for code reuse (and later, performance) reasons. We didn’t need to rebuild Redux itself though, since our Rust reducers could still be invoked from the TypeScript side of things.