Twitter | Search | |
André Staltz
Creator of . Open source freelancer and solarpunk
7,551
Tweets
558
Following
26,776
Followers
Tweets
André Staltz 12h
Replying to @andrestaltz
Be sure to check the demo too:
Reply Retweet Like
André Staltz 12h
'Oasis' is a new browser-based app for focused on simplicity and accessibility: by christianbundy
Reply Retweet Like
André Staltz 14h
Replying to @jlongster
It's interesting that usually the comment with the most thumbs up contains the solution to your problem. Skimming looking for thumbs is faster than reading. Oh and I absolutely hate stale bots
Reply Retweet Like
André Staltz 21h
Replying to @andrestaltz
But really the biggest deal is that Rust forces you (in a nice way!) to look at all corner cases (errors, mem management) of your code and gently nudges you towards perfection. The feeling of finishing the code and knowing it covers all errors, and is super fast, is fantastic.
Reply Retweet Like
André Staltz 21h
Replying to @andrestaltz
Rustfmt from day one means I don't need to feel silly figuring out what is the best practices in code formatting for this language, I can just code and produce code that looks convincing to other Rust programmers (if you focus only on code style formatting).
Reply Retweet Like
André Staltz 21h
Replying to @andrestaltz
Lifetime annotations as generic function parameters felt super weird, both in syntax and concept. This is probably the hardest and weirdest part for me. The syntax is especially difficult to appreciate: fn longest<'a>(x: &'a mut Foo) -> &'a Bar
Reply Retweet Like
André Staltz 21h
Replying to @andrestaltz
The Result and Option types nearly everywhere as monads means there is a familiar workflow for functional programmers. It's a weird mix of C and functional programming, but nevertheless felt really familiar to code in. Docs avoid heavy FP jargon though, which IMO is really good.
Reply Retweet Like
André Staltz 21h
Replying to @andrestaltz
Memory ownership and borrowing felt really weird at first, but it makes total sense. It reveals that we (JS, Java, Python) programmers take GC for granted and just mostly ignore mem management. Also reveals that manual mem management (in C) is *hard*, and Rust wants to helps you.
Reply Retweet Like
André Staltz 21h
Replying to @andrestaltz
First things first: the defaults are great and you don't question them, it makes you productive. Starting was the easiest part: - rustup - Decent package manager - Decent config file Cargo.toml - Mostly familiar syntax - Docs in markdown - rustfmt
Reply Retweet Like
André Staltz 21h
My first impressions of after having spent about 5 hours writing a small module: It makes me excited to code in, but for different reasons than other languages excite me. Coding in Rust appeals strongly to perfectionism.
Reply Retweet Like
André Staltz 23h
Replying to @The_lolness
I don't know, maybe prettier didn't run there? But if it did, I can't bypass prettier.
Reply Retweet Like
André Staltz retweeted
soapdog (mastodon: @soapdog@toot.cafe) Jan 27
Replying to @andrestaltz @RustNeon
I wrote about this in 2017, it is a silly sample but it helps those who never saw neon:
Reply Retweet Like
André Staltz Jan 27
Replying to @soapdog @RustNeon
I looked through the article quickly (as I do with most articles), and it seemed decent. I'm gently getting into Rust as I'm trying to make mobile performance of SSB better
Reply Retweet Like
André Staltz Jan 27
Replying to @soapdog @RustNeon
Wow if you wrote it in 2017, you are ahead of the curve!
Reply Retweet Like
André Staltz Jan 27
Replying to @PipoPeperoni @RustNeon
There are some listed in the neon-bindings website
Reply Retweet Like
André Staltz Jan 27
The prospect of gradually rewriting node modules into Rust is fantastic, and made possible by among others. Rust adoption is exploding and it deserves the hype.
Reply Retweet Like
André Staltz Jan 27
Replying to @ZoliPeto
Thanks! I myself don't have content on that topic, but I highly recommend this one
Reply Retweet Like
André Staltz Jan 25
People in the Soviet Union in the 70s also lived assuming the future would remain largely like the present.
Reply Retweet Like
André Staltz Jan 25
Reply Retweet Like
André Staltz Jan 25
Replying to @jhooks @ken_wheeler
Ok not fair comparisons and were back to joke land again. Seriously I recommend reading IPCC reports you get a glimpse of the future, the likelihood is very high
Reply Retweet Like