Раста в ядре Linux не будет
От: r0nd  
Дата: 17.02.25 02:14
Оценка:
Хоть этот раздел форума номинально мертв, но коллеги вы тут пропускаете такой мощный наезд, ведь обидели растишку мышку — и насрали в норку:


On Wed, Jan 08, 2025 at 04:16:18PM +0100, Miguel Ojeda wrote:
> On Wed, Jan 8, 2025 at 3:00 PM Christoph Hellwig <hch@lst.de> wrote:
> >
> > No rust code in kernel/dma, please.
>
> What do you suggest?

Keep the wrappers in your code instead of making life painful for others.

> Rust drivers shouldn't use C APIs directly, but rather use an abstraction of the

> corresponding C API.

Don't force me to deal with your shiny language of the day. Maintaining multi-language projects is a pain I have no interest in dealing with.

If you want to use something that's not C, be that assembly or rust you write to C interfaces and deal with the impedence mismatch yourself as far as I'm concerned.
…≪ Dementor 1.7.5 ✪ Lets Play a Game ⚃⚄⚅⚅⚅ ≫
 
Подождите ...
Wait...
Пока на собственное сообщение не было ответов, его можно удалить.