Please propose other features or discuss the ones above. Also, we need a name. I was thinking something like newC, with compiler called ncc. The actual goal is to write a new language specifications. The goal of newC language would be that of providing a simple and modern compiled language to extend C in order to use it in some tasks that are painful to work in C, without bringing in OOP paradigm and making it extremely intuitive for C programmers to learn it.
Mason Butler
bump
Nathan James
just mix the best parts of D and C++ desu
Eli Reed
dumb blepeposter
Camden Watson
Revive Cyclone
Landon Miller
Lets not make a new C based language but instead make a new compiler+Language with assembly.
Kevin Perez
>without bringing in OOP paradigm kys
Brayden Butler
>simple and modern compiled language to extend C Would it be compatible with C libraries?
Isaiah Lee
>OOP >not shit
Brayden Lee
OOP is brilliant bro, it's basically the best of procedural and functional programming brought together.
Adam Ortiz
Which are, in your opinion, the best parts of D and C++? Everything that can be done in OOP can be done with struct. I was thinking something like this: struct x { int foo(int, char); }
x.foo(a,b); //which is equivalent to //foo(&x, a,b);
It is just a clean way to organise function and make cleaner code. No, libraries need to be written. But with polymorfic data types, we can make standards libraries that include common data structures independent of the data types.
Xavier Ramirez
Here's my model for how member functions would work in my ideal language. Rather than the three way distinction of C++'s static, non-static non-virtual and non-static virtual you have a simple two way distinction. Static/nonstatic. Or if you prefer, virtual/nonvirtual.
struct Foo { void doThing(Foo& this) { } // a static function };
Foo myFoo; myFoo.doThing(); // resolves to Foo::doThing(myFoo);
UFCS sugar makes nonstatic nonvirtuals redundant and this particular style avoids polluting the global namespace with free functions. So I'd like to get rid of them to make things cleaner.
Gabriel Long
literally "i'll make the logo and be the ideas guy". lurk more, idiot
Samuel Brooks
>having symbolic modules instead header/implementation, because that's the only non-retarded way to include files >have runtime execution, AST API and special annotations for metaprogramming like in JAI
also or at least add another sane way for runtime polymorphic dispatch Pro-tip: Library based anything like gObject, moose or clos isn't.
Easton Lewis
fuck off to
Samuel Myers
>operator overloading aka ad hoc polymorphism fuck off m8 atleast make it type classes instead
Ayden Wood
>overloading = overriding
Jordan Gutierrez
It overrides the regular function of an operator
Michael Morales
It's not overriding if it's not a runtime resolution. Overloading is a compiletime convenience feature.
Colton Morales
>It's not overriding if it's not a runtime resolution Hence why "Java performance" is an oxymoron.
Michael Green
What does Java have to do with anything? You're sounding schizophrenic, user.
Jeremiah Powell
Maybe because different people are answering to you, retard
Charles Hughes
Override is from Java. C++ uses overloading instead.
Kayden Wood
Overriding is definitely a part of C++ senpai, it's the exact reason why virtual functions exist.