C++ is inferior to Rust and should be used in no new projects unless it is absolutely necessary
sparkle
Not Scala and Rust. They are my beloved, my sweethearts, my knights in shining armor.
Ok Rust does have some major issues, but not Scala...
Firefox consumes more RAM than chrome on average. Edge uses the least RAM
Also, Floorp is superior to regular Firefox
I'll keep this short since you already seem extremely unhinged and half the stuff you wrote is basically empty insults.
You losers can't even prop up Ukraine against Russia, and think you can take on China.
Remind me how long that "10-day special operation" is taking again? Seriously, how can the "2nd best military in the world" falter so hard against their tiny neighbour with 1/4 of the population just because they got weapon donations from other countries? It shouldn't be that hard to counter right, I mean Russian military technology is allegedly so advanced and totally not stuck in the 80s. I would understand if it were half-way across the globe or something, but they're LITERALLY ON THEIR DOORSTEP. It's also concerning that China has repeatedly failed Russia when it comes to Ukraine and has caved into international pressure quite a few times, maybe it's because China also realizes that the war is completely embarrassing Russia?
The sheer delusion here. Burgerland economy would collapse overnight. Go check where all your shit comes from sometime. 😂
The US navy has a larger airforce than the entire Chinese airforce, and the US has a larger and more advanced air fleet than the next 5 countries (Russia, China, India, SK, Japan) combined, and invests 3x as much as China into the military (and that's what, 13% of the US' budget?). The US navy also has over 2x the displacement of the Chinese navy. Spending is DEFINITELY not a problem considering that.
read and weep ignoramus https://thehill.com/opinion/international/4657439-china-doesnt-need-to-invade-to-achieve-taiwanese-unification/
Damn, an opinion piece news article. Guess that destroys the entire American military and truly shows that China numba one.
Latest polling shows that vast majority of people want to maintain the status quo, and very few people want independence, but do go on child https://esc.nccu.edu.tw/PageDoc/Detail?fid=7801&id=6963
I literally said that exact same thing in my original comment, it goes against your point lmao. The status quo is defacto independence and "Taiwan, not China". Notice how unification is by far the least popular response in what you linked, and has decreased in popularity significantly over decades. And of course, gaining independence eventually has increased in popularity over multiple decades. Is this part of China's grand plan, to make unification with them less popular over time?
What you're doing here is called sophistry. Taiwan being part of China is a fact that's recognized by international law.
Tell me you have no idea how the UN works without explicitly saying so. A majority of countries not recognizing Taiwan doesn't mean it's "international law" that Taiwan isn't independent.
It's really that simple. The reality is that China could remove US sponsored regime in the rogue province any time they want.
LMAO this is such a cope. Yeah I'm sure the extremely aggressive all-bark-no-bite and constant "you better not do <x diplomacy with Taiwan or military action in Taiwanese strait/South China Sea> again or we'll do something about it, I swear!" empire is suuuper capable of taking Taiwan. They know if they tried full-out war against the US or its allies (Taiwan), the US navy would cut off their international trade and turn their country upside down – it's why they're trying so hard (and failing) to seize full control of the South China Sea.
However, they realize that it's much better to remove burgerland influence in a peaceful way, and that's what will happen.
Again, absolute cope. They've been at it for over 75 years and haven't made any progress, considering Taiwanese have developed significantly more national identity and even more people in Taiwan support the country participating in international relations under the name "Taiwan" (80%) and consider themselves primarily Taiwanese (90%), and only 6% consider themselves more Chinese than Taiwanese (more people considered themselves primarily Chinese many decades ago but that has long since dwindled).
It's incredible how people have trouble grasping such basic things.
It's incredible how you have trouble grasping the situation and think China is going to "peacefully" absorb Taiwan when Taiwan is farther from China than ever in terms of national identity and international participation.
Several polls have indicated an increase in support of Taiwanese independence in the three decades after 1990. In a Taiwanese Public Opinion Foundation poll conducted in June 2020, 54% of respondents supported de jure independence for Taiwan, 23.4% preferred maintaining the status quo, 12.5% favored unification with China, and 10% did not hold any particular view on the matter. This represented the highest level of support for Taiwanese independence since the survey was first conducted in 1991. A later TPOF poll in 2022 showed similar results.
I'll say it again: Why would countries risk ruining trade relations with China, one of the three most important trade powers internationally, over unnecessarily pointing out reality and thus contradicting China? And how can you seriously say territory a country doesn't control in any capacity at all theirs? Why do you think a majority of world powers are independently trading with Taiwan if Taiwan isn't independent from China?
Don't you think China would, you know, not be constantly complaining about not having control over Taiwan for the past few decades and making bluffs about invading if Taiwan were already part of China? That's a pretty obvious sign that "no, China doesn't own Taiwan in any capacity".
The US state department doesn't decide which countries own or control which territory, now does it? How exactly can you say territory you don't control (neither legally nor militarily) and likely will never control is part of your own country? Furthermore, why would the US risk ruining trade relations with China over unnecessarily pointing out reality, when it doesn't benefit the US to recognize Taiwanese independence?
In most American dialects and some British dialects, "bore" and "tour" rhyme (called the "pour-poor merger"). But in some dialects it may rhyme with "sewer"/"two-er" or have the same sound as in "blue" or even as in "were".
Aren't you a "free market capitalist" conservative libertarian that argues on socialist/leftist communities? Are you seriously surprised that you go on a predominantly leftist/left-leaning site and see leftist opinions being upvoted more and right-wing conspiracy nutjob comments being downvoted more?
no politics
good luck there. especially with determining what is or isn't politics in the first place
I agree that the slow compile times are pretty bad (maybe even deal-breakingly for large projects). I think it's kind of necessary for a language with as powerful of a syntax as Scala though, it's pretty absurd how expressive you can get. Maybe if it didn't target the JVM, it'd be able to achieve way faster compile times – I don't really see a point of even targeting JVM other than for library access (not to say that that isn't a huge benefit), especially when it has relatively poor compatibility with other JVM languages and it's nearly impossible to use for Android (don't try this at home).
Even more so, I think that null handling isn't nice – I wish it were more similar to Kotlin's. One thing I'm really confused as to why Scala didn't go all-in on is Either/Result like in Rust. Types like that exist, but Scala seems to mostly just encourages you to use exceptions for error propogation/handling rather than returning a Monad.
A more minor grudge I have is just the high-level primitive types in general – it's pretty annoying not being able to specify unsigned integers or certain byte-width types by default, but if it really is an issue than it can be worked around. Also things like mutable pointers/references – I don't actually know if you can do those in Scala... I've had many situations where it'd be useful to have such a thing. But that's mostly because I was probably using Scala for things it's not as cut out to do.
With the tuple arguments point, I get it but I haven't found it much of an issue. I do wish it wasn't that way and it consistently distinguished between a tuple and an argument list though, either that or make functions take arguments without tuples like in other functional languages or CLI languages (but that'd probably screw a lot of stuff up and make compile times even LONGER). I saw someone on r/ProgrammingLanguages a while back express how their language used commas/delimiters without any brackets to express an argument list.
I think an actually "perfect" language to me would basically just be Rust but with a bunch of the features that Scala adds – of course the significant functional aspect that Scala has (and the clearly superior lambda syntax), but also the significantly more powerful traits and OOP/OOP-like polymorphism. Scala is the only language that I can say I don't feel anxious liberally using inheritance in, in fact I use inheritance in it constantly and I enjoy it. Scala's "enum"/variant inheritance pattern is like Rust enums, but on crack. Obviously, Rust would never get inheritance, but I've found myself in multiple situations where I'm thinking "damn, it's annoying that I have to treat and as almost completely serparate". It would especially be nice in certain situations with const generic traits that are basically variants of each other.
Plus, I've always personally liked function overloading and default arguments and variadics/variadic generics and stuff, but the Rust community generally seems to be against the former 2. I just really hate there being a hundred functions, all a sea of underscores and adjectives, that are basically the same thing but take different numbers of arguments or slightly different arguments.
The custom operators are a double-edged sword, I love them and always use them, but at the same time it can be unclear as to what they do without digging into documentation. I guess Haskell has a similar problem though, but I don't think Scala allows you to specify operator precedence like Haskell does and it just relies on the first character's precedence. I would still want them though.
How it goes now, though, is I use Scala 3 for project design/prototyping, scripting, and less performance-sensitive projects, and Rust for pretty much everything else (and anything involving graphics or web). Scala has good linear algebra tooling, but honestly I'll usually use C++ or Python for that most of the time because they have better tooling (and possibly better performance). I would say R too, but matplotlib has completely replaced it for literally everything regarding math for me.