Skip to content

Comment on Orange: A simple systems programming languageparent

Comments

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

Sounds like you're interested in C++.

With C ABI compatibility (without name mangling and such), and with a much more streamlined feature set...

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.

AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.