IMO it's maybe the best suited language to AoC.
You can write it even faster than Python, has a very terse syntax and great numerical performance for the few challenges where that matters.
So the main reason that doesn't work sometimes is how you are using Rust.
For instance right now I'm leaning into the Rust Embassy ecosystem which is async based, the drivers need relatively deep integration with the embedded-hal-async layer which is far from trivial to do with C bindings.
In practice I end up rewriting drivers. Which sounds daunting but often times it's much easier than folks think and the resulting code is usually 1/4th or smaller the original C code. If only implement what you need sometimes drivers can be less than 100 lines of Rust.
There are certain figures who are very experienced and knowledgeable in certain domains, so when they speak up about a topic it's usually worth listening to them. That doesn't mean they're always going to be correct, and they shouldn't be worshiped as superhuman entities, but it's almost always a bad idea to completely ignore them.
I have lived in Thailand for the last ~8yrs. It's unfortunate not to see it on the list as I think generally speaking Thais are much happier than either US (where I travel a lot for work) or Australians (my home country).
A big chunk of that is the expectations, they don't need many material things to enjoy life and place a much higher emphasis on community and social standing (which isn't primarily derived from material wealth).
Your occupation in Thailand has a very large impact on your social standing - more than the income you derive from it. i.e doctors are extremely well respected, however public doctors more so than private ones despite the latter being more wealthy.
Sense of community is something that builds you up rather than the Western trope of comparing yourself to your neighbour that breaks you down.
That very simple difference seems to have an outsized impact on how happy folk are here.
There are exceptions and Bangkok is much more Western but if you live out in the country like me then Thailand is a very happy place.
While what you said may be true, it's also likely that (I assume) being an expat you are generally living in large urban areas and interacting with the top N% of the country in terms of wealth and opportunity. Go a bit deeper and the reality may be very different.
FWIW I live in a small semi-rural community in Krabi province, but it's an easy assumption to make. :) Also I did live in Bangkok for several years so I guess it's only a few years off temporally.
If anything I feel the people are happier here than in Bangkok which was by far wealthier and full of (traditional) economic opportunity. Here it's a combination of tourism in the nearby beach areas and lots of agricultural business (rubber, pineapples, etc).
As long as money isn't a problem it's not something making you unhappy.
Having more than you need isn't going to directly make you happy, it can certainly help indirectly though.
Instead the things that make people happy are mostly family and community in my experience.
With that in mind there is a lot of reasons for people to be happy here - beautiful scenery, clean air, close community (I know pretty much everyone in my neighbourhood) and very active Chinese shines, Muslim mosques and Thai buddhist temples. Family life here is good, it's safe, there are good schools etc.
I used to think other things were more important but since moving here I have come to appreciate that these things are what matter and why people stay.
Because they chose the wrong API (well more correctly created a new, worse one).
In order to appease the various flavours they mixed and matched stuff from Tornado, gevent, etc.
They should have stuck with the most seamless of those (gevent) and instead of having it monkey-patch the runtime go the Java VirtualThread route and natively yield in all the I/O APIs.
This would have given a Go-esque ease of use and likely would have been immensely more popular.
reply