IRC channel logs

2024-10-04.log

back to list of logs

<azert>gnucode: the nice part about reimplementing the Hurd in rust is that it’s likely to be possible, while reimplementing Linux in rust is an absolutely madman project.
<sneek>Welcome back azert, you have 1 message!
<sneek>azert, gnucode says: I am not necessarily advocating that we re-write the Hurd in rust. Sergey seems to like the idea that we can use rust in the Hurd code base though. As someone who has never coded in rust...my main criticism of it is that it seems to be morphing into C++ with way too many features. I wish there was a memory safe C like language. less features.
<azert>As such, I could think that some people serious about having a rust implemented gnu kernels might be interested in the Hurd
<nikolar>ew
<azert>The Hurd interfaces are well defined
<azert>solid_black mentioned that the Hurd libraries follow a non idiomatic  pattern that is a pity, since it means they would have to be reimplemented
<nikolar>i don't think it's worth it to reimplement anything in rust
<azert>It could be done piece by piece, for instance one could dream of a journaling filesystem implemented in rust for hurd
<nikolar>i don't think the language is the main obsticle that prevented such an fs from being implemented so far
<azert>I totally agree
<azert>In regards to ext3, it’s probably licensing issues
<nikolar>what licensing issues
<nikolar>the kernel is gpl2 no?
<nikolar>shouldn't that be fine
<nikolar>(*the linux kernel)
<azert>The ext3/4 journaling? It’s all gplv2 and copyright IBM corporation
<azert>v2 only
<nikolar>well, make up your own journal on top of ext2 or whatever :P
<Gooberpatrol_66>overstreet wants to rewrite bcachefs in rust, and that still supports fuse afaik
<nikolar>good luck upstreaming that
<nikolar>also that's just silly
<nikolar>he's been working on bcachefs for the past, what, 5 years
<nikolar>and now he's going to rewrite it in rust
<azert>True
<nikolar>the whole "rewrite it in rust" meme needs to stop imo
<Gooberpatrol_66>idk about bcachefs specifically because not that many care about it, but the rest of linux moving to rust will work because they can just throw 100 bazillion developers at the problem
<Gooberpatrol_66>cannon fodder basically
<nikolar>i don't think you've been follwoing
<nikolar>but no, it won't work
<Gooberpatrol_66>following what
<nikolar>and the overwhealming majority of actual contributors to the kernel don't know and don't care about rust
<nikolar>Gooberpatrol_66: the whole rust in the kernel thing
<Gooberpatrol_66>that's way too broad
<nikolar>which part
<Gooberpatrol_66>who's on first
<nikolar>?
<Gooberpatrol_66>i know about the argument in that rust lecture that happened
<Gooberpatrol_66>that drama
<Gooberpatrol_66>is that what you're referring to
<nikolar>sure, that's one part
<nikolar>they've been trying to shoehorn rust into linux for several years now, and the only thing they have to show for it is a toy driver in like 100 lines of rust
<azert> https://lists.gnu.org/archive/html/bug-hurd/2007-08/msg00068.html Proof that I’m not talking out of my butt
<nikolar>azert: lol i didn't think you wee
<nikolar>*were
<Gooberpatrol_66>a bunch of greybeards could maybe clamp down on rust through their exclusive commit access if they wanted to due to ideological differences, but otherwise tech megacorps will keep hiring tens of thousands of developers to rewrite everything in rust
<Gooberpatrol_66>pushing out the current developers with fresh meat
<nikolar>that's not going to happen though
<nikolar>there aren't that many good rust (or c devs)
<Gooberpatrol_66>they don't need to be good lel
<azert>I think it’s just Linux finishing his cycle
<nikolar>you can just churn out shitty web devs and expect them to be competent in osdev
<nikolar>(no matter the language)
<nikolar>azert: what do you mean
<azert>That once Linus Torvalds is out, and it is almost the case, Linux may die. Or just become Google Android Os
<azert>You need a charismatic figure for a project like that
<nikolar>that's not wrong
<nikolar>i am curious if there are any plans for Linus' retirment, or death
<gnucode>hey friends!