Dmitry Galchinsky

Results 26 comments of Dmitry Galchinsky

-run linker's search paths are ``` ./ /usr/local/lib /usr/local/lib/ /usr/X11R6/lib/ /usr/lib/ /lib/ ```

llvm-3.2 & clay/master: Now even `$ clay test.clay -run -L/usr/lib/x86_64-linux-gnu -lcurl` doesn't work: `Couldn't load shared library curl` `$ clay test.clay -run -L/usr/lib/x86_64-linux-gnu -lcurl.so` : works. `runLibraries` in `clay.cpp` hasn't...

> the call site instead of the return statement Then if you write `foo(println("x"));`, you'll get to library source and the compiler will tell you that "println misses return value"....

You are able to do everything with predicates that you could do with typeclasses. I think the problem is that you have mixed compile-time and run-time wrong way. If you...

I have [distmonad](https://github.com/galchinsky/clay/blob/experimentalGenericMonads/test/example/distmonad/main.clay) which uses lambdas heavily. It takes 8 seconds to compile at my machine and I tried to reduce that time. Lambdas are converted this way now. -...

``` $ clay -timing main.clay load time = 2307 ms compile time = 8080 ms optimization time = 7603 ms codegen time = 1547 ms $ clay -timing main.clay -only-overloaded-lambdas...

How can I turn on the `pred time` option in timing? I'd like to test distmonad. Is predicate evaluation done by interpreting? If it is, maybe there's a way to...

Yep, I requested for the branch. JIT could speed up some complicated predicates if they are interpreted now. I don't know about usual cases like a list of `CallDefined?`

``` $ clay -timing main.clay load time = 2318 ms - pred time = 514 ms compile time = 7717 ms - pred time = 7934 ms optimization time =...

Added very stupid memoization to `matchInvoke` (just put string representation of expr+env to `String -> bool` map, to avoid evaluateBool calls with the same params https://gist.github.com/4051770#L64) , won 300 msec....