Size: a a a

2020 July 14

z

zeroid in 2ch /pr/
Можно еще кастом гк подключить, ваще летать буит
источник

GL

George Lewinsky in 2ch /pr/
Там еще описывается почему иногда выгодно переписывать C/С++ блоки на C#, т. е. почему менеджед языки дают пососать унменеджед языкам. Здесь недавно кто-то срал себе в штаны и говорил, что это невозможно, что аот будет всегда лучше жит
источник

z

zeroid in 2ch /pr/
George Lewinsky
Там еще описывается почему иногда выгодно переписывать C/С++ блоки на C#, т. е. почему менеджед языки дают пососать унменеджед языкам. Здесь недавно кто-то срал себе в штаны и говорил, что это невозможно, что аот будет всегда лучше жит
А ну ка покажи где
источник

GL

George Lewinsky in 2ch /pr/
zeroid
А ну ка покажи где
In this release, we’ve continued, and even accelerated, the process of porting native implementations in the coreclr runtime from C/C++ to instead be normal C# managed code in System.Private.Corelib. Such a move has a plethora of benefits, including making it much easier for us to share a single implementation across multiple runtimes (like coreclr and mono), and even making it easier for us to evolve API surface area, such as by reusing the same logic to handle both arrays and spans.
источник

GL

George Lewinsky in 2ch /pr/
Ctrl+F и читай с этого места
источник

Р

Роман in 2ch /pr/
привет
источник

SR

Shattered Ruby in 2ch /pr/
Aleg.
твоим инструментом будет редактор кода, в этой проге ты пишешь свой код
вим
источник

z

zeroid in 2ch /pr/
George Lewinsky
In this release, we’ve continued, and even accelerated, the process of porting native implementations in the coreclr runtime from C/C++ to instead be normal C# managed code in System.Private.Corelib. Such a move has a plethora of benefits, including making it much easier for us to share a single implementation across multiple runtimes (like coreclr and mono), and even making it easier for us to evolve API surface area, such as by reusing the same logic to handle both arrays and spans.
Ну это ваще ДРУГОЕ
источник

GL

George Lewinsky in 2ch /pr/
zeroid
Ну это ваще ДРУГОЕ
От именно ТОЖЕ САМОЕ
источник

z

zeroid in 2ch /pr/
У них был миксед C/C++/C#, ясен красен там просадки, т.к бридж не оптимизирован
источник

Р

Роман in 2ch /pr/
Вот бы dll-ки научиться писать
источник

z

zeroid in 2ch /pr/
Роман
Вот бы dll-ки научиться писать
А че там? DllMain объявил и все
источник

z

zeroid in 2ch /pr/
George Lewinsky
От именно ТОЖЕ САМОЕ
Нет, ты тормоз короче, опять через жопу все перевернул
источник

GL

George Lewinsky in 2ch /pr/
zeroid
У них был миксед C/C++/C#, ясен красен там просадки, т.к бридж не оптимизирован
Про просадки там дальше:
but if a thread is currently executing C/C++ code in the runtime, the GC may need to wait until that call completes before it’s able to suspend the thread. Thus, the more work we can do in managed code instead of native code, the better off we are for GC pause times. We can use the same Array.Sort example to see this. Consider this program:
источник

z

zeroid in 2ch /pr/
George Lewinsky
Про просадки там дальше:
but if a thread is currently executing C/C++ code in the runtime, the GC may need to wait until that call completes before it’s able to suspend the thread. Thus, the more work we can do in managed code instead of native code, the better off we are for GC pause times. We can use the same Array.Sort example to see this. Consider this program:
> т.к бридж не оптимизирован
источник

z

zeroid in 2ch /pr/
> миксед C/C++/C#
источник

GL

George Lewinsky in 2ch /pr/
ну, а выше не про это
источник

Р

Роман in 2ch /pr/
а в чем c# от c отличается?
источник

z

zeroid in 2ch /pr/
George Lewinsky
ну, а выше не про это
Ну так а я тебе наперед написал, потому что в курсе в чем дело
источник

z

zeroid in 2ch /pr/
источник