3 ms·
I'd personally would like to see a C ABI compatible language, that - keeps 90% of C, - adds a string type - adds Go like "classes" (e.g. making more concrete
by coldtea 11y ago
I'd personally would like to see a C ABI compatible language, that
- keeps 90% of C,
- adds a string type
- adds Go like "classes" (e.g. making more concrete the classic C idiom of passing a struct to the "object" to manipulate a la Glib)
- adds a foreach
- adds a builtin, multi-purpose map, vector and set type (e.g. based on Glib) for quick work
- adds closures a la Obj-C / Apple's C
- adds a small, but handy standard library (all C classic stuff + all Glib style stuff).
- compiles to C-ABI compatible static binaries
- rjeli 11y agoSounds like you're interested in C++.
- aikah 11y ago> Sounds like you're interested in C++. C++ is good as long as you don't have to read and debug other people's C++ code. C++ went to far with features and it didn't even fix all C core's problems. I personally like Cyclone syntax and features.
- coldtea 11y agoWith C ABI compatibility (without name mangling and such), and with a much more streamlined feature set...