r/programming • • Dec 05 '15

Microsoft Edge’s JavaScript engine to go open-source

https://blogs.windows.com/msedgedev/2015/12/05/open-source-chakra-core/
1.6k Upvotes

504 comments sorted by

View all comments

Show parent comments

41

u/Vaughnatri Dec 06 '15

Curious. I spend much of my time nose deep in visual studio. It seems like an awesomely efficient ide. What is it about working in terminals that is superior?

108

u/[deleted] Dec 06 '15

The upvotes

17

u/BowserKoopa Dec 06 '15

All the tools being separate and designed independent of each other means dead-easy scripting and Interpol with other tools.

8

u/peterwilli Dec 06 '15

For me it's more than just dev environment. I spend even my childhood in Linux (from age 9). I dont know how to use windows anymore. If people need help with their computers (use windows) I dont know what to say until I see their desktop so I can figure out how it works :P

So I am so used to programming and working with linux and terminals that I can work faster on that than using Visual Studio or something.

Needless to say, I do run some sexy IDE's on the side like WebStorm and IntelliJ IDEA and Atom (all for different purposes)

4

u/daymi Dec 06 '15 edited Dec 06 '15

Think of UNIX and its commandline tools as one huge IDE. All the tools are available always, there's no difference between "in the IDE" and "in the filesystem". It's really jarring for me to use IDEs now, they are so... walled-garden, compartmenalized and brittle.

That said, as long as you do exactly what the IDE wants you to do they are fine (or even better at that task), I guess. It's the same as with any walled garden.

TL;DR: It's more flexible.

8

u/GeorgeForemanGrillz Dec 06 '15

not using windows not needing 2 gigs of RAM productivity

11

u/Vaughnatri Dec 06 '15

Yea I get that. I'm more curious about efficiency/productivity. Can I get more or cooler shit done by using terminals?

8

u/jringstad Dec 06 '15

I've used both, and I wouldn't really say there is that much of a difference in productivity. They are two very different styles of working, but either can make you as productive. Both have its "weak points" that slow you down, although they are very different.

In the end though, the bottleneck to actual productivity when programming is not really the environment, once you are "settled in".

2

u/GeorgeForemanGrillz Dec 06 '15

tmux + vim over ssh is great for remote pair programming. You can have your vim tabs in one panel, your build/tests in another panel and you dont even need to use a mouse.

4

u/Vaughnatri Dec 06 '15

I'll have to lookup remote pair programming in the morning. What about code navigation and refactoring? Are there solid tools like reshaper to automate a lot of the menial tasks?

I find a mouse a helpful tool for development/debugging of the ui/ux.

1

u/GeorgeForemanGrillz Dec 06 '15

Refactoring on vim is so easy with multiple cursors, vimgrep, argdo, bufdo, etc....

5

u/donalmacc Dec 06 '15

I've got 32gb ram on my workstation and still semi-regularly run out of ram while compiling. 2GB doesn't work for everyone.

8

u/Close Dec 06 '15

Is 2 gigs of RAM really a big deal these days? 16gb for a desktop seems reasonably standard, so we are potentially saying it takes up 1/8th of the memory.

1

u/__s Dec 06 '15

I develop on a Linux machine with 256MB of ram. My laptop with Windows has 4GB; I still prefer the Linux machine, it's been tuned to my desires over the past 6 years. That said a lot of development happens on laptops, not desktops. Not all workplaces understand that developers should have high end machines

-1

u/northrupthebandgeek Dec 06 '15

16gb for a desktop seems reasonably standard

Maybe if you're made of money. There are plenty of desktops with 8GB or less of RAM. Not to mention that there are lots of programmers on laptops out there (which tend to have lower amounts of RAM on average).

4

u/wllmsaccnt Dec 06 '15

My work laptop has 32gb of ram, an ssd, and an I7. I can keep open 5 or 6 instances of VS without causing an issue, even while debugging. That's an extreme end, but having 8gb of ram on a laptop is not unusual at all anymore for windows VS development.

1

u/dvdkon Dec 07 '15

For Windows VS development

I have a cheap notebook with 2 GB of ram and a gaming desktop with 8 GB. Together they cost me less (or slightly more) than a notebook with 8 GB of RAM and a decent CPU and are fine for everything I use them for. The only thing associated with development I tried and couldn't do on the notebook was compiling Android.

4

u/Throwaway_Kiwi Dec 06 '15

Are you coding on a low-end cellphone or something?

6

u/GeorgeForemanGrillz Dec 06 '15

Latest Macbook Pro with 16gb RAM. When did 2 gigs for an IDE ever become an okay thing?

4

u/eternalprogress Dec 06 '15

When the project you're working on produces 1MB+ binaries.

IDEs provide huge amounts of convenience. Central to their ability to do so is keeping a large number of data structures in memory that speak to various attributes of the source code at various stages of compilation.

Take a look at the debug symbols for a large binary. They can reach into hundreds of megabytes. Now account for some duplication and indexing of those symbols to support wicked-quick IDE menus and you start to see how an IDE can have such a large in-memory footprint.

It doesn't explain all the bloat, some of it is simply because of schedule pressure and when 'good enough is good enough' held true, but it certainly puts you in the right ballpark!

1

u/Throwaway_Kiwi Dec 07 '15

I code on a 16GB Macbook Pro, using IDEA. No issues. Where else should an IDE store what it knows about my codebase, which it is storing to help me?

1

u/GeorgeForemanGrillz Dec 07 '15

Code::Blocks doesn't eat up that much either.

1

u/Throwaway_Kiwi Dec 07 '15

It doesn't do that much compared to IDEA, either.

1

u/jcotton42 Dec 07 '15

VS idles at ~480MB for me, and I have lots of extensions, including ReSharper

1

u/spacejack2114 Dec 06 '15

Having a package manager and various outher tools outside of my IDE. Finding out that nuget only works in a terminal inside of the IDE was a big WTF moment for me. VS Code is a step in the right direction, I can hardly wait to switch.

→ More replies (1)