r/Citybound • u/hubble618 • Dec 04 '15
Swift went open source
So with the programming language Swift having just today gone open source, do you intend on using it? They don't have a windows compiler yet. You mentioned long term you want to use C, but its over 30 years old. I watched a few of their videos, not having to use #include statements, or variable types in declarations, just to name a few, is nice. You haven't started writing outside of java yet, and I suspect you wont until alpha, but I expect the other compilers to be done well before then, so I thought id re post this news here.
4
u/cerebellum42 Dec 07 '15
He hasn't actually written anything in the game in Java. Javascript is what he is using. Big difference.
3
u/schraubedrin Dec 04 '15
i haven't studied this but i think the age of C is it's advantage. Because it developed with the machines it's running on, it is more machine-oriented and therefore has the potential to run very efficiently.
But maybe someone more experienced can answer this?
3
u/dainless Dec 04 '15
Yes, you may have less "comfort-methods", but it's highly performant.
A year ago i heard a lecture about machine-oriented programming and we we're told that there are still most systems using C. But Go by Google is getting bigger and bigger, this year the professor talks way more about this and it gets more and more in the focus of the lecture as i heard from my fellow students who are visiting this lecture this semester.
@hubble: Anyway, because it needs to be said: Please don't get confused with JavaScript and Java, those are two completely diffrent things ^ Anselm is using JavaScript (mainly(?))
7
u/Jimmyson07 Dec 04 '15
C might be 30 years old, but its still relevant today. Heck, they still build Linux with it!!
I don't see Swift as an option for the moment. Considering that Apple built it and that they like to keep control of it, I doubt that we would see desktop apps for non-Apple platforms built with it.