Giovanni Petrantoni

Results 66 comments of Giovanni Petrantoni

Fyi the workaround is to create a `.mm` file and instead of passing a window or view to bgfx, pass directly a metal layer. Basic solution (no cleanups): ```c++ #import...

Btw something extremely important that I realized only recently is that any GC or allocator should be absolutely disabled when doing this kind of checks ( can have a run...

I don't think false positives are *false* they always have a meaning in my experience. Anyway, hmm, I was hoping nim did not get on the way anymore but I...

![image](https://user-images.githubusercontent.com/7008900/73999660-c95efb80-49a8-11ea-841d-c2e663dac33e.png) I didn't even enter *nim* territory with address sanitizer to fail on mac... Can't run address sanitizer on "bitcoin" code... guess that's a sanitizer issue tho probably.

Very curious yes, I have no idea. https://bugs.llvm.org/show_bug.cgi?id=21234 Good old Valgrind works tho 😄 Edit: likely just some inline asm issue?

Well, I've stopped using it internally for now. Nevertheless PRs are welcome but I cannot really give it any precious time for now without a reason basically.

Please try https://github.com/fragcolor-xyz/nimtorch#semi-manual-way or https://github.com/fragcolor-xyz/nimtorch#semi-manual-way, nimble is not supported as won't include pytorch required binaries.

Sure, it was even planned but never implemented sadly as the project didn't really manage to attract a community of users. Also limitations of nim (E.g. the GC) would limit...

A GC won't be able to track properly GPU memory and most of all in this case has a very poor interaction with the C++ side. In general GCs are...

Yes ARC could work well with C++ RAII, but in practice I encountered many issues. Maybe things leak less now.