Why is nobody discussing Swift here?
Isn't there a need for a modern and programmer friendly C++ replacement?
It's open source, available for Linux and Apple platforms, and even a unofficial port to Windows exists.
Why is nobody discussing Swift here?
Isn't there a need for a modern and programmer friendly C++ replacement?
It's open source, available for Linux and Apple platforms, and even a unofficial port to Windows exists.
>betting on Apple's ecosystem for longterm
>using Swift without for anything not Apple-centric
no sorry
But I like the idea of developing standard high-level language for a platform. Windows has C#, Applel has Swift, Linux has flamewars
I mean there is also rust, but judging from the short look I had at it, it's not a very well designed language.
There are a few different string types that one has to use, different kinds of pointers, etc, making it even worse than C++ in some sense.
But its Objective-C replacement or companion
You also have to consider that the C standard library contains next to nothing, and still it got big on all platforms.
Honestly there seems to be a lack of native, modern languages with potential.
Swift is a language you use to get work done.
Jow Forums prefers language that make the act of writing a fizzbuzz program unreadable, unmaintainable and slow.
So what? It's still a general purpose language.
Not really. Even C++ has more kinds of pointers and there are worse designed than Rust's.
Different strings come from the need to distinguish between allocation handler and view on array. This is same for vectors/arrays. C++ has that as well. All of the avoiding unnecessary allocations by sharing data are much cleaner and transparent in Rust than in C++.
>Isn't there a need for a modern and programmer friendly C++ replacement?
That's Go.
it's useless legacy anyway