Why Make another programming language.

UCodeLang Logo

UCode is a programming language designed to be embedded into existing software such as game engines while being a low-level language with modern and high-level features.

mainly

  • does not require a garbage collector like C#.
  • offers more functionality than Lua.
  • is easier to use than C++.
  • Uses Compile time power to reduce boilerplate.

Design Principles/Pillars

  • Simple is better than complex.
  • Zero-overhead abstractions
    • You don't pay for what you don't use.
    • What you do use is just as efficient as what you could reasonably write by hand.
  • Productive
    • Scalable compilation times
    • Reliable Tooling.
    • gradual learning curve
  • Reuseable
    • multi-paradigm
    • Compile time power

QA

  • Q: UCodeLang is very similar to c++ and rust why not use Rust or C++?

    A: C++ is too compilcaicated of a language and is unanalyzable after compiling(without hacking the compiler).rust memory features is not that usefull for my use cases and c++ Smart Pointer's is all i need.

  • Q: Why is it written in c++.

    A: Most Game Engines and specificaly my game engine is written in c++.c++ is stil the best tool for makeing game engines.

  • Q:Why not use LLVM for your backend.

    A:LLVM is too big of a dependency and writeing backends my self gives me a good excuse to learn about Computers(The Reason im makeing a game engine). Also you just output llvm assembly text.

  • Q:Why significant white space?

    A:Just Seemed Interesting also just looks nicer.

  • Q:UCodeLang just seems takes ideas from other languages does not do anything new.

    A:UCodeLang is not the next big thing it's just a tool made for my specific use case.It takes the best Parts from languages i like and attempts to remove excess.

  • Q:What does UCode mean?

    A:The word UCode means nothing and has no history it just just a name I made up for a progaming language idea.if you realy want a meaning a meaning it when the idea was made it stand for Unsigned Code based on c/c++ unsigned keyword.

  • Q:Do you like c++?

    A:I like it enough to spend a year makeing a new language useing it but not enough to make my users for my Game Engine Use it(Sorry unreal).

  • Q:what next and when will be Language be done.

  • A:When the repository Opens (preferably on 1/2/2023 The one year anniversary of makeing the jit project) most features would be done and dont really plan on adding more unless it Just too Good. I'll be around for an extra year to finsh up the other architectures and backends and stabitly.at that point the project will be done and i can go on working on that game engine and go to work on biger and better things.