Click here to Skip to main content
15,886,963 members

Welcome to the Lounge

   

For discussing anything related to a software developer's life but is not for programming questions. Got a programming question?

The Lounge is rated Safe For Work. If you're about to post something inappropriate for a shared office environment, then don't post it. No ads, no abuse, and no programming questions. Trolling, (political, climate, religious or whatever) will result in your account being removed.

 
GeneralRe: What about using AI to optimize compiler code generation? Pin
honey the codewitch17-Oct-23 1:06
mvahoney the codewitch17-Oct-23 1:06 
GeneralRe: What about using AI to optimize compiler code generation? Pin
Sander Rossel16-Oct-23 21:34
professionalSander Rossel16-Oct-23 21:34 
GeneralRe: What about using AI to optimize compiler code generation? Pin
megaadam17-Oct-23 1:47
professionalmegaadam17-Oct-23 1:47 
GeneralRe: What about using AI to optimize compiler code generation? Pin
Daniel Pfeffer17-Oct-23 2:43
professionalDaniel Pfeffer17-Oct-23 2:43 
GeneralRe: What about using AI to optimize compiler code generation? Pin
honey the codewitch17-Oct-23 3:01
mvahoney the codewitch17-Oct-23 3:01 
GeneralRe: What about using AI to optimize compiler code generation? Pin
jschell17-Oct-23 6:17
jschell17-Oct-23 6:17 
GeneralRe: What about using AI to optimize compiler code generation? Pin
honey the codewitch17-Oct-23 6:26
mvahoney the codewitch17-Oct-23 6:26 
GeneralRe: What about using AI to optimize compiler code generation? Pin
trønderen17-Oct-23 7:48
trønderen17-Oct-23 7:48 
You are certainly right that the first three points are essential. I take for granted that '3. Design' includes choice of algorithms and data structures (at multiple levels). (Side remark: I think that the importance of good data structures is highly undervalued in many of today's designs!) Doing these points right might lead to big-O improvements.

Yet, I think that you go to far stating that 'Optimizing code seldom provides any measurable impact', suspecting that what you think of as 'unoptimized' code is what your compiler produces by default. It must be decades since I saw a production compiler that did no sort of optimizing at all! Any common compiler today employs a big crowd of optimizing techniques. Using the result of this as a base for comparison, you might see that you 'seldom can achieve anything more than about 1% difference', because the potential has already been taken out.

When I update my computer to new technology, running exactly the same binary applications, no changes in steps 1-3, so the only change is in technology (not even including coding), I experience a lot more than 1% speedup. 'Especially in terms of the user experience', as you phrase it.

(My current main PC is of 2016 vintage, so I honestly expect a speedup the day I upgrade, otherwise I would say that technological development has failed miserably Smile | :) ... except for sound and video. I do not expect those to play any faster.)
GeneralRe: What about using AI to optimize compiler code generation? Pin
jschell18-Oct-23 5:43
jschell18-Oct-23 5:43 
GeneralRe: What about using AI to optimize compiler code generation? Pin
trønderen18-Oct-23 12:41
trønderen18-Oct-23 12:41 
GeneralRe: What about using AI to optimize compiler code generation? Pin
jschell19-Oct-23 5:00
jschell19-Oct-23 5:00 
GeneralRe: What about using AI to optimize compiler code generation? Pin
trønderen17-Oct-23 7:27
trønderen17-Oct-23 7:27 
GeneralRe: What about using AI to optimize compiler code generation? Pin
jmaida17-Oct-23 11:59
jmaida17-Oct-23 11:59 
Generalworldle 633 1/6 Pin
jmaida16-Oct-23 16:44
jmaida16-Oct-23 16:44 
GeneralCode telepathy Pin
honey the codewitch16-Oct-23 15:53
mvahoney the codewitch16-Oct-23 15:53 
GeneralRe: Code telepathy Pin
David O'Neil16-Oct-23 16:56
professionalDavid O'Neil16-Oct-23 16:56 
GeneralRe: Code telepathy Pin
honey the codewitch16-Oct-23 17:16
mvahoney the codewitch16-Oct-23 17:16 
GeneralRe: Code telepathy Pin
jmaida16-Oct-23 17:06
jmaida16-Oct-23 17:06 
GeneralRe: Code telepathy Pin
honey the codewitch16-Oct-23 17:13
mvahoney the codewitch16-Oct-23 17:13 
GeneralRe: Code telepathy Pin
jmaida16-Oct-23 19:00
jmaida16-Oct-23 19:00 
GeneralRe: Code telepathy Pin
englebart18-Oct-23 2:20
professionalenglebart18-Oct-23 2:20 
GeneralWordle 850 Pin
StarNamer@work16-Oct-23 13:05
professionalStarNamer@work16-Oct-23 13:05 
GeneralRe: Wordle 850 Pin
Amarnath S16-Oct-23 14:27
professionalAmarnath S16-Oct-23 14:27 
GeneralRe: Wordle 850 Pin
GKP199216-Oct-23 18:14
professionalGKP199216-Oct-23 18:14 
GeneralRe: Wordle 850 Pin
Shane010316-Oct-23 18:44
Shane010316-Oct-23 18:44 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.