News for hackers. Stuff that matters.
Re:Cello – High Level C by jokoon on Saturday March 05, 2022 @06:14AM (#30566426)
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.

Re:Cello – High Level C by arunc on Saturday March 05, 2022 @11:07AM (#30568641)
I recommend to look at D. 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

Re:Cello – High Level C by mjfl on Saturday March 05, 2022 @06:16AM (#30566440)
So just use C++ without those features...
Re:Cello – High Level C by jokoon on Saturday March 05, 2022 @08:39AM (#30567466)
That'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.
Re:Cello – High Level C by akvadrako on Saturday March 05, 2022 @06:22AM (#30566480)
Sounds 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.

Re:Cello – High Level C by huhtenberg on Saturday March 05, 2022 @06:25AM (#30566492)
Being an over-engineered monstrosity that it is, Glib is probably the exact opposite of what GP wants.
Re:Cello – High Level C by PaulDavisThe1st on Saturday March 05, 2022 @07:45AM (#30567055)
"Those who don't understand Glib are destined to reimplement it and have their work also referred to as an over-engineered monstrosity"
Re:Cello – High Level C by CyberDildonics on Saturday March 05, 2022 @09:58AM (#30568097)
How do you have vectors and maps without templates?