Search
Setup for Free
S
Silk.NET
•
3y ago
Lyris the Kitori
range based for loop are great when the compiler actually lowers it reasonably
range based for loop are great when the compiler actually lowers it reasonably
Silk.NET
Join
A Discord server for the Silk.NET - your one-stop-shop for high-speed .NET multimedia, graphics, and compute. FOSS.
1,790
Members
View on Discord
Resources
ModelContextProtocol
ModelContextProtocol
MCP Server
Similar Threads
Was this page helpful?
Yes
No
© 2026 Hedgehog Software, LLC
Twitter
GitHub
Discord
System
Light
Dark
More
Communities
Docs
About
Terms
Privacy
A
Aqua
•
10/7/23, 10:16 PM
yup
A
Aqua
•
10/7/23, 10:17 PM
it does not surprise me that rust
's compiler doesn
't
M
Maxine
•
10/7/23, 10:17 PM
rust was a mistake
A
Aqua
•
10/7/23, 10:17 PM
i would have been surprised if it did do it properly
M
Maxine
•
10/7/23, 10:17 PM
silly goofy experimental language now used in production
M
Maxine
rust was a mistake
L
Lyris the Kitori
OP
•
10/7/23, 10:17 PM
so was iron and most types of material honestly
M
Maxine
rust was a mistake
A
Aqua
•
10/7/23, 10:17 PM
NO
-
A
Aqua
•
10/7/23, 10:17 PM
DON
'T SAY THAT
A
Aqua
•
10/7/23, 10:17 PM
ANGER
A
Aqua
•
10/7/23, 10:17 PM
i am unfathomably angery at this statement
M
Maxine
•
10/7/23, 10:17 PM
"what if we made everything use a borrow checker
?
" statements dreamed up by the utterly deranged
M
Maxine
•
10/7/23, 10:18 PM
thread safety by torturing the developer so much they decide to just make it single threaded
A
Aqua
•
10/7/23, 10:18 PM
that is
A
Aqua
•
10/7/23, 10:18 PM
true
L
Lyris the Kitori
OP
•
10/7/23, 10:18 PM
just write faster code and you wont need to multithread
A
Aqua
•
10/7/23, 10:18 PM
threads made me want to launch myself off
a cliff
into bed
A
Aqua
•
10/7/23, 10:18 PM
ok that sounds sus but you get what i mean
A
Aqua
•
10/7/23, 10:18 PM
threads were just terrible
A
Aqua
•
10/7/23, 10:18 PM
in rust
M
Maxine
•
10/7/23, 10:19 PM
all languages should come with a job system
M
Maxine
•
10/7/23, 10:19 PM
i will die on this hill
A
Aqua
•
10/7/23, 10:19 PM
how much does it pay
?
M
Maxine
•
10/7/23, 10:19 PM
ougdfhgukfsj
M
Maxine
•
10/7/23, 10:19 PM
a job
-based threading system
.
.
.
L
Lyris the Kitori
OP
•
10/7/23, 10:19 PM
all languages should have nouns
M
Maxine
•
10/7/23, 10:19 PM
i think most of them do
L
Lyris the Kitori
OP
•
10/7/23, 10:19 PM
proof
?
M
Maxine
•
10/7/23, 10:19 PM
proof is a noun
L
Lyris the Kitori
OP
•
10/7/23, 10:19 PM
proof
?
M
Maxine
•
10/7/23, 10:20 PM
he died in like 2006
A
Aqua
•
10/7/23, 10:20 PM
what is a noun i forgot
A
Aqua
what is a noun i forgot
M
Maxine
•
10/7/23, 10:20 PM
hang on there matt walsh
A
Aqua
what is a noun i forgot
L
Lyris the Kitori
OP
•
10/7/23, 10:20 PM
a noun is an action done by a thing onto another thing
/j
A
Aqua
•
10/7/23, 10:20 PM
(that is not a joke i haven
't studied english since around 6 years ago
)
A
Aqua
•
10/7/23, 10:20 PM
oh it just means a thing
L
Lyris the Kitori
range based for loop are great when the compiler actually lowers it reasonably
P
Perksey
•
10/7/23, 10:20 PM
yeah so to demonstrate this
https://godbolt.org/#g:!((g:!((g:!((h:codeEditor,i:(filename:'1',fontScale:14,fontUsePx:'0',j:1,lang:rust,selection:(endColumn:2,endLineNumber:10,positionColumn:2,positionLineNumber:10,selectionStartColumn:2,selectionStartLineNumber:10,startColumn:2,startLineNumber:10),source:'%0Apub+fn+main()+%7B%0A++++for+x+in+0..3+%7B%0A++++++++std::hint::black_box(bb)(x)%3B%0A++++%7D%0A%7D%0A%0A%23%5Binline(never)%5D%0Apub+fn+bb(x:+usize)+%7B%0A%7D'),l:'5',n:'0',o:'Rust+source+%231',t:'0')),k:33.333333333333336,l:'4',n:'0',o:'',s:0,t:'0'),(g:!((h:compiler,i:(compiler:r1720,deviceViewOpen:'1',filters:(b:'0',binary:'1',binaryObject:'1',commentOnly:'0',debugCalls:'1',demangle:'0',directives:'0',execute:'1',intel:'0',libraryCode:'0',trim:'1'),flagsViewOpen:'1',fontScale:14,fontUsePx:'0',j:1,lang:rust,libs:!(),options:'',overrides:!(),selection:(endColumn:1,endLineNumber:1,positionColumn:1,positionLineNumber:1,selectionStartColumn:1,selectionStartLineNumber:1,startColumn:1,startLineNumber:1),source:1),l:'5',n:'0',o:'+rustc+1.72.0+(Editor+%231)',t:'0')),k:33.333333333333336,l:'4',n:'0',o:'',s:0,t:'0'),(g:!((h:output,i:(compilerName:'ARM64+gcc+trunk',editorid:1,fontScale:14,fontUsePx:'0',j:1,wrap:'1'),l:'5',n:'0',o:'Output+of+rustc+1.72.0+(Compiler+%231)',t:'0')),k:33.33333333333333,l:'4',n:'0',o:'',s:0,t:'0')),l:'2',n:'0',o:'',t:'0')),version:4
Compiler Explorer
M
Maxine
•
10/7/23, 10:21 PM
fuck me godbolt
P
Perksey
•
10/7/23, 10:21 PM
add
-C opt-level=1
-C opt-level=1
to the compiler options
and just look at the difference
L
Lyris the Kitori
OP
•
10/7/23, 10:21 PM
LONGEST URL KNOWN TO MAN
P
Perksey
•
10/7/23, 10:21 PM
LLVM is doing god
's work
L
Lyris the Kitori
OP
•
10/7/23, 10:21 PM
ya that sounds about right
A
Aqua
•
10/7/23, 10:21 PM
llvm is awesome
M
Maxine
•
10/7/23, 10:22 PM
i once heard that optimizing compilers are designed to make shit code fast and that has changed me forever
M
Maxine
i once heard that optimizing compilers are designed to make shit code fast and t...
P
Perksey
•
10/7/23, 10:23 PM
https://tenor.com/view/oppenheimer-cillian-murphy-cillian-murphy-peaky-blinders-gif-1787947313354313976
Tenor
A
Aqua
•
10/7/23, 10:23 PM
you heard it here
, folks
write shit code cause the compiler can make it fast
!
!
!
!
!
!
!
!
!
!
!
!111111111111111
M
Maxine
•
10/7/23, 10:23 PM
if ever you find yourself prematurely optimizing code
, just remember
: someone got paid a lot of money so you don
't have to do this
L
Lyris the Kitori
OP
•
10/7/23, 10:23 PM
the compiler cant optimize my code if i disable the optimization flags
L
Lyris the Kitori
OP
•
10/7/23, 10:23 PM
i always win
A
Aqua
•
10/7/23, 10:23 PM
lmfao
L
Lyris the Kitori
the compiler cant optimize my code if i disable the optimization flags
L
Lyris the Kitori
OP
•
10/7/23, 10:24 PM
checkmate atheists
Next page
-C opt-level=1
-C opt-level=1