Jump in the discussion.

No email address required.

Dynamically sized array, like C++

Type is literally "Array"

What if it doesn't need to be a dynamic array? Is there any meta programming like C++? Is this a C++ replacement or is it just pointlessly comparing itself to C++

...

meme/hobby language, move along. Learn something else

![](/images/16582506434392834.webp)

Jump in the discussion.

No email address required.

Anything without compile time function execution and string mixins is a meme language, yes this includes C

Jump in the discussion.

No email address required.

I disagree. Computers are extremely fast, but lots of things aren't perfect. Even interpreted languages are nice because they are convenient to program in and easily extensible, it just matters how you do it.

Compile time function execution is great and I love it, but it's not a necessity and really doesn't actually benefit programs as much as one would think. It can make code more difficult to read in some cases, such as C++, where anything below C++20 has template definitions looking awful and difficult to manage. All compile time does is take things that are done in runtime and move them to compile time, theoretically anything can be done at "build-time" in any language, as long as it's bundled it. Sometimes I like to bundle small files into C programs for portability, which is essentially done at build time. Unfortunately, compile time just doesn't work in a major amount of situations.

String mixins are great though, I am working on a C CGI applications and god I hate C strings. Sometimes they are okay with the Standard library functions but for the most part they are awful to work with in practice. I consider compile time functions to be a micro-optimizer's dream, but in the real world, most of these compile time optimizations mean nothing, even to embedded programming

Jump in the discussion.

No email address required.

:#marseywoah:

Jump in the discussion.

No email address required.

TIL about string mixings. just last week I was just coding something similarly but did it manually by filling strings and recompiling it manually.

Jump in the discussion.

No email address required.

Link copied to clipboard
Action successful!
Error, please refresh the page and try again.