So I didn't wanna respond to any of this because I have plenty of other ways to procrastinate from qc2rust (sry, no public repo yet) but then i realized I wouldn't be able to stop thinking about it anyway.
(03-13-2019, 03:35 AM)Snowball Wrote: [ -> ]ridiculous task of making a program that reads qc code rewrites it in c++
It's called a compiler. It's been done before, though it would need more work to make it usable. Jcompile doesn't work with our latest code anymore and from what i am told it never produced readable code.
(03-13-2019, 03:35 AM)Snowball Wrote: [ -> ]you could fix the language
Language design is hard, that's why there are so many bad ones that people don't even know things could be better. Read about the blub paradox. Just like other kinds of forks, adding another bad one won't help.
(03-13-2019, 03:35 AM)Snowball Wrote: [ -> ]or you could just rewrite the entire game. if you do that you may as well make a new game in source2 because it has better graphics.
Yeah, and it wouldn't be xon, the whole point is to make xon better, not make a different game.
(03-13-2019, 03:35 AM)Snowball Wrote: [ -> ]you probably found this comment infuriating.
More like incoherent but close enough. From your previous post you clearly have no idea what you're talking about. As a rule of thumb, if you feel obliged to say "you could just", you're missing something obvious. That is indeed the case here.
(03-13-2019, 04:18 AM)Mario Wrote: [ -> ]too many personal agendas and snobbery over languages IMO
Idk about others but my agenda is having a FOSS game that i wanna come back to as both a player and a dev. Being written in a language that others wanna come back to would greatly help that goal, especially given the dev team's not exactly been growing over the past few years and plenty of bugs are directly or indirectly caused by QC (and sometimes the compiler).
I see why you might be worried i wanna push for a "rewrite" in rust no matter what. From another person's perspective it might seem like i really like the lang. I don't. Well, a little. Rust is bad. It's just WAY less bad than all the others i've tried and i think it aligns pretty well with our needs.
(03-13-2019, 04:18 AM)Mario Wrote: [ -> ]any form of rewrite is simply out of the question
Yes, generating readable code or bust.
About FTE's flavor of QC:
I haven't used it so take this with a huge grain of salt, the feature list looks interesting and it is no doubt a better lang that our current QC. However, I am afraid it might secretly be another C++, just with its own, different, set of quirks.
Moving away from FTE QC later (if it turns out to be a dead end) would be even harder than from our QC since it's a much more complex language. A compiler from our QC to c++ or rust is not easy but it's doable. (Otherwise, seeing as it's my bachelor thesis, i am deeply and thoroughly fucked. We'll find out in 2 months.) From FTE QC, i'd be really afraid of it.
Finally, switching to an established lang (while we can) gives us an actual ecosystem which we can depend on. Both rust and c++ have plenty of libs we can use and IDE support, not to mention better learning resources and existing experienced devs. Very long term, in rust's case parallelizing parts of the code like bot logic will be much easier and we'll avoid a whole lot of hard to track bugs.
Either way, if rust or c++ on daemon don't work out, then FTE is definitely a nice backup to have.