Language:
switch to room list switch to menu My folders
Go to page: First ... 12 13 14 15 [16] 17 18 19 20 ... Last
[#] Tue Apr 07 2015 08:30:58 EDT from fleeb

[Reply] [ReplyQuoted] [Headers] [Print]


I suppose.

Although I feel I could go the other way on this, in that it feels there's something particularly 'simple' in an array of ints vs. an array of objects, or an array of pointers to objects.

Functionally, though, I expect 'simple' and 'primitive' probably ought to have the same meaning.

[#] Sat Apr 11 2015 13:44:45 EDT from IGnatius T Foobar

[Reply] [ReplyQuoted] [Headers] [Print]

Heh. Unless you're now ready to have the "what does it compile down to" discussion, it's just games with words.

[#] Sun Apr 12 2015 07:19:54 EDT from fleeb

[Reply] [ReplyQuoted] [Headers] [Print]


Yeah, pretty much.

[#] Mon Apr 20 2015 12:37:49 EDT from dothebart

[Reply] [ReplyQuoted] [Headers] [Print]

[#] Mon Apr 20 2015 16:24:05 EDT from fleeb

[Reply] [ReplyQuoted] [Headers] [Print]


Ford touched on some of this elsewhere, although he focused on some othe rlanguage, I think.

The committee has been trying to make C++ easier to use for a while now, and these last few iterations of the language have primarily been geared to making the language friendlier to use.

I have to admit, though, I didn't know about some of these changes. Interesting.

[#] Tue Apr 21 2015 16:03:03 EDT from LoanShark

[Reply] [ReplyQuoted] [Headers] [Print]

The committee has been trying to make C++ easier to use for a while

AHAHAHAHAHAHAHAHAAAAAAAA HAAAA HAAAA

[#] Tue Apr 21 2015 16:21:20 EDT from wizard of aahz

[Reply] [ReplyQuoted] [Headers] [Print]

Isn't the committee going to be first up against the wall after the revolution?

[#] Tue Apr 21 2015 19:16:28 EDT from fleeb

[Reply] [ReplyQuoted] [Headers] [Print]

Apr 21 2015 8:03pm from LoanShark @uncnsrd
The committee has been trying to make C++ easier to use for a while



AHAHAHAHAHAHAHAHAAAAAAAA HAAAA HAAAA

Yeah, it's amusing to consider a committee making anything work better.

[#] Wed Apr 22 2015 02:34:24 EDT from dothebart

[Reply] [ReplyQuoted] [Headers] [Print]

While its copying features, using it looks clearly like character soup since its bolted onto the existing syntax.

The python originals are clearly to prefer.



[#] Wed Apr 22 2015 11:37:39 EDT from fleeb

[Reply] [ReplyQuoted] [Headers] [Print]


Heh, well, C++ has always been 'bolting' things onto an existing syntax, since they don't want to break existing code any more than possible.

[#] Wed Apr 22 2015 13:45:20 EDT from LoanShark

[Reply] [ReplyQuoted] [Headers] [Print]

Heh, well, C++ has always been 'bolting' things onto an existing
syntax, since they don't want to break existing code any more than
possible.

They break existing code all the time! Templates are the big offender. They're not simple like LISP hygeinic macros or Java generics (which are not templates at all, but do occupy a similar niche)

[#] Thu Apr 23 2015 11:27:13 EDT from fleeb

[Reply] [ReplyQuoted] [Headers] [Print]


Does changes to the language break existing code, or do vendors with poor interpretations of the standard who fix thsoe interpretations lead to breaking code when programmers inadvertently program not to the standard, but to the compiler?

[#] Thu Apr 23 2015 11:58:43 EDT from LoanShark

[Reply] [ReplyQuoted] [Headers] [Print]


No chin, no legs. It doesn't matter, because C++ is too complex to get right. (And I don't know the actual answer to the question, but I suppose there are probably a lot of grey area that got clarified in the latest standard.)

[#] Thu Apr 23 2015 11:59:19 EDT from LoanShark

[Reply] [ReplyQuoted] [Headers] [Print]


You take some fuck, and shit shit, some fuck, and some shit you've got a fuck shit stack. A fuck shit stack.

[#] Thu Apr 23 2015 12:42:41 EDT from fleeb

[Reply] [ReplyQuoted] [Headers] [Print]


C++ was intended to be C, with added features to make it more object-oriented.
It grew beyond that, I guess, as more people wanted it to handle more stuff.
Or because it was handled in a shit way, I guess.

Although, really, how else would someone have done it? It was designed the way it was because they wanted to maintain backwards compatibility. You could perhaps say that C was a shit language, and a terrible base upon which to build an oo language.

OTOH, a lot of people wrote a lot of stuff in C++ over a long period of time, and continue to do so today, despite the ridiculous learning curve and occasional updates to the standard.

If less so than before. The latest crop of software engineers prefer C# and Java from what I can see. Not C, not C++.

Anyway, I wrote what I wrote earlier because backwards compatibility was always a big deal to C++ as a language.
It just sucks that it suffers a reputation hit (to its deservedly already tarnished reputation) for compiler faults.

Heh... for a similar concept, every operating system is shit today because nobody has the guts to do it all over again from scratch and fix all the ways OSes suck.

[#] Thu Apr 23 2015 12:42:56 EDT from fleeb

[Reply] [ReplyQuoted] [Headers] [Print]


(It's just easier to write a new programming language than a new OS).

[#] Fri Apr 24 2015 00:09:56 EDT from ax25

[Reply] [ReplyQuoted] [Headers] [Print]

Mon Apr 20 2015 12:37:49 PM EDT from dothebart @ Uncensored

Nice!  Thanks dothebart.



[#] Fri Apr 24 2015 00:11:25 EDT from ax25

[Reply] [ReplyQuoted] [Headers] [Print]

 

Thu Apr 23 2015 11:59:19 AM EDT from LoanShark @ Uncensored

You take some fuck, and shit shit, some fuck, and some shit you've got a fuck shit stack. A fuck shit stack.

This is also a good take-away :-)



[#] Fri Apr 24 2015 00:58:15 EDT from ax25

[Reply] [ReplyQuoted] [Headers] [Print]

 

Thu Apr 23 2015 12:42:41 PM EDT from fleeb @ Uncensored

C++ was intended to be C, with added features to make it more object-oriented.
It grew beyond that,...
 
...The latest crop of software engineers prefer C# and Java from what I can see. Not C, not C++.

I agree on the first point.  The second suggests that any offshoot is no based on C.  Python is itself "written in C".

I feel that C and C based languages will die off with the herd that is using them.  Popular for now, but it will fade as the new crop finds a new way forward.  I hate to think of what they give up, but then again I am just being an old fool.

The portability factor only lived on as long as someone would have the gumption to write a C compiler for the latest processor / micro.  Granted, given the ease with which we can peek at the innards / write our own compiler for the latest processor has probably passed us by, so too has the naiveté of understanding the "whole stack" of what we are doing.

I know that most of the folks on Uncensored keep up with advances in systems architecture, but how long can you do so?



[#] Mon Apr 27 2015 07:28:42 EDT from IGnatius T Foobar

[Reply] [ReplyQuoted] [Headers] [Print]


C will eventually become (or has already become) just a language in which "system software" is written. The higher level alternatives have become so useful, and the performance penalty for running them slim enough, that writing applications in them is an obvious choice.

Even I am finding myself drawn to the "dark side." I spent a couple of months working almost exclusively in Python while building a network automation layer for a cloud product. Over this past weekend I had some time to hack on Citadel again, and I found myself frustrated having to deal with manual memory management.

However, there will always be people interested in writing system software, so C will live on. Maybe we'll even get lucky and the abomination known as C++ will die off, with system software being written in C and application software being written in higher level languages.

By the way, I don't speak for everyone (I only speak for the people who are sensible --- <grin>) but I'd *much* rather be developing in Python or JavaScript than in C# or Java.

Go to page: First ... 12 13 14 15 [16] 17 18 19 20 ... Last