• OS Development & Rust

    From apam@21:1/182 to All on Saturday, January 09, 2021 19:31:10
    Hey

    If anyone is interested in OS development and Rust, there is a really
    good tutorial here:

    https://os.phil-opp.com/

    Andrew


    --- Talisman v0.9-dev (Linux/armv7l)
    * Origin: HappyLand v2.0 - telnet://happyland.zapto.org:11892/ (21:1/182)
  • From tenser@21:1/101 to apam on Sunday, January 10, 2021 04:26:49


    --- Mystic BBS v1.12 A46 2020/08/26 (Windows/32)
    * Origin: Agency BBS | Dunedin, New Zealand | agency.bbs.nz (21:1/101)
  • From tenser@21:1/101 to apam on Sunday, January 10, 2021 04:43:25
    On 09 Jan 2021 at 07:31p, apam pondered and said...

    If anyone is interested in OS development and Rust, there is a really
    good tutorial here:

    https://os.phil-opp.com/

    Phil's blog is pretty cool, though in some ways I liked the first
    edition better: he sort of glosses over some important details in
    the second.

    For OS education, I _highly_ recommend looking at xv6, MIT's
    teaching system that reimplements the 6th Edition research Unix
    interface. A 2/3rds completed reimplementation in Rust for
    x86_64 is at https://github.com/dancrossnyc/rxv64 (I should finish
    that up and ping Frans again...).

    --- Mystic BBS v1.12 A46 2020/08/26 (Windows/32)
    * Origin: Agency BBS | Dunedin, New Zealand | agency.bbs.nz (21:1/101)
  • From NuSkooler@21:1/121 to apam on Saturday, January 09, 2021 11:22:42

    On Sunday, January 10th apam muttered...
    If anyone is interested in OS development and Rust, there is a really good tutorial here:
    https://os.phil-opp.com/
    Andrew

    A number of things all the way down to within the Linux kernel are now being developed with Rust. Are you diving into it?

    I've done a couple very small projects in Rust and really like the language. I'd like excuses to do more. It's a bit of a moving target since the language has evolved so quickly which can be good and bad -- though it has settled down a bit. One thing I really want to try out is the async/await stuff that's now official.



    --
    |08 ■ |12NuSkooler |06// |12Xibalba |08- |07"|06The place of fear|07"
    |08 ■ |03xibalba|08.|03l33t|08.|03codes |08(|0344510|08/|03telnet|08, |0344511|08/|03ssh|08)
    |08 ■ |03ENiGMA 1/2 WHQ |08| |03Phenom |08| |0367 |08| |03iMPURE |08| |03ACiDic
    --- ENiGMA 1/2 v0.0.12-beta (linux; x64; 12.13.1)
    * Origin: Xibalba -+- xibalba.l33t.codes:44510 (21:1/121)
  • From apam@21:1/182 to tenser on Sunday, January 10, 2021 11:38:05
    For OS education, I _highly_ recommend looking at xv6, MIT's
    teaching system that reimplements the 6th Edition research Unix
    interface. A 2/3rds completed reimplementation in Rust for
    x86_64 is at https://github.com/dancrossnyc/rxv64 (I should finish
    that up and ping Frans again...).

    Cool, I'll have a look later, thanks!

    I'm sort of more using this tutorial for learning rust, OS dev I am some
    what familiar with (I am by no means an expert, but I recognise most of
    the concepts).

    I have this dream where I write my own BBS running on my own OS lol, I
    almost got there once, my last attempt at an OS I actually had a working webserver, but it was so very buggy, and it doesn't seem to work anymore.

    One thing good about this tutorial is it's teaching me test cases,
    something I've never really learned about. I remember you suggesting them
    in magicka, but I never really "got it".

    Andrew


    --- Talisman v0.9-dev (Linux/armv7l)
    * Origin: HappyLand v2.0 - telnet://happyland.zapto.org:11892/ (21:1/182)
  • From apam@21:1/182 to NuSkooler on Sunday, January 10, 2021 11:45:01
    A number of things all the way down to within the Linux kernel are now
    being developed with Rust. Are you diving into it?

    Yeah, I have a little mixed feelings about that. Not really any good
    reasons I suppose.

    I'm working my way through the tutorial, in the past I've attempted to
    learn rust a couple of times, but always got confused.

    I've done a couple very small projects in Rust and really like the
    language. I'd like excuses to do more. It's a bit of a moving target
    since the language has evolved so quickly which can be good and bad -- though it has settled down a bit. One thing I really want to try out
    is the async/await stuff that's now official.

    Yes, the async / await stuff is down the bottom of this OS tutorial,
    looks like he implements coopritive multitasking using it.

    Though I didn't really get the async / await stuff in C# maybe this
    tutorial will clear things up a bit.

    Andrew


    --- Talisman v0.9-dev (Linux/armv7l)
    * Origin: HappyLand v2.0 - telnet://happyland.zapto.org:11892/ (21:1/182)
  • From tenser@21:1/101 to apam on Monday, January 11, 2021 13:55:38
    On 10 Jan 2021 at 11:38a, apam pondered and said...

    One thing good about this tutorial is it's teaching me test cases, something I've never really learned about. I remember you suggesting them in magicka, but I never really "got it".

    Yeah! Testing in the kernel is la schmoove.

    --- Mystic BBS v1.12 A46 2020/08/26 (Windows/32)
    * Origin: Agency BBS | Dunedin, New Zealand | agency.bbs.nz (21:1/101)