<heat>
it's 8am and i've just seen the worst thing of the day
<heat>
i hope
xenos1984 has quit [Read error: Connection reset by peer]
xenos1984 has joined #osdev
kof123 has quit [*.net *.split]
kof123 has joined #osdev
stolen has quit [Quit: Connection closed for inactivity]
GeDaMo has joined #osdev
<Ermine>
therefore RUST
<heat>
Ermine, they actually rewrote it in rust
<heat>
"we rewrote bad C into rust and it turned out better" is like, one of the conclusions of all time
osmten has quit [Quit: Client closed]
<Ermine>
Isn't it the most popular justification?
osmten has joined #osdev
bulls has joined #osdev
netbsduser has joined #osdev
heat_ has joined #osdev
heat has quit [Read error: Connection reset by peer]
rustyy has quit [Quit: leaving]
osmten has quit [Quit: Client closed]
Left_Turn has joined #osdev
rustyy has joined #osdev
srjek|home has joined #osdev
osmten has joined #osdev
frkazoid333 has joined #osdev
srjek|home has quit [Ping timeout: 256 seconds]
goliath has joined #osdev
alfplayer has quit [Ping timeout: 264 seconds]
edr has joined #osdev
osmten has quit [Quit: Client closed]
alfplayer has joined #osdev
blockhead has quit [Ping timeout: 256 seconds]
bulls has quit [Ping timeout: 252 seconds]
xenos1984 has quit [Quit: Leaving.]
<mcrod>
hi
xenos1984 has joined #osdev
xenos1984 has quit [Client Quit]
xenos1984 has joined #osdev
xenos1984 has quit [Client Quit]
rustyy has quit [Quit: leaving]
xenos1984 has joined #osdev
zxrom has quit [Quit: Leaving]
xenos1984 has quit [Client Quit]
xenos1984 has joined #osdev
xenos1984 has quit [Quit: Leaving.]
xenos1984 has joined #osdev
xenos1984 has quit [Client Quit]
pretty_dumm_guy has quit [Quit: WeeChat 3.5]
xenos1984 has joined #osdev
xenos1984 has quit [Client Quit]
xenos1984 has joined #osdev
netbsduser has quit [Ping timeout: 268 seconds]
Gurkenglas has joined #osdev
xenos1984 has quit [Quit: Leaving.]
vdamewood has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
FreeFull has quit []
netbsduser has joined #osdev
gildasio has quit [Ping timeout: 240 seconds]
wand has joined #osdev
gildasio has joined #osdev
xenos1984 has joined #osdev
dentalppl has joined #osdev
masoudd has quit [Ping timeout: 268 seconds]
stolen has joined #osdev
dentalppl has quit [Ping timeout: 256 seconds]
dentalppl has joined #osdev
masoudd has joined #osdev
xenos1984 has quit [Ping timeout: 268 seconds]
xenos1984 has joined #osdev
Gurkenglas has quit [Quit: Client closed]
dentalppl has quit [Ping timeout: 276 seconds]
zxrom has joined #osdev
masoudd_ has joined #osdev
heat__ has joined #osdev
heat_ has quit [Read error: Connection reset by peer]
masoudd has quit [Ping timeout: 264 seconds]
eddof13 has joined #osdev
masoudd_ has quit [Ping timeout: 246 seconds]
eddof13 has quit [Quit: eddof13]
xenos1984 has quit [Ping timeout: 256 seconds]
eddof13 has joined #osdev
xenos1984 has joined #osdev
stolen has quit [Quit: Connection closed for inactivity]
dentalppl has joined #osdev
traged has quit [Quit: WeeChat 4.1.2]
gildasio has quit [Ping timeout: 240 seconds]
tomaw has quit [Remote host closed the connection]
tomaw_ has joined #osdev
tomaw_ is now known as tomaw
<heat__>
Ermine, i think the usual argument is that all C is bad code and can be improved with rust
<heat__>
but in this case it really just seems like bad C code is bad, and can be improved with rust
<heat__>
OR refactoring
* geist
yawns
heat__ is now known as heat
heat has quit [Remote host closed the connection]
heat has joined #osdev
<heat>
geist: rust
<zid>
C seems to have the largest gulf between "What a beginner would write" and "What an expert would write" of any language ever
<zid>
It's very.. 'intent' riddled? Like, if you know what you're doing, you write things in certain ways to express certain things to the reader (or compiler)
<geist>
are you just speaking of C or C++?
<zid>
"You have to write a thing that looks like the thing that it is". Like, I don't get std::vector or whatever, I write one, and the code has to 'look' like one to be readable and debuggable
<zid>
a HLL you'd just do thing.thething.thingy
<geist>
but if you consider foo.bar.baz, or std::thing to be a library, then to compare it with C you have to consider using a comparable C library
<geist>
i think maybe the diff there is you're generally starting over from scratch with C
<geist>
at least the kinda stuff we do around here
<zid>
You might, but projects.. don't
<zid>
glib is a thing, but almost nothing uses it in reality
<zid>
Mainly imo, is because if you're writing a thing in C, it's because you needed to / wanted to implement those things yourself
<geist>
right
<zid>
like, what's glib's answer if I need to instrument, debug, change to a pool allocator etc, its implementation
<geist>
or it's old code, etc
<geist>
i honestly have no idea, never even looked at glib to see whats in it
<zid>
Generally a C program will revolve around a very 'designed' struct
<zid>
and everything needs to be customly interacting with it
<zid>
rather than "lol it's a dict" like a python or a js
<zid>
where everything can be generic
<heat>
geist, i think glib is just a utils lib with data structures and object orientedness and stuff
elastic_dog has quit [Remote host closed the connection]
<Ermine>
and pain
<zid>
how long has youtube had click + drag for fastforward
<zid>
I just did it accidentally
elastic_dog has joined #osdev
elastic_dog has quit [Client Quit]
<Ermine>
it's just long click
<heat>
yeah long click, i've done it accidentally on mobile
<Ermine>
Wasn't it google which stated that 80% of their vulns are memory related
elastic_dog has joined #osdev
<heat>
maybe
<heat>
it's not far fetched
<zid>
I'm surprised it's not 95%+
<zid>
They're even memory related in JS fairly often :P
<zid>
I guess they just do so MUCH js that it lowers the average down
<heat>
wdym memory related in js?
<zid>
array bounds not checked in v8 etc
<zid>
or I mean, in js
FreeFull has joined #osdev
GeDaMo has quit [Quit: That's it, you people have stood in my way long enough! I'm going to clown college!]
sortie has quit [Quit: Leaving]
sortie has joined #osdev
gbowne1 has joined #osdev
sbalmos has quit [Ping timeout: 276 seconds]
sbalmos has joined #osdev
gbowne1 has quit [Remote host closed the connection]
gbowne1 has joined #osdev
gildasio has joined #osdev
[itchyjunk] has joined #osdev
srjek|home has joined #osdev
gildasio has quit [Remote host closed the connection]
dentalppl has quit [Ping timeout: 260 seconds]
gildasio has joined #osdev
danilogondolfo has quit [Remote host closed the connection]
lg has quit [Ping timeout: 246 seconds]
dentalppl has joined #osdev
manawyrm has quit [Quit: Read error: 2.99792458 x 10^8 meters/second (Excessive speed of light)]