8
submitted 9 months ago by MBitter@feddit.de to c/dotnet@programming.dev

Hi everyone,

i have a strange behaviour of the JIT in DotNet 8.0.

I have created a small demo project (on GitHub)

The crashing code is not verry complex. It is contained in a Cpp-Library compiled to DotNet-IL (managed C++). It is just doing some basic double math with a pow().

I can work arraund this problem by slightly changing the code but that is not satisfying. I whant to understand what i am doing wrong in c++ or if there is a bug in the JIT compiler or C++ compiler.

The code is working in a debug build and even the first 1000+ calls in a release build are working fine. At the point the Jit compiles the method again in stage 2 with full optimization the code starts crashing.

The crashing code is wrapped in a Try-Catch in the CS-Console project.

When setting a break point in the release build (after the first exception) to inspect the situation everything runs perfectly. Even after removint the break point and continue the execution the code runs fine.

Would be really nice if some one can help me with this.

Thanks in advanced!

[-] MBitter@feddit.de 3 points 1 year ago

I don't mind spending some time tweaking the printer but I would tend to it should work!

Open source and upgradable would be great.

Price range is 800-1500€

I don't know exactly what I'm going to print but it would be more functional than beautiful I guess ;)

Currently I think I will by a Prusa MK4 maybe even as a build kit.

15
What to buy? (feddit.de)

Hi all! I would like to join the group of 3D printer owners but I don't have any experience. I don't want to buy a cheap printer just to find myself buying a better one in a few months so I set my price in the middle segment (I think).

I am going to set it up in my office which has AC but direct sun light for some hours a day. Is a full case recommended?

What printer can you recommend for me and what software (windows) can I use to design and print some parts?

If you need any more info please let me know.

Kind regards in anvance

[-] MBitter@feddit.de 6 points 1 year ago

Ich vermute das es heir irgendwann einen Punkt gibt, ab dem es besser ist eine neue Instanz auf zu machen. Wenn man als einziger alleine auf der Instanz ist dürfte es mehr Arbeit sein. Wenn aber 50 Leute die Instanz nutzen ist die last wahrscheinlich geringer für die anderen Server. Es wird ja nur ein mal synchronisiert und 50 mal verteilt.

MBitter

joined 1 year ago