• 1 Post
  • 518 Comments
Joined 1 year ago
cake
Cake day: September 2nd, 2023

help-circle


  • What’s up with all these posts lately talking as if C was the chain breaker that will let you achieve a higher spiritual level for your soul or some shit. This is at least the second I’ve seen this week.

    It’s a programming language. If you want to use it, use it. There is no illuminati pulling in the strings to prevent you from learning this holy language.

    That being said, like all programming languages, it’s a tool, with its upsides and downsides. Depending on the project it might be the best choice or the worst. But with the advancement in language design, there’s very little upsides compared to more modern languages, taking into account its big downsides.


  • Well, game freak is still a Japanese developer. Mario Cart is a very computationally light concept, as usually are Mario games, idk about odyssey in particular though, but they tend to be small maps with small amount of entities each. Zelda is fair, I’ve heard good things about it.

    It’s easy to make a good performing game if its concept and art design are computationally light. Optimization is about turning a computationally hard problem into a light algorithm that doesn’t take much resources.















  • I haven’t used npm. But pip is horrible. Some times I’ve used a well-known library that only works on linux, but there is no mention of it whatsoever, and it installs without problem. The error only happens at run-time (not even when importing!) and says nothing about platform-dependency. I only learned that it was a linux-only library because I happened to try running it on a Linux machine to see if it worked.

    Many times you have to set up your environment a specific way (environment variables, PATH, install dependencies outside of pip) for it to work, and there’s no mention of it anywhere. Sometimes you install the library with pip, sometimes with apt, and there is no way to know which one. And sometimes the library is both in apt and pip, but the pip one does nothing.

    Furthermore, good luck importing a library. You might have installed it with “pip install my-library” but to import it you have to do “import MyAwesomeLibrary3”. And pip won’t tell you about that.