Sometimes C++ is faster
Posted Jun 18, 2008 20:00 UTC (Wed) by
flewellyn (subscriber, #5047)
In reply to:
Sometimes C++ is faster by ncm
Parent article:
Converting GCC to C++
Try doing that with C macros, or even Lisp macros.
You wouldn't use macros for that in (Common) Lisp, that's not what they're for. You'd use CLOS generic functions, which would dispatch on the argument types. Then you get a nice, natural, functional interface with multiple dispatch as a free bonus.
(
Log in to post comments)