3 ms·
I don't think that OpenShadingLanguage is dynamic.
by nadav256 13y ago
I don't think that OpenShadingLanguage is dynamic.
- erichocean 13y agoIf by dynamic, you mean: the compiled code for the same exact shader source code can be wildly different at runtime, based on the inputs, OSL is dynamic in that sense. If you mean something else…then I guess not. It's a shader after all, not a general purpose programming language. I tend to use dynamic in the sense of static vs. dynamic, where dynamic is "happens at runtime" and static is "happens before runtime".
- bronxbomber92 13y agoI think nadav256 meant dynamically typed. I.E. most languages that target LLVM are statically typed, and this project is one of the few (the first?) to successfully leverage LLVM for a dynamically typed language.
- sanxiyn 13y agoJulia is another dynamically typed language using LLVM. On the other hand, Julia was designed to use LLVM. I think this may be the first to succeed in dynamically typed language not designed to use LLVM.
- ihnorton 13y agoWhat about Rubinius? (don't know much about it; does it not qualify as successful?)
- erichocean 13y agoThere's also Python's "Unladen Swallow" attempt.[0] [0] http://en.wikipedia.org/wiki/Unladen_Swallow http://en.wikipedia.org/wiki/Unladen_Swallow
- bobbyi_settv 13y agoUnladen Swallow is a dead project at this point (although many lessons were learned from it). The active Python LLVM Jit project is Dropbox's Pyston: https://github.com/dropbox/pyston https://github.com/dropbox/pyston https://tech.dropbox.com/2014/04/introducing-pyston-an-upcoming-jit-based-python-implementation/ https://tech.dropbox.com/2014/04/introducing-pyston-an-upcom...