News for hackers. Stuff that matters.
Re:Pulsar: A Community Effort to Revive the Atom Text Editor by _hao on Saturday December 10, 2022 @10:32AM (#33933434)
How about we actually create more performant native tools? I'm sick of the trend where we have this beastly hardware and things are actually getting slower and slower with each generation.
Re:Pulsar: A Community Effort to Revive the Atom Text Editor by thatxliner on Saturday December 10, 2022 @10:45AM (#33933559)
In my opinion, Electron wasn’t designed to be like this. It was originally created for Atom, to be customizable. The choice of using and bundling Chromium is for ease of customizability.

Web technology for desktop apps will be prominent because we are lazy. A lot of people know JavaScript/HTML/CSS or just web technology in general, so why not just use it rather than learning a new language like Swift or C++ (for some)?

Tauri looks promising. My personal thoughts is that it’s much easier to create apps via Tauri than Electron. At least, so far. The template used for using Svelte to create Tauri apps is much shorter than the one for Electron.

Re:Pulsar: A Community Effort to Revive the Atom Text Editor by nsonha on Sunday December 11, 2022 @04:04AM (#33941512)
react native is like that (has a css engine), but the name react is so tainted these days.
Re:Pulsar: A Community Effort to Revive the Atom Text Editor by smoldesu on Saturday December 10, 2022 @11:29AM (#33933924)
Maybe you should ask your OS author to do that instead of begging the community to make a product for you. This isn't even based around the concept of making the greatest text editor, just reviving an old one that people like.
Re:Pulsar: A Community Effort to Revive the Atom Text Editor by stephc_int13 on Saturday December 10, 2022 @11:29AM (#33933926)
This is a problem directly related to the quality/ease of use of frameworks.

In practice, all the facilities provided by Electron could be provided by a mix of standard libraries and system calls.

Electron solves a bunch of tedious problems in a nice cross-platform package. The performance cost is OK for most people, especially with high quality projects such as VSCode.

Unfortunately, I don't see any big player investing time and money in a nice cross-platform native framework that could offer the same capabilities as Electron.

Re:Pulsar: A Community Effort to Revive the Atom Text Editor by j16sdiz on Saturday December 10, 2022 @12:08PM (#33934303)
Qt was the de facto standard before electron
Re:Pulsar: A Community Effort to Revive the Atom Text Editor by stephc_int13 on Saturday December 10, 2022 @12:25PM (#33934479)
Yes, and it is half-decent.

Still bloated and complex IMHO.

Re:Pulsar: A Community Effort to Revive the Atom Text Editor by ogoffart on Sunday December 11, 2022 @04:02AM (#33941499)
> Unfortunately, I don't see any big player investing time and money in a nice cross-platform native framework that could offer the same capabilities as Electron.

I'm working on Slint: https://slint-ui.com

Re:Pulsar: A Community Effort to Revive the Atom Text Editor by satvikpendem on Saturday December 10, 2022 @12:00PM (#33934209)
Tauri, Flutter, and some Rust based GUI frameworks all come to mind.
Re:Pulsar: A Community Effort to Revive the Atom Text Editor by IshKebab on Saturday December 10, 2022 @02:19PM (#33935803)
Tauri doesn't solve any of the problems of Electron except download size, and it trades that off for a more annoying developer experience.
Re:Pulsar: A Community Effort to Revive the Atom Text Editor by satvikpendem on Saturday December 10, 2022 @04:18PM (#33936896)
It does solve them, albeit impartially. Downloaded bundle size, RAM usage, CPU usage all decrease, plus it uses your native webview so you're not downloading a browser every time.

However, it doesn't solve them fully, so yes I do still think natively compiled apps like those of Flutter or Rust based GUI frameworks like Iced are better.

Re:Pulsar: A Community Effort to Revive the Atom Text Editor by hokumguru on Saturday December 10, 2022 @11:07AM (#33933742)
Nova by Panic is in this vein of bringing back great native software but the community remains small
Re:Pulsar: A Community Effort to Revive the Atom Text Editor by stephc_int13 on Saturday December 10, 2022 @11:21AM (#33933859)
Because they cornered themselves into a niche by using an Apple-only stack.

Sublime Text is available on all three desktop OSes, built with C++/OpenGL for the performance intensive parts, and it works beautifully.

Re:Pulsar: A Community Effort to Revive the Atom Text Editor by CharlesW on Saturday December 10, 2022 @11:46AM (#33934081)
> Because they cornered themselves into a niche by using an Apple-only stack.

HN: We demand native IDEs.

Panic: Here's a native IDE that uses platform APIs for the most native look and feel possible.

HN: That's too native, idiots.

Re:Pulsar: A Community Effort to Revive the Atom Text Editor by packetlost on Saturday December 10, 2022 @11:55AM (#33934162)
"Cross-platform" is attached to those statements 90% of the time, including this time, but go on.
Re:Pulsar: A Community Effort to Revive the Atom Text Editor by nsonha on Sunday December 11, 2022 @04:01AM (#33941492)
who says you have to pick between native and cross-platform? The term "native" is confusing because some people use it to mean native performance (QT), and some people use it to mean native UI.
Re:Pulsar: A Community Effort to Revive the Atom Text Editor by smoldesu on Saturday December 10, 2022 @11:26AM (#33933902)
Yep. They also charge $100 for their full license (not even perpetual btw) which is down-right insulting. I wouldn't even download their demo on my Mac.
Re:Pulsar: A Community Effort to Revive the Atom Text Editor by rstupek on Saturday December 10, 2022 @11:45AM (#33934071)
How is it insulting of them to want to charge for their software?
Re:Pulsar: A Community Effort to Revive the Atom Text Editor by smoldesu on Saturday December 10, 2022 @12:17PM (#33934398)
My Macbook cost ~$1,000, I'm not going to pay 1/10th of that price for a text editor that works on a single machine. I'd even buy Sublime before giving Nova an honest shot.
Re:Pulsar: A Community Effort to Revive the Atom Text Editor by hejaodbsidndbd on Saturday December 10, 2022 @02:28PM (#33935892)
This is the worst take
Re:Pulsar: A Community Effort to Revive the Atom Text Editor by smoldesu on Saturday December 10, 2022 @03:19PM (#33936417)
Speak for yourself, I get to edit text and keep my $100.
Re:Pulsar: A Community Effort to Revive the Atom Text Editor by rstupek on Saturday December 10, 2022 @02:30PM (#33935906)
I guess I don't see the correlation. If your time isn't worth spending $100 for a text editor then you probably shouldn't
Re:Pulsar: A Community Effort to Revive the Atom Text Editor by yladiz on Saturday December 10, 2022 @11:59AM (#33934202)
What would be an appropriate price?
Re:Pulsar: A Community Effort to Revive the Atom Text Editor by stephc_int13 on Saturday December 10, 2022 @12:39PM (#33934635)
I don't care too much about the price.

I'm happy to pay a premium for great software that I use almost all the time.

I would not subscribe to anything recurrent though.

Re:Pulsar: A Community Effort to Revive the Atom Text Editor by yladiz on Saturday December 10, 2022 @01:35PM (#33935314)
I get it, especially for a desktop software. I think Sublime’s new model is a good balance, in that you get updates for 3(?) years from license purchase, and after you can still use it as it was when the license ran out, but need to pay for the updates from then on. It does nag you but you can disable the update check and the only visible thing is in the corner saying you should buy a new license.

I think a subscription model can work if done right. It’s unreasonable to expect work on software to be free (and great if it is, like with so many open source programs and libraries), but it also isn’t okay to require payment in perpetuity just to use the program. With these in mind I think models like Sublime’s or Sketch’s are the right balance.

Re:Pulsar: A Community Effort to Revive the Atom Text Editor by smoldesu on Saturday December 10, 2022 @01:42PM (#33935394)
Sublime's "new model" is the same one the DAW industry has used to scalp career musicians for years. You know what that inspired? Piracy. Lots and lots of piracy. Just look at Avid's premium offerings - oppressively expensive recurring licenses that force any hobbyist musician to pirate the software. Or look at IDA Pro, same principle applies there.

Obviously it's my fault for expecting anyone to build Mac software for free, but there are already great (free!) native text editors on Mac. If you're paying $100 for a cocoa UI version of software that already exists, frankly you're a fool.

Re:Pulsar: A Community Effort to Revive the Atom Text Editor by yladiz on Saturday December 10, 2022 @02:04PM (#33935650)
I don’t quite get it. Are you seriously saying that people who pay for software that has a free alternative are fools?
Re:Pulsar: A Community Effort to Revive the Atom Text Editor by smoldesu on Saturday December 10, 2022 @03:01PM (#33936241)
In the case of text editors, yes.
Re:Pulsar: A Community Effort to Revive the Atom Text Editor by smoldesu on Saturday December 10, 2022 @12:18PM (#33934409)
Free? It's a text editor, not World of Warcraft.
Re:Pulsar: A Community Effort to Revive the Atom Text Editor by shrimp_emoji on Saturday December 10, 2022 @12:23PM (#33934455)
Does it have ads between opening new document tabs, like mobile text editors? :D
Re:Pulsar: A Community Effort to Revive the Atom Text Editor by smoldesu on Saturday December 10, 2022 @01:38PM (#33935351)
Do they? You must be using some pretty terrible mobile text editors...