flat assembler
Message board for the users of flat assembler.

Index > Heap > sphinx c--


what do you think about sphinx c--
good mixture of c & asm, i tried to code, i like it
4%
 4%  [ 1 ]
i think it is good mixture of c & asm, may be i will try it one day
4%
 4%  [ 1 ]
may be it is a good mixture of c & asm, don`t wish to try it
13%
 13%  [ 3 ]
bad mixture of c & asm, tried to code, don`t like it
17%
 17%  [ 4 ]
bad idea trying to combine asm & c, will never try it
8%
 8%  [ 2 ]
never heared about
17%
 17%  [ 4 ]
may be it is a good mixture of c & asm, need to try it to find out
34%
 34%  [ 8 ]
Total Votes : 23

Author
Thread Post new topic Reply to topic
veach1



Joined: 16 Jul 2004
Posts: 165
veach1
Hello!
If you tried this compiler, describe please.
Any opinion would be wellcome.

_________________
dream of mind creates a monster
Post 23 Jan 2005, 14:03
View user's profile Send private message Reply with quote
f0dder



Joined: 19 Feb 2004
Posts: 3170
Location: Denmark
f0dder
I haven't tried it, but I don't like the idea - IMO, a C compiler should focus on compiling (and optimizing) C code, and (through the modular nature of C) give the option of linking in external assembly code.

A mix of C and assembly makes it harder for an optimizer to do a good job...

but that's just my opinion, of course.
Post 23 Jan 2005, 16:37
View user's profile Send private message Visit poster's website Reply with quote
vid
Verbosity in development


Joined: 05 Sep 2003
Posts: 7105
Location: Slovakia
vid
i havent tried it, but:
mixing C and assembly is probably best way to efficiently make good app, but i don't see any need for another C, it can be as-well don by normal C.
Post 23 Jan 2005, 19:13
View user's profile Send private message Visit poster's website AIM Address MSN Messenger ICQ Number Reply with quote
bubach



Joined: 17 Sep 2004
Posts: 341
Location: Trollhättan, Sweden
bubach
Or by using alot of fasm macros you would get the same thing.
Post 23 Jan 2005, 21:32
View user's profile Send private message Reply with quote
vid
Verbosity in development


Joined: 05 Sep 2003
Posts: 7105
Location: Slovakia
vid
but C is more comfortable than simulating C by macros.
Post 23 Jan 2005, 22:17
View user's profile Send private message Visit poster's website AIM Address MSN Messenger ICQ Number Reply with quote
JohnFound



Joined: 16 Jun 2003
Posts: 3502
Location: Bulgaria
JohnFound
vid wrote:
but C is more comfortable than simulating C by macros.


Learning to think in assembly is more comfortable than looking all the time back to HLL. Wink

Regards.
Post 23 Jan 2005, 23:30
View user's profile Send private message Visit poster's website ICQ Number Reply with quote
vid
Verbosity in development


Joined: 05 Sep 2003
Posts: 7105
Location: Slovakia
vid
that's true too
Post 24 Jan 2005, 22:55
View user's profile Send private message Visit poster's website AIM Address MSN Messenger ICQ Number Reply with quote
S.T.A.S.



Joined: 09 Jan 2004
Posts: 173
Location: Ru#27
S.T.A.S.
I've been using sphinx c-- for some time.
IMHO it's not "mixture of c & asm": it just partially implements both asm & C.
It has no preprocessor at all (so no macros like in fasm or other macro asm).
#define is not C-like macro, but just "foo = bar" fasm's analog. Pointers aren't fully supported, expression are always evaluated left-to-right (no operators priority), etc...
However, it's nice independent language with some cool features like custom calling conventions. But I doubt it can be used for considerable projects, because it can't produce coff Sad
Post 27 Jan 2005, 18:48
View user's profile Send private message Reply with quote
iklin



Joined: 20 Mar 2004
Posts: 120
Location: Russia, Siberia
iklin
S.T.A.S. wrote:
because it can't produce coff Sad


You wrong, S.T.A.S., last betas 19-21 can produce COFF. But it's syntax is a bit strange, expression calculation and so on... Sad
Post 27 Jan 2005, 19:39
View user's profile Send private message ICQ Number Reply with quote
Vortex



Joined: 17 Jun 2003
Posts: 318
Vortex
Hi S.T.A.S,

My tool dll2lib creates import libraries to use with Sphinx C--
Quote:

dll2lib creates import libraries from DLLs similar to Borland's implib tool. These libraries are intended to use with assemblers / compilers such as Fasm and Sphinx C-- which doesn't emit decorated names.
To create the libraries, the tool launches ml.exe and Pelle's linker Polink which both must be placed in c:\masm32\bin


http://www.vortex.masmcode.com/files/dll2lib212.zip

_________________
Code it... That's all...
Post 28 Jan 2005, 11:34
View user's profile Send private message Visit poster's website Reply with quote
S.T.A.S.



Joined: 09 Jan 2004
Posts: 173
Location: Ru#27
S.T.A.S.
Thanks guys, now I see it's my fault... Smile
Post 28 Jan 2005, 19:08
View user's profile Send private message Reply with quote
iklin



Joined: 20 Mar 2004
Posts: 120
Location: Russia, Siberia
iklin
Look at this C-- source. It's not so bad. Smile


Description: HA archiver in C--
Download
Filename: ha_cmm.rar
Filesize: 35.47 KB
Downloaded: 401 Time(s)

Post 29 Jan 2005, 06:15
View user's profile Send private message ICQ Number Reply with quote
beppe85



Joined: 23 Oct 2004
Posts: 181
beppe85
Quote:
$JMP SHORT TW2
irc Surprised
Post 29 Jan 2005, 20:14
View user's profile Send private message Reply with quote
Matrix



Joined: 04 Sep 2004
Posts: 1171
Location: Overflow
Matrix
hy,
i have tried this C--,
i started coding in it, in assembly, that $ was upsetting me,
then i found Flat ASM,

C-- is left alone now
Post 02 Feb 2005, 21:03
View user's profile Send private message Visit poster's website 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. Also on YouTube, Twitter.

Website powered by rwasa.