The problem with languages is they don't compose. Iow, one missing feature needed automatically invalidates the language entirely. Swift is targeted at Apple platforms and cross platform is an after thought. Kotlin targets JVM and while it is cool in concept, I hate it as a user (and Kotlin native isn't near as mature). If were considering something else at this stage I'd probably put my time into F#, but even it has its cons.
NOTE: By "compose" I mean that if I want feature A, B and C from lang X (has A and B), Y (has B and C) and Z (has A and C), but there is no way to get A, B and C in one language without creating a brand new one. I cannot mix and match features from different languages.
They don't compose what? Is this one of those 'monad is an endofunctor' deals?
(me not knowing might be the ignorant bliss that allows me to just do productive things in them regardless)
Edit: I understand from the updated comment
I've long accepted that no one language can offer all of the language features I'd want, but I also question if I'd even want that language if I got it
The problem with languages is they don't compose. Iow, one missing feature needed automatically invalidates the language entirely. Swift is targeted at Apple platforms and cross platform is an after thought. Kotlin targets JVM and while it is cool in concept, I hate it as a user (and Kotlin native isn't near as mature). If were considering something else at this stage I'd probably put my time into F#, but even it has its cons.
NOTE: By "compose" I mean that if I want feature A, B and C from lang X (has A and B), Y (has B and C) and Z (has A and C), but there is no way to get A, B and C in one language without creating a brand new one. I cannot mix and match features from different languages.
They don't compose what? Is this one of those 'monad is an endofunctor' deals?
(me not knowing might be the ignorant bliss that allows me to just do productive things in them regardless)
Edit: I understand from the updated comment
I've long accepted that no one language can offer all of the language features I'd want, but I also question if I'd even want that language if I got it
And if we're still talking about gamedev, F# would probably make the GC too sad.
(When are we getting a low latency collector in the CLR? But I digress...)
Yeah I'm not a game dev and don't write anything with low latency requirements. Almost all my code is in the "thoughput" camp.
It's any of:
Rust + (garbage collector)
Swift + (cross platform support)
Kotlin + (proper pattern matching)
Unfortunately, none quite hit that central sweet spot, IMO
Roc is looking very promising IMO
Well, Kotlin + (proper pattern matching) = Scala
Mojo soon
And Zig maybe?