AviPeltz liked ESP32 E-Paper Weather Display.AviPeltz liked Aloidia: wireless split solar powered keyboard.AviPeltz liked Miniature quadrupedal robot.hammer has added a new project titled Unboxing & Review - JetHexa ROS Hexapod Robot.hammer has updated details to Unboxing & Review - JetHexa ROS Hexapod Robot.podexperfectussum on Replacing A Clock IC’s Battery.craig on Dobsonian Telescope Adds Plate Solver.Joshua on Review: XHDATA D-219 Short Wave Radio Receiver.Paul on Dobsonian Telescope Adds Plate Solver.BrightBlueJim on Review: XHDATA D-219 Short Wave Radio Receiver.pelrun on Taking Apart IKEA’s Latest Air Quality Sensor.Posted in Software Hacks Tagged c compiler, clang, compilation, compiler optimization, gcc, icc, msvc, optimization Post navigation If you can run Docker, you might also be interestedin PenguinTrace. We’d love to see something like this done for FPGAs. You could always try it yourself if you are interested. One of the compilers, the Microsoft compiler, had an incorrect option specified, so it didn’t so well, but would probably do better with the right options. In the first example, CLANG did some great optimization but other compilers created a lot of code by comparison. Even if you don’t care much about the compiler explorer, this is an opportunity to gaze over an experienced programmer’s shoulder as he looks at some C code and generated assembly code. If you missed our original post about the tool, you can still catch up. He looks at four different algorithms using four different compilers and it is a good example of how you might use the tool to make decisions about how you write software. We suspect some number of readers said, “Wow! I can use that!”, while perhaps everyone else said, “Huh?” Well if you were in the second group, you ought to watch video below where he walks through using the website. It wasn’t long ago that we introduced you to a web site, the Godbolt compiler explorer, that allows the visitor to compile code using a slew of compilers and compare their output.
0 Comments
Leave a Reply. |