3 ms·
I wish there was some dialect of C, with a complexity between C and C++, with simple things such as string, vector, dict... I like V, nim, Zig, etc, but I just
by jokoon 5y ago
I wish there was some dialect of C, with a complexity between C and C++, with simple things such as string, vector, dict...
I like V, nim, Zig, etc, but I just want a language that use the same idioms of C, with the same syntax flavor, without all the complexities of C++ (templates, inheritance, etc). I don't want complex, new features that new languages offer.
- mjfl 5y agoSo just use C++ without those features...
- jokoon 5y agoThat's what I do, but it doesn't change the fact that compiling C++ is pretty heavy and slow, and C++ still suffers from a lot of backward compatibility.
- akvadrako 5y agoSounds like you just want a library like GLib. Vlang is the most simple in your list – it is a different syntax, but not much more complex than C.
- huhtenberg 5y agoBeing an over-engineered monstrosity that it is, Glib is probably the exact opposite of what GP wants.
- PaulDavisThe1st 5y ago"Those who don't understand Glib are destined to reimplement it and have their work also referred to as an over-engineered monstrosity"
- user-the-name 5y ago
- CyberDildonics 5y agoHow do you have vectors and maps without templates?
- arunc 5y agoI recommend to look at D. https://dlang.org/ https://dlang.org/ From the next release you will be even able to import C into D. https://dlang.org/changelog/2.099.0.html#__import https://dlang.org/changelog/2.099.0.html#__import