Jump to content
  • Advertisement


  • Content Count

  • Joined

  • Last visited

Community Reputation

125 Neutral

About RiskStructureAdjustment

  • Rank

Personal Information

  • Interests
  1. RiskStructureAdjustment

    Language decision crisis

    I'm just too paranoid. E.g. what if suddenly aliens want to use Java technology and they beam up all people who developed the JRE, OpenJDK and the Android Java runtime that they work for them. Then the people left have to reverse engineer the source code of the OpenJDK. I think this would be even worth it. Maybe some company would do this and then they sell the solution to all companies who depend on the Java technology. Ok, that's silly.   My second concern when using Java is that everybody hates Java and the JVM.   I don't care anymore if you hate me! I even say garbage collectors can be in a lot of situations faster than reference counting(which is the truth)! EDIT: to be clear, I meant tracing GCs vs reference counting
  2. RiskStructureAdjustment

    Language decision crisis

    Yesterday I tried to get premake + GLEW + GLFW setup in a platform inpendent way(so not a single VS project file). I go back to Kotlin. Also there is this thing: https://github.com/jtransc which compiles JVM Bytecode to Haxe which transpiles to C++ or JS(last time I tried this a hello world Java app resulted 27 MB of C++ source code).   EDIT: The binary had a size of ~5 MB
  3. RiskStructureAdjustment

    Language decision crisis

    I already thought about Swift, but it's only available on Mac OSX and on Linux.     Kotlin is great, but everytime I use something like that I get the feeling that my code is very inportable. It's a very bad feeling, like when you're are sitting on a stack of whatever and it's comfortable but you don't know how many levels are between you and the ground and if the stack breaks, everything made up there is worthless. And in case of the JVM the stack is huge, really huge. Also the user has to install Java, which is because of Minecraft often already the case.
  4. RiskStructureAdjustment

    Language decision crisis

    Actually I'm using plain old C, for a 3DS homebrew game, on a medium sized scale.   The reason I chose C was simply because at this point I had enough of C++, but now I'm thinking about porting it to C++. And C libraries can be interfaced from C++ without any wrapper or extra library and even most other languages can interface C with only little effort.   I would say C is easier to learn than C++. Simply because C is so simple and in my eyes too simple. And this time there is a real alternative ready to be used.
  5. RiskStructureAdjustment

    Language decision crisis

    Rust is indeed very strict and that's not my problem.   Now, after you mentioned it, I think I identified the actual problem I have with C++: everybody does what ever she/he wants. E.g. every library uses it's own strings and vectors or some people do use feature xy some don't. I've already seen people writing OOP code in C++, the C way(so they use C++ as C with namespaces and default argument values). So my problem is/was freedom, that's a weired problem.   Also in Rust it's only the matter of mut, three letters less :P (not a very good argument).
  6. RiskStructureAdjustment

    Language decision crisis

    As said above I give C++ another chance. I have luxury problems and I don't get anything done because I'm searching for something which doesn't exit.   The language itself isn't my problem, although my C++ is a little bit stiff, I know C++. And e.g. I know why header files are needed.   At last I want to say thank you, I think I finally can do something. EDIT: I could do something the whole time, I was simply obsessed with something else
  7. RiskStructureAdjustment

    Language decision crisis

    Yes, I know. I probably demonized C++ in my memories too much. I should give it another chance.   Also Rust is on the rise and it's designed to be a real alternative to C++. And thanks to the Rust language server(https://github.com/jonathandturner/rustls), good IDE support will be available in the future.
  8. RiskStructureAdjustment

    Language decision crisis

    First of all I want to say hi, I'm new in the forum. I do game development only as an hobby beside school, but started with programming in the 5th grade and now I have a pretty large set of languages learned.   After working with C++ for a while I begun to hate it. C++ is such a flawed language. For example the whole header/source seperation makes code hard to write and to read. Also const correctness is very annoying(I understood why I should do this, but writing const after every second thing makes me cry). These are only two critics on C++ I have more. The problem is not that I don't understand C++, I used C++ extensively, I learned modern C++ with it's bells and whistles but from my view C++ carries a too heavy legacy.   So after this I fall into what I call language decision crisis. Then I tried several languages, Go which looked nice at the first glance, but Go is a baby toy compared to C++(no ternary, no custom iterators...).   Then I tried D, Nim and Rust. All of them are nice languages but they share a common weakness: they have very bad editor support(only very bad autocompletion). I also tried Kotlin which is a very nice language(with very good editor support, IntellJ!), but it's based on the JVM which is a no go for me.   I end up using Haxe, which has better editor support than the other(it works more or less), but the engine I wanted to use(Luxe) of course doesn't work with the latest version(because of some bugs), but the VSCode plugin requires the new version.   So what do you recommend me to do(Yes I know, I shouldn't post these vs threads, but I really need advice). I'm a little bit too picky, I know.   Oh and C# isn't an option, I have two Mac using, Mono hating friends who already annoy me because I'm using Windows.
  • Advertisement

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!