Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon.

Pages: 1-4041-

Modern C++ is safe

Name: Anonymous 2012-05-06 2:32

Deal with it, faggots. Mobile and server platforms are the future. We need to do more with less hardware. C++11 is efficient--and just as easy to write as other modern languages. C# is the way to go for general purpose desktop application programming.

Enjoy your shitty Lisp, C, Haskell, and generally trying to look hardcore, though.

Name: Anonymous 2012-05-06 2:38

C++ has outstandingly complicated grammar. "Outstandingly" should be interpreted literally, because all popular languages have context-free (or "nearly" context-free) grammars, while C++ has undecidable grammar. If you like compilers and parsers, you probably know what this means. If you're not into this kind of thing, there's a simple example showing the problem with parsing C++: is AA BB(CC); an object definition or a function declaration? It turns out that the answer depends heavily on the code before the statement - the "context". This shows (on an intuitive level) that the C++ grammar is quite context-sensitive.

In practice, this means three things. First, C++ compiles slowly (the complexity takes time to deal with). Second, when it doesn't compile, the error messages are frequently incomprehensible (the smallest error which a human reader wouldn't notice completely confuses the compiler). And three, parsing C++ right is very hard, so different compilers will interpret it differently, and tools like debuggers and IDEs periodically get awfully confused.

Name: Anonymous 2012-05-06 2:45

>>1
Mobile and server platforms are the future.
how many web programmers do you know use C++ as a server-side web programming language? go back to reddit and take your Sutter bable with you

Name: Anonymous 2012-05-06 2:51

>>1

I like C++, but wtf? You're just hyped. Let it go, d00d.

Name: Anonymous 2012-05-06 2:52

>>3
The implication was application servers and other non-web uses. Not web frameworks. For server-side web programming, I'd recommend ASP.NET. Why? http://www.wrensoft.com/zoom/benchmarks.html

Name: Anonymous 2012-05-06 2:53

>>2
AA BB(CC); an object definition or a function declaration? It turns out that the answer depends heavily on the code before the statement
wrong. a function definition will have types along with the argument names, and object instantiation wont

Name: Anonymous 2012-05-06 2:57

>>5
>The implication was application servers and other non-web uses.
application server? a server for non-web use, lol that is full retard

a server by definition serves requests on a network dumbfuck, it doesnt matter if its LAN or WAN, a network is a network

Name: Anonymous 2012-05-06 3:19

>>7
>>3-san said:
how many web programmers do you know use C++ as a server-side web programming language?

Unless you mean to imply all servers are web servers (in which case you're a fucking retard), >>5 still stands.

Name: Anonymous 2012-05-06 3:23

>>8
all servers are network servers

the web or internet or whatever you want to call it is just a network like any other network dumbass

you flunked out of junior college, didnt you?

Name: Anonymous 2012-05-06 3:41

>>6

Wrong. A function declaration does *NOT* mandate argument names. Hence the ambiguity.

Name: Anonymous 2012-05-06 3:44

>>6
you're confusing definition with declaration.

Name: Anonymous 2012-05-06 3:45

>>10
oh youre right, valid point then

Name: Anonymous 2012-05-06 3:49

>>9
Web only applies to the web of interconnected HTML documents. The Internet is the worldwide network that is independent of the web.

Name: Anonymous 2012-05-06 3:53

>>1
>Enjoy your shitty Lisp, C, Haskell, and generally trying to look hardcore, though.
>C
i giggled

Name: Anonymous 2012-05-06 3:55

>>13
you dont really think Im going to respond to such idiocy?

they need you back at reddit, your retardation is of no use here

Name: Anonymous 2012-05-06 3:59

>>15
??

Name: VIPPER 2012-05-06 4:54

Sepples Safe? IHBT

Name: Anonymous 2012-05-06 9:04

>>16
YHBT, I'm sure, but your'e still an imbecile because ``application servers'' by and large are made to spit XML-serialized objects over HTTP.

Name: Hardcore Lisp 2012-05-06 9:21

SEPPLES samefagstorm much? I guess its that time of the /prog/ menstrual cycle.

Name: Anonymous 2012-05-06 10:57

>>18
implying sending and receiving requests are the most critical things an application server ever does

Name: Anonymous 2012-05-06 12:13

C + +是狗屎

Name: Anonymous 2012-05-06 17:27

http://www.paulgraham.com/avg.html
Don't mind me using lisp and have a huge advantage over your fagstorm shit applications that take extensive time to make and break easiky

Name: Anonymous 2012-05-06 18:01

>>22
Too bad Common Lisp is terrible when it comes to being crossplatform (believe it or not, the majority of people don't use lunix!) and Scheme is utter shit.

Don't even get me started on the packages. And this is coming from a Lisper. You stupid faggots need to realize the weaknesses of your language and work to solve those problems. Otherwise Lisp is dead.

Name: Anonymous 2012-05-06 18:03

>>23
Everyone worth catering to uses a POSIX OS.
But the real answer is Arc Lisp.

Name: Anonymous 2012-05-06 20:12

>>20
keep digging, sooner or later you'll come up with an excuse to cover over your lack of knowledge

Name: Anonymous 2012-05-06 21:12

>>22
that take extensive time to make and break easiky [sic]

You still think C++ is where it was 10+ years ago. It has evolved. I can write C++ programs faster than I can write in Java, Lisp, etc., and still harness the power of C++. shared_ptr<> and unique_ptr<> make "C++ programs break easily" a thing of the past.

Name: Anonymous 2012-05-06 22:07

>>26
C++
disgusting.

Name: Anonymous 2012-05-07 3:11

>>1
Enjoy your shitty Lisp, C, Haskell, and generally trying to look hardcore, though.
No one uses Lisp or Haskell in an attempt to look hard core.  C programmers, maybe.

>>26
You still think C++ is where it was 10+ years ago. It has evolved. I can write C++ programs faster than I can write in Java, Lisp, etc.
It hasn't evolved much.  Sounds to me like you've just learned a handful of new shit in C++11 and are blissfully unaware of anything else.  Your troll won't work on me, though, because while it was at least good enough to get a reply, I will not educate you.

Name: Anonymous 2012-05-07 6:29

C++ a shit

Name: Anonymous 2012-05-07 7:06

CAN WE ALL JUST GET ALONG? PLEASE? NO ONE CARES WHAT PROGRAMMING LANGUAGE YOU USE AS LONG AS IT WORKS.

Name: Anonymous 2012-05-07 7:22

>>30
That may be true for your toy programs, but other people work on projects that are maintained by more than one person. I'm sick of being asked to write Sepples or Java or Perl just because some Redditor thought it was a good choice of language.

Name: Anonymous 2012-05-07 9:31

SEEPEEPEE A SHIT

Name: Anonymous 2012-05-07 10:01

>>31
implying

Name: Anonymous 2012-05-07 13:30

>>31
Fuck off, hipster.

Name: Anonymous 2012-05-07 15:24

>>31
Ok, I see your point. However, (note: directed towards OP) people shouldn't shove opinions on which one is best. As long as it works for everyone, and isn't some unworkable language (see: LOLCODE)it really doesn't matter.

Name: Anonymous 2012-05-07 16:58

>>35
It does matter -- if it ain't Lisp-minus-sexprs, it's crap.

Name: Anonymous 2012-05-07 17:27

>>35
You're completely wrong, and you will come to realise this.

Name: Anonymous 2012-05-07 18:37

Mobile and server platforms are the future
That was ENTERPRISE quality!

Name: Anonymous 2012-05-07 19:19

C and C++ are both religions that people follow blindly. Both languages were designed as systems programming languages, the fact that they became popular has only to do with the popularisation of *nix operating systems. There is no reason to use either C or C++ for non-systems programming applications. Despite the hype floating around, C and C++ are not significantly faster than other compiled languages like D, Delphi or Ada. People buy into Herb Sutters spiel that there are only two kinds of languages: "managed languages" (ie Java, C#) and compiled languages of which there is only C and C++.

Name: Anonymous 2012-05-07 23:09

>>39
People buy into Herb Sutters spiel that there are only two kinds of languages
Wow. I find that reasoning amazing and I cannot agree with it.

Name: Anonymous 2012-05-08 10:52

>>39
C and C++ are not significantly faster than other compiled languages like D, Delphi or Ada

Yes, it is, because there are more mature optimizing compilers for C and C++ than for any of those shitty languages. And C++ is a modern and widely used language. It will be the primary interface to WinRT.

Name: Anonymous 2012-05-08 13:03

>>30
I care a great deal about what programming language people use.  There's a good chance someone like me (a good programmer) will end up maintaining the horse shit that you (a bad programmer) wrote.  So knock it off with the fucking Java and C# and learn how to write code.

Name: Anonymous 2012-05-08 18:40

>>41
because there are more mature optimizing compilers for C and C++ than for any of those shitty languages.
thats a piss poor excuse for using a language, just because more compilers are made for a language, that is no reason to use that language. If people used the best language instead of the most popular languages, commercial software wouldnt be so bug ridden and crash prone as it is now.

Name: Anonymous 2012-05-09 0:05

>>41

and explain to me why I cannot leverage all of those compilers for C and C++ by writing a compiler that compiles language X to C?

Name: Anonymous 2012-05-09 0:11

>>44
you have no idea what youre talking about, Im not even going to explain why thats so stupid because /prog/ is getting a retard overload and Im tired of teaching CS preschool

Name: Anonymous 2012-05-09 0:27

>>45

we get it you are tired of being called out. Get used to it. It's really not that big of a deal.

There are times where compilation to C isn't ideal. One example is getting tail recursion. You can't just use conventional c function calling if you want guaranteed tail recursion, when it is not known which back end standard compliant c compiler is used for the second compilation.

But it can be a very good choice for high performance, portability, and even incorporating with other projects written in C. It opens up a lot of possibilities.

Name: Anonymous 2012-05-09 0:37

>>45
lol

Name: bampu pantsu 2012-05-29 4:48

bampu pantsu

Don't change these.
Name: Email:
Entire Thread Thread List