tinycc-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Tinycc-devel] inline assembly and optimization passes


From: Sylvain BERTRAND
Subject: Re: [Tinycc-devel] inline assembly and optimization passes
Date: Sun, 22 Sep 2013 16:39:14 +0200
User-agent: Mutt/1.5.21 (2010-09-15)

:)

If I were to design a new language, I would go the other way,
less complex, more explicit.

I would go for a kind of C99- language (C-- is already taken by a
great evil):
 - only sized types (u8 s16 f80...), no void pointer
 - kind of no implicit cast (use of aliasing)
 - no typedef
 - no enum
 - one loop instruction (loop{} you would break or continue)
 - arrays to behave like structs
 - no bitfield
 - a clean attribute management syntax
 - no const/volatile/inline/static... that would be done using
   the attribute
   syntax
 - clean inline asm.

...

-- 
Sylvain



reply via email to

[Prev in Thread] Current Thread [Next in Thread]