347 karma · joined Feb 8, 2020 (6y ago) · 235 submissions
comment 2w ago · link · parent
But I've only used the program for less than 5 minutes, so maybe it's configured differently?
comment 1mo ago · link · parent
comment 2mo ago · link · parent
Why bother doing that when it would be vastly easier on a modern computer?
comment 3mo ago · link · parent
I also wrote a server-side plugin for Assetto Corsa that monitored track limits, and could integrate into the program the league I was in used to find the pace of drivers for when we needed multiple servers.
In terms of "finished" meaning "I stopped working on it", I did write a compiler for a static concatinative language.
comment 8mo ago · link · parent
I'm actually kinda pleased with how close I guessed! I estimated 4 set bits per character, which with 491 characters in your post (including spaces) comes to 1964.
Then I ran your message through a program to get the actual number, and turns out it has 1800 exactly.
comment 10mo ago · link · parent
Additionally, it was 10 years ago and LLVM has changed. It could be that LLVM does better now, or it could do worse. I would actually be interested in seeing some benchmarks with modern rustc.
comment 10mo ago · link · parent
C and C++ don't actually have an advantage here because this is only limited to signed integers unless you use compiler-specific intrinsics. Rust's standard library allows you to make overflow on any specific arithmetic operation UB on both signed and unsigned integers.
comment 1y ago · link · parent
Of course, that was also 10 years ago, so things may be different now. There'll have been interest from the Rust project for improving the optimisations `noalias` performs, as well as improvements from Clang to improve optimisations under C and C++'s aliasing model.
comment 1y ago · link · parent
I wonder if it's that Ruby/Python programmers were interested in using these kinds of languages but were being pushed away by C/C++.
comment 1y ago · link · parent
C# is actually fairly complex. I'm not sure if it's quite at the same level as Rust, but I wouldn't say it's that far behind in difficulty for complete understanding.