News for hackers. Stuff that matters.
Re:Apple unveils M1, its first system-on-a-chip for portable... by saagarjha on Tuesday November 10, 2020 @02:14PM (#25050192)
It's possible to do development on 8 GB, you just can't use Electron apps.
Re:Apple unveils M1, its first system-on-a-chip for portable... by whynotminot on Tuesday November 10, 2020 @02:18PM (#25050296)
To be fair, most of us doing dev on our machines probably have a Slack client or Mattermost app floating in the background.

...And we might even be doing dev in something like VS Code in the first place.

We all like to dunk on Electron, but it's kind of become part of the furniture at this point, for better our worse.

Re:Apple unveils M1, its first system-on-a-chip for portable... by thekyle on Tuesday November 10, 2020 @02:59PM (#25051003)
Maybe we could use the iPad version of Slack for better efficiency.
Re:Apple unveils M1, its first system-on-a-chip for portable... by whynotminot on Tuesday November 10, 2020 @03:07PM (#25051121)
This is really great point, and does highlight a key advantage of Apple Silicon going forward. This kind of thing will now be an option going forward on Apple's new computers, in a way it wasn't before.
Re:Apple unveils M1, its first system-on-a-chip for portable... by saagarjha on Tuesday November 10, 2020 @03:10PM (#25051179)
Yeah, until Slack throws a fit and decides that desktop users don't deserve to use it.
Re:Apple unveils M1, its first system-on-a-chip for portable... by saagarjha on Tuesday November 10, 2020 @02:24PM (#25050409)
You can avoid Electron if you try hard enough. I use Slack through a native client, for example; before that I was using browser tabs.
Re:Apple unveils M1, its first system-on-a-chip for portable... by mixmastamyk on Tuesday November 10, 2020 @02:49PM (#25050831)
Try hard enough, haha. I don't have a single Electron app, and yet have never purposely avoided them either.
Re:Apple unveils M1, its first system-on-a-chip for portable... by johncalvinyoung on Tuesday November 10, 2020 @02:58PM (#25050977)
Which native client? Slack for desktop is Electron.
Re:Apple unveils M1, its first system-on-a-chip for portable... by saagarjha on Tuesday November 10, 2020 @03:10PM (#25051181)
Re:Apple unveils M1, its first system-on-a-chip for portable... by whynotminot on Tuesday November 10, 2020 @02:40PM (#25050683)
I'm not stupid dude, I know there are ways to avoid it.

Sometimes they're not worth it. Electron's existence itself is proof of "sometimes it's not worth it."

Re:Apple unveils M1, its first system-on-a-chip for portable... by jmnicolas on Tuesday November 10, 2020 @02:37PM (#25050636)
I'm learning Flutter on my Windows 10 desktop. I have Android studio and the emulator open, and Firefox, Chromium and Brave opened.

Total 14G of ram. My combined browser ram use is about 3G. The flutter project is barely 20 lines of code. The PC was started up about 2h ago.

I'd feel much better with 32G on a dev machine (to be fair, my .net projects require much less ram than this).

Re:Apple unveils M1, its first system-on-a-chip for portable... by mixmastamyk on Tuesday November 10, 2020 @02:47PM (#25050801)
Three browsers open is not a requirement for the vast majority of folks.

There are probably a number of useless Windows services that could be shut down as well.

Re:Apple unveils M1, its first system-on-a-chip for portable... by onion2k on Tuesday November 10, 2020 @05:33PM (#25052978)
Three browsers open is not a requirement for the vast majority of folks.

Every developer who makes frontend things for the web should have a minimum of three browsers (Chrome, Firefox, Safari, but maybe others as well) open any time they're testing or debugging their code. That's quite a lot of developers.

Re:Apple unveils M1, its first system-on-a-chip for portable... by cupofjoakim on Wednesday November 11, 2020 @01:52AM (#25056105)
Nah, most of us go browser by browser I think. I think I've been going with two browsers open at most the last 5 years, and at my current employer I'm so reliant on browserstack that I don't even have anything other than chrome running.
Re:Apple unveils M1, its first system-on-a-chip for portable... by mixmastamyk on Tuesday November 10, 2020 @05:44PM (#25053089)
And 16GB is fine for that. That's not what is taking the majority of the grandparents ram.
Re:Apple unveils M1, its first system-on-a-chip for portable... by aldanor on Tuesday November 10, 2020 @02:59PM (#25050997)
I have 1500 tabs open in Firefox, plus CLion, PyCharm, a few Jupyter kernels eating 5-15G, a few apps running in background - it’s often nearing 32G on a 32G 7-year old Mac and sometimes goes into swap space. I personally won’t consider anything less than 128G as a main machine at this point (and it’s a pity that you can’t swap upgradable RAM on iMacs for 256G).
Re:Apple unveils M1, its first system-on-a-chip for portable... by JAlexoid on Tuesday November 10, 2020 @03:47PM (#25051688)
That's a little radical...

People used to tell me that Java development was resource consuming... But I somehow manage to build systems with 16GB. I didn't even go for 32G on my new laptop.

Re:Apple unveils M1, its first system-on-a-chip for portable... by whynotminot on Tuesday November 10, 2020 @03:01PM (#25051034)
...Can I ask why you have 1500 tabs open?
Re:Apple unveils M1, its first system-on-a-chip for portable... by aldanor on Tuesday November 10, 2020 @03:17PM (#25051287)
Stuff that’s easier to keep as open tabs (in a tree format via TreeStyleTab) and eventually close those trees when they are no longer needed, as opposed to bookmarking everything and eventually accumulating a bajillion of irrelevant bookmarks. E.g., I’m doing house renovation so I might have a good few hundred tabs open just on that topic which will eventually get closed.
Re:Apple unveils M1, its first system-on-a-chip for portable... by vel0city on Tuesday November 10, 2020 @04:40PM (#25052357)
On most browsers you can organize bookmarks in folders/tree structures. You could then delete folders/trees of bookmarks at a time, eliminating this "accumulating a bajillion of irrelevant bookmarks".
Re:Apple unveils M1, its first system-on-a-chip for portable... by aldanor on Tuesday November 10, 2020 @04:59PM (#25052581)
I know. Been there, done that. To each his own, I guess. An open tab is an open tab, if I close it, it's gone forever unless I bookmark it which I would very rarely do. A bookmark is an inverse, it's going to stay there forever unless you clean it up and manually delete it. In my experience, a few hundred more open tabs beats ten thousand dead bookmarks, and closing tabs is easier than cleaning up bookmarks.
Re:Apple unveils M1, its first system-on-a-chip for portable... by mixmastamyk on Tuesday November 10, 2020 @05:47PM (#25053123)
Tabs being "open" doesn't mean they're loaded into ram.
Re:Apple unveils M1, its first system-on-a-chip for portable... by JAlexoid on Tuesday November 10, 2020 @03:44PM (#25051662)
Atom, Chrome and Firefox on a 2017 8GB 13" MBP - no issues in using it for development.

I upgraded it only because my keyboard died.

Re:Apple unveils M1, its first system-on-a-chip for portable... by whynotminot on Tuesday November 10, 2020 @05:15PM (#25052771)
I guess I mean more that if you're going to buy a brand new dev machine in 2020, you shouldn't buy anything with less than 16GB of RAM.

You can still be productive right this moment on 8GB of RAM (you're proving it!), but the march of time will inevitably start to make that amount feel less and less tolerable, if it isn't already.

Personally, when I buy a dev machine, I'm generally trying to look at the next few years of ownership. Will 8GB of RAM cut it in 2023? Doubtful. 16GB? Yeah, a little safer. But 32GB would make me feel better.

Re:Apple unveils M1, its first system-on-a-chip for portable... by 00deadbeef on Tuesday November 10, 2020 @06:38PM (#25053612)
What kind of development? Firefox, Spotify, Slack, WhatsApp, any JetBrains IDE, an iOS Simulator, and an Android Simulator will have my 16GB MBP swapping like crazy.
Re:Apple unveils M1, its first system-on-a-chip for portable... by Existenceblinks on Wednesday November 11, 2020 @01:37AM (#25056055)
I run a few Electron apps daily within 4GB RAM, it's (fine - 1); =~ almost fine lol.