nitter
Logo
earlier replies
Daniel Silverstone ๐Ÿ’‰๐Ÿ’‰๐Ÿ’‰๐Ÿ’‰ยฒ ๐Ÿณ๏ธโ€๐ŸŒˆ๐Ÿ‡ฌ๐Ÿ‡ง @dsilverstone
1 Jan 2019
Replying to @diodesign
so much asm.
1
Chris Williams @diodesign
1 Jan 2019
I'm thinking a lot of it can be replaced by Rust's asm!() macros, hopefully leaving just the IRQ and boot entry asm
1
Daniel Silverstone ๐Ÿ’‰๐Ÿ’‰๐Ÿ’‰๐Ÿ’‰ยฒ ๐Ÿณ๏ธโ€๐ŸŒˆ๐Ÿ‡ฌ๐Ÿ‡ง @dsilverstone
1 Jan 2019
I'd hope a lot can be replaced with real rust instead of asm. @japaricious does amazing things with very little asm
1
Chris Williams @diodesign
1 Jan 2019
I'm currently cruising at 5.8% asm v 93.4% Rust so I think a) there's room to shrink b) it's not too much asm at this stage :) github.com/diodesign/diosix

GitHub - diodesign/diosix: A lightweight, secure, multiprocessor bare-metal hypervisor written in...

A lightweight, secure, multiprocessor bare-metal hypervisor written in Rust for RISC-V - GitHub - diodesign/diosix: A lightweight, secure, multiprocessor bare-metal hypervisor written in Rust for R...

github.com
1
Daniel Silverstone ๐Ÿ’‰๐Ÿ’‰๐Ÿ’‰๐Ÿ’‰ยฒ ๐Ÿณ๏ธโ€๐ŸŒˆ๐Ÿ‡ฌ๐Ÿ‡ง @dsilverstone
1 Jan 2019
Replying to @diodesign
That's a nice ratio :-D

Jan 1, 2019 ยท 9:29 AM UTC

1