Yea ofc not, I just realized I never really mentioned the refactoring thing, so I did it now.jonsykkel wrote:ye, dont get the wrong idea, im wasnt saying the code is badik or anything liek that (im dont know im havent seen it), i have no reason to think it is
Ye ok, I never got around to customizing the default skin (and I agree it looks bad), so not sure if it was fixable. But another bad thing about CEGUI is that it doesn't have keyboard support. I coded some custom kb handler, but it's far from perfect. Also it looks max ugly on 4K screen.jonsykkel wrote:bigest thing i gues: im dont like the CEGUI interface, it feels very "cheap" and not like the right thing for best game of al time.
Some more Rust sales pitch...
Ye, syntax is kinda subjective I guess. Was there any specific snippet of Rust code that looked too complicated?jonsykkel wrote:i dont like rust, it seems to have many of the things i dont like about c++ (way too complicated syntax).
Yup, that's the ideal. But, the existence of various C/C++ analyzers and sanitizers shows it's not so easy :)jonsykkel wrote:i dont care about memory safety, just write things carefully (like you shud be doing anyway) and it isnt a problem.
The annoying thing about C/C++ is that some bugs cause undefined behavior, so with bad luck the bug won't manifest itself right away but a lot later, so it's harder to track down.
But here's the great thing about Rust - it's really hard to write Rust code that 1) compiles but 2) is broken. So beginners spend most of the time fighting the compiler errors. It's way more strict than C or C++ because Rust doesn't allow "dumb mistakes".jonsykkel wrote:if i used rust for the server it would be riddled with bugs, since i dont know the language
I forgot to mention that it's really simple to use 3rd party libs (e.g. a TCP/HTTP server) in Rust. Basically you say "cargo add xxx" and then you can "use xxx;" in code. I've never used C so I can't say if it's easy/hard there. At least in C++ it's a pain to add a library because there's no standard package manager.