Comments (6)
Missing images on https://github.com/sidristij/dotnetbook/blob/master/book/ru/ThreadStack.md
Images location https://github.com/sidristij/dotnetbook/blob/master/book/ru/imgs/ThreadStack/step1.png, but actual location is https://github.com/sidristij/dotnetbook/blob/master/book//imgs/ (no /ru)
from dotnetbook.
Images paths fixed
from dotnetbook.
Подскажите, а где код к главе?
Интересует вот эта строчка - var forked = Fork.CloneThread();
from dotnetbook.
https://github.com/sidristij/dotnetex
from dotnetbook.
Добрый день!
Возник вопрос о передаче параметров через регистры.
Первое, что делает код, скомпилированный JIT'ом: он сохраняет параметры метода в стек (начиная с третьего). При этом первые два передаются через регистры. Тут важно помнить, что первым параметром экземплярных методов передаётся указатель на тот объект, с которым работает метод. Т.е. указатель this. Так что в этих (почти всех) случаях для регистров остаётся всего один параметр, а для всех остальных -- стек;
Что если первый параметр метода (второй после this) - структура, которая не помещается в регистр?
Ведь как мы знаем из главы Ссылочные и значимые типы данных
параметр, принимающий значимый тип хранит в себе именно значение, а не ссылку.
from dotnetbook.
Поторопился с вопросом)
Далее в главе Ссылочные и значимые типы данных
написано о том, что каждое поле структуры - отдельный параметр метода. Вопрос решён)
from dotnetbook.
Related Issues (20)
- Перевод MemoryManagement-Intro RU->EN
- Адаптация курса по GC к формату книги
- Запрос правок от сообщества: GC Intro HOT 1
- Автоматическая выгрузка книги в форматах epub/mobi/pdf
- MemoryManagement-Basics HOT 2
- RU Содержание сломалось HOT 1
- Не работают ссылки на сайте книги HOT 2
- Вопрос про "песочницу" HOT 1
- Objects Structure: Translation RU -> EN
- Memory<T>, Span<T>: Translation RU-> EN
- ThreadStack: Translation RU -> EN
- Exceptional Flow: Intro. Translation RU -> EN
- Exceptional Flow: Architecture. Translation RU -> EN
- Exceptional Flow: Events. Translation RU -> EN
- Exceptional Flow: Types. Translation RU -> EN
- Заглавное изображение IDisposable HOT 4
- Настроить pandoc на генерацию pdf
- Настроить pandoc на генерацию html
- The book isn't available at https://clrbook.com/
- stackalloc, value types, unmanaged types
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from dotnetbook.