grigory-rechistov / interpreters-comparison

Sample programs for comparison of different VM interpretation techniques
BSD 3-Clause "New" or "Revised" License
27 stars 9 forks source link

Added Visual studio support. #16

Closed Thar0l closed 8 years ago

Thar0l commented 8 years ago

Added Visual Studio solution for following projects:

Also added batch srcripts for sanity testing and measuring performance.

Thar0l commented 8 years ago

Fixed

grigory-rechistov commented 8 years ago

tailrecursive variant crashes with stack overflow both in Debug and Release modes. Apparently, tail-call optimization was not applied. Can you please try to make it work?

grigory-rechistov commented 8 years ago

I tried it with VS 2015 Update 1, x64 builds

Thar0l commented 8 years ago

There is a problem with founding alternative for -f-optimize-sibling-calls in VS. Max optimization with /O2 and /Oy or /OG doeen't work. I'll try to find out something, but one stupid solution is to build with /STACK 100000000. But it's a glitch.

grigory-rechistov commented 8 years ago

If nothing helps, then disable the tailrecursive build altogether.

Thar0l commented 8 years ago

Disabled.