Live data from Hacker News

I can't stand using VSCode so I wrote my own

bold-edit.com

101–110 of 186 posts

Re: I can't stand using VSCode so I wrote my own

#101
post #8

To be fair, it's not hard to outperform something written in Electron with native code with a factor of ten :) Anyway, this is really impressive, so good job!

One of the benefits of Electron is being able to build the same app for multiple operating systems. When writing GUI app using native OS calls, how does one make sure the code is compatible with all three major operating systems?

I'm the author. I had experience with SDL and wrote a test to confirm it still performs well (I never tried it on linux). It did, SDL has been ported to just about every OS. I have some OS specific code for windows but not much. The only OS specific things were executing a binary + stdio + closing it and slight differences in socket code (mostly used for DAP). C++ now has filesystem support so I didn't need any OS specific code for that

Re: I can't stand using VSCode so I wrote my own

#102
post #84

The only thing that annoys me about VS code is that Microsoft decided to call it visual studio, which means if I search for help for a problem with actual visual studio I end up with vscode suggestions. Id like to know why ms thought this was a good idea.

Microsoft has been flopping with their naming recently... Case in point, Copilot. GitHub Copilot, Microsoft Copilot, Office 365 Copilot... all different products for different uses. Still can't figure out why they didn't follow through with Cortana being the OS copilot name and retired it. It was such a perfect fit. My only guess is that they are worried about anthropomorphizing the AI.

Re: I can't stand using VSCode so I wrote my own

#103
post #53
post #48

Earlier quoted context omitted.

Everybody who worked writing code in the 70s-90s is smirking at “wait over a second”. Back in the day, I used to go get my coffee, shoot the shit in the break room for a few minute, and come back to find my debug runs just starting.

Turbo Pascal was so fast in the 80s that if I saw a syntax error further down the page it was faster to hit "compile" and let the compiler move the cursor to the error than it was for me to move the cursor myself. It was a very special compiler and they don't make them like that anymore.

And V 3.01 was under 40 KB (not a typo), and included a basic WordStar editor clone for program editing!

Re: I can't stand using VSCode so I wrote my own

#104

Really cool work. By the way does it support variable DPI? Maybe it's just a limitation of how my sandbox is set up, but font size and everything else seemed a bit small.

Right now I have only the icon and font size as hardcoded. I plan on implementing a config file so users can set their own font, size and etc. I have no idea when I'll release another build. I'll be spending the next week catching up on sleep

Re: I can't stand using VSCode so I wrote my own

#105

Earlier quoted context omitted.

In my experience, that one-second wait to run a binary that you just built is due to realtime scanning by Windows Security. It's not very bright. It sees a new .exe file and assumes you downloaded it from the Pirate Bay, even though it was written by link.exe. You can disable it as long as Group Policy doesn't dictate otherwise.

Not having an exclusion for a development directory is like using a 10yo machine or using a laptop without the power brick connected: it’s basically leaving half the perf on the table. Still, a second seems a bit much for a real-time scan.

Clearly you do not work for corporate America. Any amount of performance loss is acceptable to check a security compliance checkbox somewhere.

Re: I can't stand using VSCode so I wrote my own

#106

When I had a 2 GB laptop lying around, I always wanted a simple text editor with auto-completion etc. (Though only for Python, Linux) After trying KDevelop, Kate, Eric, Sypder etc. I thought I could write my own. I had a simple plugin system in mind, with similar to LSP style features (VSCode was not released that time). The UI was inspired by Blender. Blender has such a fluent UI where you can customize everything.…

During the vi / emacs wars, the joke was that emacs stood for "eight megabytes and constantly swapping". How times have changed.

Or, Eventually Munches All Computer Memory.

There were probably other expansions too.

Re: I can't stand using VSCode so I wrote my own

#110

When I had a 2 GB laptop lying around, I always wanted a simple text editor with auto-completion etc. (Though only for Python, Linux) After trying KDevelop, Kate, Eric, Sypder etc. I thought I could write my own. I had a simple plugin system in mind, with similar to LSP style features (VSCode was not released that time). The UI was inspired by Blender. Blender has such a fluent UI where you can customize everything.…

I've liked Emacs, but the left-handedness of the key-chords tore me up all the way to the shoulder after any substantial amount of use.

Spacemacs was my answer.

https://www.spacemacs.org/

Post reply on HN