News for hackers. Stuff that matters.
Re:Software Development at 1 Hz by nojvek on Sunday September 25, 2016 @05:38PM (#12577592)
I am a huge believer of <10s Dev loop. I quit my previous team because compile times were greater than 2mins and I wasn't in a position to influence making it shorter.

In my new team I got it from 30s to 5s and the effects have been amazing. I have to thank VScode and Gulp to make this possible. With typescript vscode does fast parsing of your code on every keystroke and gives squigglys instantly. On every save, gulp does its magic and vscode runs the problem matcher and shows more squiggly on my editor.

The browser knows when a file has changed and refreshes immediately. Vscode has a chrome-debug plugin so my breakpoints hit immediately in the IDE.

It's been an amazing experience so far. We've also revved up our CI systems to run 1000's of tests in parallel.

You actually enjoy work when you don't spend forever waiting for things to compile.

Re:Software Development at 1 Hz by khedoros on Monday September 26, 2016 @03:55AM (#12580057)
> In my new team I got it from 30s to 5s and the effects have been amazing.

I was proud of being part of the team that got the compile time for the core of our product from about 2 hours down to about 30 minutes (the same amount of code, loaded into a RAMdisk and built on a 16-core machine builds in about 2-3 minutes today, but most of our full builds take from 20 minutes to 2 hours now).

After you build the core, a fairly simple plug-in on a reasonable development machine will compile+link in about 5 seconds, maybe. How long it takes to test the fix depends on how far into the program's operation a failure is expected to occur...anywhere from a couple seconds in, if it can't contact the server, to an unbounded length of time, if there's a rare bug triggered by some weird pattern in the customer's data or use of the system.

I enjoy hearing about what other people expect from their dev environments. I've worked almost exclusively in large C++ systems.

Re:Software Development at 1 Hz by DougBTX on Sunday September 25, 2016 @06:30PM (#12577803)
This is a problem I'm having at the moment, 20s webpack builds with ts-loader, plus other build steps running in VS 2015. Seems I need to drop ts-loader, and build more directly. Are your build files available to look at somewhere?
Re:Software Development at 1 Hz by donw on Sunday September 25, 2016 @10:11PM (#12578765)
That sounds... high. No guarantees that I can help with your current stack, but my email is in my profile if you'd like to run your setup by me.
Re:Software Development at 1 Hz by methyl on Monday September 26, 2016 @11:14AM (#12582489)
Do you run webpack on Windows? It's much slower there than on *nix platforms
Re:Software Development at 1 Hz by pags on Sunday September 25, 2016 @07:53PM (#12578151)
Web engineers are waiting for stuff to compile these days? I thought things were supposed to be moving forward, not backward.
Re:Software Development at 1 Hz by erikpukinskis on Sunday September 25, 2016 @08:52PM (#12578407)
It's a two steps forward two steps back kind of situation. For a while we just had HTML+PHP... save it, alt tab, reload. Then we had servers that have to boot and that took a step back. Then we had hot reloading servers and everything is fast again. Then we added asset complication and things took 30 seconds to process again. Now we're working on incremental building of assets to get back that speed again.
Re:Software Development at 1 Hz by lj3 on Sunday September 25, 2016 @11:07PM (#12578956)
There's always been a segment of web engineers who have had to wait for stuff to compile. That's not a bad thing, in and of itself. It's the really long compile times due to bad tooling that sucks. Those are avoidable, though.
Re:Software Development at 1 Hz by btbuildem on Sunday September 25, 2016 @10:06PM (#12578747)
It's simultaneously frustrating and entertaining to watch the younger generation toil under the impression that they're inventing something new.
Re:Software Development at 1 Hz by brandall10 on Sunday September 25, 2016 @08:02PM (#12578187)
deleted
Re:Software Development at 1 Hz by pags on Sunday September 25, 2016 @08:05PM (#12578203)
No it doesn't.
Re:Software Development at 1 Hz by szines on Monday September 26, 2016 @12:48AM (#12579294)
Moving from Grunt to Broccoli helped a lot. 30 sec went down to a few hundreds of milisec. Broccoli is just insane.
Re:Software Development at 1 Hz by christophilus on Sunday September 25, 2016 @06:59PM (#12577911)
Interesting. I may have to give that setup another shot. I found TypeScript compilation to be really slow. Was recently amazed by Bucklescript's lightning-fast compile times and killer repl, but its integration with the JavaScript ecosystem was nowhere near as smooth.