POV-Ray : Newsgroups : povray.general : compiled functios : Re: compiled functios Server Time
19 Nov 2024 15:38:10 EST (-0500)
  Re: compiled functios  
From: Warp
Date: 6 Feb 2002 08:27:48
Message: <3c612f54@news.povray.org>

: I wonder - is there any other non-exotic language which compile functions
: "on-line" and allow execute this compiled function just in next line of script ?
: Are "our" 3.5 functions{} some novelty in languages?

  Nope, it's nothing new. Many scripting languages use this technique for
speed. The most notorious one is Perl, which runs its scripts by first
byte-compiling them on the fly to memory and then interpreting this bytecode.
This is why Perl is so fast (as an interpreted scripting language).

-- 
#macro M(A,N,D,L)plane{-z,-9pigment{mandel L*9translate N color_map{[0rgb x]
[1rgb 9]}scale<D,D*3D>*1e3}rotate y*A*8}#end M(-3<1.206434.28623>70,7)M(
-1<.7438.1795>1,20)M(1<.77595.13699>30,20)M(3<.75923.07145>80,99)// - Warp -


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.