Ranter
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Comments
-
If you want to solve the problem, you break it up. If you want to mitigate the problem, you get more powerful machines. If you want to avoid the problem, you browse Reddit.
There's really no quick answer here. You can try to test bits of your code in isolation if possible before you compile the whole thing, but that's never going to work all the time. -
raze8133yYou could potentially containerize it to get benefits from caching layers, or that's what I'd do. Also look for parallelization options for your compiler. 🤷🏻♂️
-
@AlmondSauce It's just that I used to work with this RAD framework called Adobe ADF (and it sucks hard). One change in one line of code the back-end meant redeploy your entire site in the container (Weblogic), which took between 10 and 30 minutes..
-
@AvatarOfKaine In this case it was the DBA's job and the devs weren't allowed to touch the db at all unless they were adding some tiny stored procedure but all of that had to be pre-approved by the dba, which meant extra meetings and.. -sighs- yeah.
-
I once inherited a shit project that 30k LoC at most be the fucking pile of shit was made as services and would use a crappy C++ port of a java lib for MQTT communication with a server that I shit you not took 1h to compile. Gcc needed about 32GB of ram otherwise the machine would crash.
-
Break it up into tens to hundreds of build units that are linked and finalised in the last step. Part of C's massive success is the fact that builds are cached by the file which is ideally a tiny block of code.
-
I'm just trying to picture this.
so you're talking about n-tier style application right ?
what language ? -
@CaptainRant what's the tech stack of your project? Maybe there are slow and inefficient parts of the code that makes the compiling long. Maybe it needs some code refactoring.
-
do you really need to do a full rebuild every time ? in c# you organize things by assembly.
-
here is a better question. so you people create crap which solidifes profanity. is that all you people do ? do they steal everything else from you all like they do from me ?
-
I mean someone is keeping things because they steal things i wrote or produced. some of them take ideas I have and implement them like the json feature of smartctl
-
but why create this endless loop of stupdity ? don't you all feel pathetic at times ? like you're prisoners ?
-
@AvatarOfKaine Because in Software Development they say: "Don't reinvent the wheel". And in that case the framework was so effed up you had to recompile the whole thing for one change.
-
@CaptainRant I guess
There have been cases I’ve seen that but if it wasn’t a prototype change I do remember in net you could set some option I think that would ignore assembly version changes in the calling code or that it would just ignore them in general if the interface was the same
Related Rants
Suppose you're at work and you have this monolithic project and you hit 'compile'.. which takes half an hour each time. What do you do meanwhile?
question
slow
compiling
work
time-management