chrisdunelm / DotNetAnywhere

Small .NET interpreter
MIT License
549 stars 77 forks source link

Ray Trace Benchmark Bad Mem Errors #6

Closed zezba9000 closed 7 years ago

zezba9000 commented 9 years ago

Was porting over my C# benchmark: https://github.com/zezba9000/RayTraceBenchmark But I run into bad memory access errors that i'm pretty sure are coming from the heap.

I was unable to find the location of the issue in the C code. I can post up the code that fails if anyone still cares about this project anymore?

chrisdunelm commented 7 years ago

Sadly, no-one cares about this project any more :(

mattwarren commented 7 years ago

Sadly, no-one cares about this project any more :(

I wouldn't say no-one cares ;-) have you seen Blazor and Blazor Brings .NET Back to the Browser?

zezba9000 commented 7 years ago

Mono is already starting to run in WASM. Mono also already runs in PNaCl and Bridge.NET transpiles C# in JS.

DotNetAnywhere is a good notion like Unity3D's IL2CPP that allows .NET to run on any CPU that the Mono/.NET JIT doesn't run on. Whats needed is a CoreRT to C98 target to create an open source version of IL2CPP that runs anywhere.

chrisdunelm commented 7 years ago

@mattwarren I had no idea! How amusing to see it still alive and running in a browser :) Thanks for letting me know.

@zezba9000 Yes something like CoreRT -> C or even CoreRT -> JS (similar I suppose to scala.js for Scala) would be great. Years ago I wrote DotNetWebToolkit, an IL -> JS transcoder which worked, but was never completed.

mattwarren commented 6 years ago

I had no idea! How amusing to see it still alive and running in a browser :) Thanks for letting me know.

@chrisdunelm No problem, BTW I liked your project so much that I did a write-up on it, DotNetAnywhere: An Alternative .NET Runtime (I hope there's not too many errors!!)