Hacker News new | ask | show | jobs
by stewartlynch8 1268 days ago
Please don't judge the website too harshly. I agree it doesn't communicate what 10x is very well and isn't very professional. I'm currently working on an update that I'll be uploading in the next day or two. I wasn't quite ready for a big announce yet, but I'm pleased more people are discovering 10x.

> If there was an editor/ide that had many of the features of CLion and the speed of VIM, I would certainly consider that to be "10x".

This is exactly what 10x is meant to be. Whether it has enough features yet is up to you to judge. Everyone needs a different set of features, but if it has the features you need then I hope it lives up to its name.

I've written the parser myself, but I haven't been keeping track of exactly what version of C++ is supported. The C++ spec is incredibly complex. Over the last 6 years I've been adding things as they are requested. The good thing about the parser is that it will skip anything it doesn't understand and continue on. This sounds bad, but it actually works out very well. It will do a pretty good job of most things you throw at it. The best thing is to try it and see. If you need specific support for something, let me know and I'll see what I can do.

3 comments

How does your custom parser implementation compares to something like Treesitter (which AFAIK is designed around the same goals of incremental parsing)?

Is the extra flexibility of having everything be custom worth it?

I've not used Treesitter so I couldn't say.

The incremental parsing is definitely worth it. Not having to wait for a full parse of the entire file on each edit is a game changer.

Oh, I was more asking about the (potential) advantage of not using Treesitter.

I’ve used the incremental parsing from Treesitter in Neovim (though not on any absolutely massive codebases) and found it to be great (when it worked). But I suspect this is immaturity in the ecosystem (one of the Neovim implementation, the parser definition or Treesitter itself).

As I say, I haven't used Treesitter so I can't say, but in my experience most options do not perform well on huge codebases (> 5 million loc)
I would consider not writing the parser yourself. it's a daunting task and you're not going to be able to keep up with all the intricacies while still maintaining the editor.
Hello Stewart, I think the only addition I would want to the website is an about page with a few paragraphs to explain your motivation and goals. Without that entry point, I was clicking through, feeling like 10x was something I might be interested in but not really sure what it was.