Hi Kaspar!

> On 02/18/15 22:50, Oleg Hahm wrote:
> >but we don't know which weird
> >compilers on some esoteric hardware platform might be used for RIOT somewhere
> >sometime, so I rather rely on optimized C code than on optimized compilers.
> 
> this keeps popping up as an excuse not to do some elegant, readable, nice
> optimizations.

A bit polemic: can't we use Java then and rely on a highly optimized (micro)
JVM?

> Maybe the question here is if we should concentrate on gcc and clang and
> keep "weird, esoteric, proprietary compilers that someone might use someday
> in an not-yet-thought-of use case" as they are - useless.

Was this a vote for a function pointer based HAL or just a Torvalds-like
reflex?  If the former is the case, then I'm apparently the only one -
counting the silent people on this topic as agreeing or not caring - against
this approach. In this case I would advice to rethink and remodel the whole
driver and HAL design. With the use of function pointers it could be made
extremely more (pseudo) object-oriented what make many things much more
convenient to implement.

Cheers,
Oleg
-- 
The great thing about SQL transaction jokes is that once you BEGIN, you can
ROLLBACK if nobody gets them.

Attachment: pgp6F_6ACo5rw.pgp
Description: PGP signature

_______________________________________________
devel mailing list
devel@riot-os.org
http://lists.riot-os.org/mailman/listinfo/devel

Reply via email to