Best hardware for Deno development?

I am looking for a new laptop / desktop for Deno development as my current setup seems no longer viable (to my big surprise). I have ThinkPad X1 with Intel Core i7 CPU @ 2.40GHz, 8GB RAM, fast SSD drive and Windows 10 Pro. I am using VS Code for development, and even if I just run one instance of VS Code and Chrome alongside it (e.g. to develop Fresh apps), I am hitting memory and CPU limits and the developer experience is terrible, as the LSP responses lag significantly. I have the system pretty optimized and do not have any bloatware installed that could negatively affect the available resources, yet the development of Deno apps is not great. With every change in code, the CPU consumption skyrockets and the whole VS Code feels laggy for a couple of seconds. My system is pretty old, but still the specs are not that bad, considering that I am just building lightweight apps. I've also used the same system for Android, .NET and Node.js development in the past without issues. I do not have a preference regarding OS, I have worked with Win/Mac/Linux in the past. What I want is a machine that will allow me to have snappy auto-complete in VS Code and will not force me to constantly keep an eye on memory and CPU consumption. What would you recommend? Budget is of no concern, I really just want the best tool. Thank you!
Sounds like a software / configuration problem. Your hw setup seems completely fine and your problems probably not solvable by throwing more hardware at it. I code with similar-ish X1 laptop and it's fine. I did change from Win10 to Linux Mint though, and got much better experience performance-wise and with overall DX, although I would think your problems stem from something else. Like, do you have some big cache directory, node_modules folder or something else in the workspace that the LSP keeps analyzing? Some user recently had problems with VSCode + LSP, and it turned out to be some build script that was regularly creating and updating hundreds of files that were throwing off the LSP. Not trying to push linux, just sharing my experience: On Windows it was that if any process (usually chrome or, to a lesser extent, firefox) started doing something CPU heavy that completely saturates ONE of the 4 cores, on Windows the whole system becomes unresponsive (same with any software going on full blast). Linux tends to stay usable and snappy unless ALL of the cores are doing intensive work. Other bonuses: Deno seems to have Windows specific bugs every now and then, seems like most of the core devs are not using Windows so less of the issues get caught early. Also it's nice to develop on the same OS as the servers that the apps eventually are going to run on.
Thank you for sharing your experience. I was thinking about switching to Linux on my current hardware, I will give it a shot. I tried to investigate why there are the lags, but to no avail. My workspace is pretty straightforward, the project is not too big, there is no node_modules, I am using only deno dependencies (no npm). I do have some complex TypeScript stuff going on, but at the same time we're talking only about few thousand lines of code. I would expect that my machine would handle that. @raunioroo Why did you choose Linux Mint? Did you consider any other distros?
I had little bit of prior experience with Debian & Ubuntu (a long time ago), so wanted something based on those, but last time I tried Ubuntu (also a long time ago) I didn't like many of the decisions they had made or the directions they took. Seemed like Mint takes what is good in Ubuntu and fixes all the things I hated about Ubuntu, has served me well for a year or so now. Flatpak fixes a lot of issues I had with Linux in general, so I rarely have to dual boot anymore, mostly thanks to flatpak having recent versions of many apps I like to use (although I try to stay with system packages whenever possible). I didn't try many distros though, after a couple of years of using windows only, tried Mint, loved it and haven't really felt the need to try anything else
Got curious, here's stats from my main VSCode workspace. 250K+ non-comment, non-blank lines of JS (not a single line of TS haha)
No description
BTW We should give more attention to Windows. Many windows users have been facing issues when installing Deno on Windows

Looking for more? Join the community!

Recommended Posts
How do I make the crypto.subtle.digest algo flexible?This is a learning moment, bear with me. 😅 I can hard code an algo for the digest like this: ```twhat’s the current best practice for bundling?Is it deno esbuild? Wondering what supports npm specifiers and bundling atmHow do I get a d.ts file to be used?I'm extending a type from `hono` by adding that code in a `hono.d.ts` file in my `src` folder. ```“Log streaming API” on Deno DeployWhat does “Log streaming API” refers to in the analytics section of the pricing page of Deno Deploy?Read-only FS detectionHi, I have few deps that by default create cache/log dirs... I can disable it, but the detection itsIs there a built-in parser for the string that Deno.inspect produces?I found out in another thread that Deno.inspect(myObj) produces a visually gorgeous string representHow to get the nice Deno console.log format into a string?When I do a console.log on an instantiated class object, I get a beautiful format in the terminal, tbyonm - force use of DenoWhen I use byonm enabled in my deno.json, and say I have a vite project triggered from a package.jsoCan I disable deno linting for individual files, or a path?I'm using VSCode and the Deno extension. I want to use the inbuilt functionality of VSCode for type Rust run JS/TSHow can I embed this project into a rust application so that rust can run js ts and has runtime api Set-Cookie - Header shows as "deleted"I am trying to use deno to script/scrape a website. I can successfully log in to the site (using fetI keep running into python download failed while trying to run 'cargo test' commandI am currently following the steps I. Deno's Contributing Guide and I am running cargo test but I kehow I can create an restful api with deno and firebase as database?how I can create an restful api with deno and firebase as database?How can I replace writeAllSync with the Streams API?How would one best refactor the following code to use the Web Streams API as suggested by the deprecIs possible to run nodejs (typescript) project with esm modules?I'm trying to run small nodejs project with esm modules. Simple example ```ts // foo.ts import { bAny tutorial links to help me understand the Schedule string in Deno.cron()I am currently working on an issue on the deno repo and I am trying to reconstruct the deno scheduleDeno Deploy failed:Uncaught Exception /Permission Denied : Deno.exit() is not allowedI have a college assignments that needs to be deployed using deno deploy but i get this message whenConnect to a WebSocket through a HTTP(S)/SOCKS5 proxyTitle - I am trying to connect to a `wss://` websocket through a proxy of choice at runtime. Is ther