shit was wack 20 years ago

shit was wack 20 years ago
14 Replies
TechPizza
TechPizza3y ago
i wish AsSpan existed 20 years ago when
King
King3y ago
Reminds me of that tweet talking about how musk looked at a foreach loop and just went "Man that's wasted resources, optimize it"
Lyris the Kitori
Lyris the KitoriOP3y ago
the manual foreach is probably just a style carried over or it's decompiled code who knows
TechPizza
TechPizza3y ago
ok, i have no clue how to do this
Lyris the Kitori
Lyris the KitoriOP3y ago
you could ask in their server
TechPizza
TechPizza3y ago
i am 101% sure it would only work for java 8, so i will not bother well, i did start playing a 1.7.10 modpack yesterday so... i feel like i would like to blow stuff up for a change
Aqua
Aqua3y ago
looks like decompiled code, I remember decompiling some java once and the foreach loops became these get iterator thingies
Lyris the Kitori
Lyris the KitoriOP3y ago
inb4 it's decompiled il from IKVM itself
TechPizza
TechPizza3y ago
likely
Lyris the Kitori
Lyris the KitoriOP3y ago
that's a chad move "yeah i wrote my kvm in java then converted it to IL and decompiled back to c#"
Lyris the Kitori
Lyris the KitoriOP3y ago
here's what some minecraft code looks like when decompiled to c#
No description
TechPizza
TechPizza3y ago
stop giving me mc b1.7.3 flashbacks
Aqua
Aqua3y ago
actually cursed
Lyris the Kitori
Lyris the KitoriOP3y ago
ignore the ___003clinit_003E that's not part of minecraft that's a thing ikvm when

Did you find this page helpful?