flat assembler
Message board for the users of flat assembler.

Index > Heap > tcc tiny c compiler

Author
Thread Post new topic Reply to topic
sleepsleep



Joined: 05 Oct 2006
Posts: 8900
Location: ˛                             ⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣Posts: 334455
sleepsleep
http://bellard.org/tcc/

890 KB (911,416 bytes) after extracted the zip. (awesomely small)
Post 06 Aug 2008, 18:30
View user's profile Send private message Reply with quote
Madis731



Joined: 25 Sep 2003
Posts: 2141
Location: Estonia
Madis731
Faster than gcc - but what does that prove (mean). Is the generated code "okay"? This only time will tell. Thanks for the link.
Post 06 Aug 2008, 21:56
View user's profile Send private message Visit poster's website Yahoo Messenger MSN Messenger Reply with quote
windwakr



Joined: 30 Jun 2004
Posts: 827
Location: Michigan, USA
windwakr
Wow, thats much faster than any c compiler I've ever used before. And the size of the programs it outputs isnt bad either.

_________________
----> * <---- My star, won HERE
Post 06 Aug 2008, 22:38
View user's profile Send private message Reply with quote
f0dder



Joined: 19 Feb 2004
Posts: 3170
Location: Denmark
f0dder
madis: last time I looked, it had fairly straightforward (ie., not very optimized) code generation. It's cute that it's small and fast, that might be important somewhere.

But generally, my impression is "so what, why bother?" - when I work with C/C++, I value code generation quality and standards-compliance, size of the compiler suite and compilation time isn't that important.
Post 06 Aug 2008, 23:10
View user's profile Send private message Visit poster's website Reply with quote
asmcoder



Joined: 02 Jun 2008
Posts: 784
asmcoder
[content deleted]


Last edited by asmcoder on 14 Aug 2009, 14:56; edited 1 time in total
Post 07 Aug 2008, 09:40
View user's profile Send private message Reply with quote
f0dder



Joined: 19 Feb 2004
Posts: 3170
Location: Denmark
f0dder
asmcoder wrote:
would be nice to make c compiler without headers and warnings...
syntax of c and capability of raw asm.
That would be pretty pointless - you'd be better off doing real assembly instead. Use languages for what they're designed for... wanting a HLL without warnings is akin to asking for a spoon when you should be using a hammer.

_________________
Image - carpe noctem
Post 07 Aug 2008, 09:44
View user's profile Send private message Visit poster's website Reply with quote
Madis731



Joined: 25 Sep 2003
Posts: 2141
Location: Estonia
Madis731
Their slogan states that they want to be 99 compatible, so we should appreciate that. I usually want optimized code aswell when I use C. Compilation time, though, is very important and I'm very glad to have Intel C Compiler make a good effort in the compilation speed direction.
Post 07 Aug 2008, 10:42
View user's profile Send private message Visit poster's website Yahoo Messenger MSN Messenger Reply with quote
f0dder



Joined: 19 Feb 2004
Posts: 3170
Location: Denmark
f0dder
Hm, last time I played with Intel CC, it was a lot slower than MSVC? GCC was the slowest of all, though. Unless you enable link-time code generation in MSVC, that can take quite a while for large programs Smile (and can't take advantage of multi-core, ugh).
Post 07 Aug 2008, 10:47
View user's profile Send private message Visit poster's website Reply with quote
Picnic



Joined: 05 May 2007
Posts: 1288
Location: behind the arc
Picnic
I'm using tcc for my simple C language needs running small programs, algorithms, e.t.c, i'm very pleased so far.
Post 07 Aug 2008, 15:05
View user's profile Send private message Reply with quote
sleepsleep



Joined: 05 Oct 2006
Posts: 8900
Location: ˛                             ⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣Posts: 334455
sleepsleep
anyone of you using PCC in win32? (the pcc that lately mentioned to replace the gnu gcc in openbsd)

http://en.wikipedia.org/wiki/Portable_C_Compiler

anyone have win32 version of it? the pcc?
Post 07 Aug 2008, 16:44
View user's profile Send private message Reply with quote
AxelDominatoR



Joined: 11 Aug 2004
Posts: 12
AxelDominatoR
TCC sometimes is really useful.
It is capable, for example, of interpreting a C program at runtime. You can have C scripts this way.
Post 07 Aug 2008, 18:26
View user's profile Send private message Visit poster's website MSN Messenger ICQ Number Reply with quote
Borsuc



Joined: 29 Dec 2005
Posts: 2466
Location: Bucharest, Romania
Borsuc
I think it's good for testing (not debugging) Wink
Post 09 Aug 2008, 13:24
View user's profile Send private message Reply with quote
Display posts from previous:
Post new topic Reply to topic

Jump to:  


< Last Thread | Next Thread >
Forum Rules:
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum


Copyright © 1999-2020, Tomasz Grysztar.

Powered by rwasa.