On Monday, October 5, 2015 at 7:34:43 PM UTC, Matt wrote:
>
> Most of the time I read Julia code with generated functions, the goal is loop 
> unrolling <https://en.wikipedia.org/wiki/Loop_unrolling> (included the 
> main example in the documentation 
> <http://julia.readthedocs.org/en/latest/manual/metaprogramming/#generated-functions>
> ).
> What are other good cases to use @generated functions?
>

I (think I) understand the (hygenic) macro (Lisp-like) concept, and kind 
of, generated functions (I understand that those are macros on steroids..).

Is this concept not available in other languages? I haven't heard of two 
types of Lisp macros. Maybe Lisp needs only its own type to be as powerful?

Real macros make a language more powerful (I think that is uncontroversial, 
while maybe not known by all..), I'm just thinking is Julia more powerful 
than most or all..?

-- 
Palli.


Reply via email to