Rain 🚱 is a user on cybre.space. You can follow them or interact with them if you have an account anywhere in the fediverse.

:thinkhappy: what if, an alternative to both mastodon _and_ pleroma, which is much less memory-heavy and is a single executable file you drop on your server

help us out #rustodon
github.com/rustodon/rustodon

@er1n after I saw a friend writting a 900 lines long code in rust for a script that would be at most 50 lines of python I was very less hyper by this technology for this kind of applications >_>

@Dekken @er1n and rust is 10 time slower to write in it, everything is a tradeoff

Rain 🚱 @grainloom

@bram @Dekken @er1n
It also catches more bugs since it's quite strictly typed and has linear types and no exceptions.

I'm also curious what your friend was writing and if they were utilizing rust and its crates properly.

Anyways, as a user, I'd rather run something written by rust programmers than python programmers.

· brutaldon · 0 · 2

@bram @Dekken @er1n
Yea but GNU Social, Mastodon and Pleroma are already here and have done most of the experimental stuff, so Rustodon can be developed based on them.
And fewer but better implemented features are better (at least for me) than a pile of Ruby thrown together. The stricter type system can also make the code more structured and simpler to extend.
LOC is not a good metric for code IMHO, or otherwise people would still be learning Perl.

@grainloom @bram @Dekken @er1n
And import import agrees with "explicit is better than implicit" and Rust is quite more explicit.

Also, don't wanna start (more of a) language war but traits are better than classes.