Hi all,

I'm considering removing the pun where 'f' is treated as a null
pointer when passed via FFI to a C function. You'd have to write
something like '0 <alien>' instead, and 'alien-address 0 =' to check
for a null pointer return value. If I make this change I'll add
<null-pointer> and if-null/when-null/unless-null combinators for
convenience.

My motivation is entirely performance-related; removing this would
eliminate conditional branches from a few compiler intrinsics. However
arguably it also makes code more clear if puns such as this are
avoided.

Anyone have any objections?

Slava

------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
Factor-talk mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/factor-talk

Reply via email to