Re: Re: Flat Short of MEMORY_BLOCK
"Franck Arnaud" <[email protected]>
| Newsgroups | gmane.comp.lang.eiffel.gobo.general |
|---|---|
| Message-ID | <[email protected]> |
Eric Bezault: > > I meant, is inline C acceptable in general? > No, it's not acceptable in general cases because it would require > users of some Eiffel compilers which don't need a C compiler > back-end to install one in order to compile this inline C. I think Brian later asked whether inline C was OK within ifdef for a compiler (subset) that needs a C compiler, so perhaps something like. #ifdef COMPILER_IN_MODE_THAT_REQUIRES_C_COMPILER ... inline C ... #else regular Eiffel #endif This does not suffer the problem of requiring a C compiler when not necessary, but on the other hand we usually want to minimise conditional code. I don't know whether it's a good idea or not (well, one thing is that if it's done for speed, the difference should be benchmarked, we don't want to have conditional code based on a guess). To Post a message, send it to: [email protected] To Unsubscribe, send a blank message to: [email protected] Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/gobo-eiffel/ <*> To unsubscribe from this group, send an email to: [email protected] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/