Name: Anonymous 2014-01-18 22:19
What's wrong with C++ and where does the name sepples comes from anyway? I mean apart from the sometimes fucked up syntax rules.
where does the name sepplies come from anyway?Are you serious?
it is often said that small is beautiful. now, anything can be beautiful when it is small. the ugliest person you can think of was probably a quite pretty baby. it doesn't take much effort to find a beautiful 16-year-old girl, either. in fact, our modern notions of beauty and elegance are _defined_ in terms of size and maturity, so the chance of anything small and immature being beautiful is vastly higher than anything big or mature. Now, despite all the marketing that seems to be aimed at telling me that I should dump a girlfriend when she becomes 25 and get a new 16-year-old (or even younger), I plan to stay with mine partly because of her ability to grow older in a way I like. consequently, I take exceptions to the pedophilic attitudes to beauty and elegance that our societies have adopted over the years. this is why I don't like the "small is beautiful" model of aesthetics. this is why I think that almost anybody could make something small and beautiful, but only a few can create something that grows from small to huge and still remains beautiful.
it doesn't take much effort to find a beautiful 16-year-old girlThis guy does not have standards at all. Also he pulled all of that shit out of his ass.
I didn't have classes, I had methodless structs, I had namespaces and functions.Did you just say that you used sepples as an extension of C without doing any OOP in it? Also, const correctness isn't everything, lol.
Change the ISA to something quite different and there's nothing low level about C anymore.Well, on the other hand, that's not a bad perspective... but it assumes that you change it to something very different.
he most you can say is that Sepples (or more appropriately C) has a more natural mapping to a register based Von Neumann machine (pointers, fixed width integers, jumpy control flow) than other languages (so there's less hidden costs) but otherwise it's all the same.As far as I heard those hidden costs can be quite big in some cases. Also many optimizations which can be done in sepples can't be done in just some random high level language.
As far as I heard those hidden costs can be quite big in some cases. Also many optimizations which can be done in sepples can't be done in just some random high level language.
lap
(or vop
or whatever your compiler calls it), time
and disassemble
.The most you can say is that Sepples (or more appropriately C) has a more natural mapping to a register based Von Neumann machine (pointers, fixed width integers, jumpy control flow) than other languages (so there's less hidden costs) but otherwise it's all the same.>>15
If you meant there exists a set of optimization which compilers for Sepples can do but compilers for other languages cannot then I know this is empirically correct for x86 and a large set of compilers for other languages.I meant this.
using
statement, but the language could easily be designed to have that apply to classes instead. So instead of saying using namespace std;
or std::cout
, you'd say something like import std;
or std.cout
. It seems it would clean up the syntax quite a bit. If there's some optimization-related reason that namespaces are more efficient since the compiler knows they can't be instantiated as an object, couldn't the same be achieved by declaring a class as static class std {};
? That would tell the compiler that the class contains only static members and will never be instantiated (and will result in a compile-time error if we violate that constraint). It just seems to me that namespaces just end up complicating the syntax when another already-existent language feature could do the same thing just as well.