I am baffled by how much trouble I’m having at writing #rust at a decent clip. #Golang I felt pretty good at after a few months, same with #Python and #PHP. Meanwhile I’ve been trying to write anything useful in Rust for months and it’s so incredibly slow going.

I’m shocked people are enthusiastic about adopting this for their jobs. If I had a specific part of an app that needed more speed, absolutely. But as a general purpose language? I’m not seeing it yet.

I’ll keep ramming my head against it but have not enjoyed myself thus far. If writing a proof of concept in python takes me 4 hours, rewriting that in rust clocks in easily at 12-16 hours.

@matdevdug I'm reasonably good at #rust but I still don't get why people try to push it as a high level language. Rust is infinitely better than C an C++ but I wouldn't put it as an alternative to #golang or #python in places where they are a good fit. Rust has some good static safety features, but so it doesn't have some. For instance, the type system in Python or TypeScript is a lot more powerful.

@orsinium "The type system of Python is much more powerful"

Is this an objective conclusion that you can explain?

Python's "type system" is an optional very late after thought to improve the language on a fragile base.

@mo8it Sure I can. In Python, you have literal types, function overload, protocols for attributes, annotations for descriptors, and lots of other things. And TS can do even more with dependent types, there are even examples of JSON parser and Assembler on type system. But in Rust, for example, you can't say that a function returns or accepts only a specific member of an enum. Having type system independent from the runtime types naturally gives a certain degree of freedom.
@orsinium Usually, you use the type state pattern for that in Rust. But I agree that enum variants as a full type could be a nice improvement.