search for: smallinteg

Displaying 2 results from an estimated 2 matches for "smallinteg".

Did you mean: smallint
2003 Sep 12
0
[LLVMdev] LLVM for dynamic languages
...ready understand. For example, think of a language like smalltalk (the most dynamic language that I know of). Say you have a program that looks like this: (8*(4/2)) print The LLVM constant folding optimizations will not be able to fold these constants, because they are actually instances of the SmallInteger class, which have dynamically dispatched messages to perform the operations. Now, however, if you preceed the standard LLVM optimizations with some simple partial evaluation/resolution transformations, you can show that * and / will resolve to the implementations in the SmallInteger class. As s...
2003 Sep 12
2
[LLVMdev] LLVM for dynamic languages
How suitable do the developers think that LLVM would be as a code-generator for a dynamically typed langage? Would the lack of static type information make the traditional code optimizations performed by LLVM relatively ineffective? Sincerely, Rayiner Hashem