News for hackers. Stuff that matters.
Re:Oni: An IDE powered by Neovim by sdfin on Monday August 21, 2017 @08:25PM (#15068849)
I was wishing this was faster than atom and vscode. I'd find it attractive if somebody with a good coding reputation proposed in Kickstarter or a similar site to build something like vscode or atom, but written in Rust or C++.
Re:Oni: An IDE powered by Neovim by Hyperbolic on Monday August 21, 2017 @08:52PM (#15068934)
Re:Oni: An IDE powered by Neovim by beefsack on Monday August 21, 2017 @09:10PM (#15068997)
There's some cool things to note about Xi which make me more excited about it:

  * It's being written by Raph Levien, known for his work on Inconsolata, Ghostscript, and font-rs[1] among other things.
  * The design goals include incredibly high performance, beauty, reliability and developer friendliness[2].
  * It's very fast at handling large files, though the editor is still missing a lot of functionality.
Raph was also interviewed on the New Rustacean podcast[3] and talks a fair bit about Xi.

  [1]: https://github.com/google/font-rs
  [2]: https://github.com/google/xi-editor#a-modern-editor-with-a-backend-written-in-rust
  [3]: http://www.newrustacean.com/show_notes/interview/_2/part_1/index.html
Re:Oni: An IDE powered by Neovim by mikerathbun on Tuesday August 22, 2017 @12:51AM (#15069811)
I don’t see how this would be better than just Neovim with a few plugins. I switched from Vim to Neovim and love it. Highly configurable and rock solid for everything I have asked it to do. Although I miss things like a live Markdown editor with preview like what you see in VS Code, but that is a small price to pay for ultimate control over your editor.
Re:Oni: An IDE powered by Neovim by nallerooth on Tuesday August 22, 2017 @04:58AM (#15070715)
I use this plugin for previewing markdown https://github.com/suan/vim-instant-markdown
Re:Oni: An IDE powered by Neovim by adrianN on Tuesday August 22, 2017 @12:15AM (#15069646)
Rather, it has been started. Xi currently is a very cool technology demo, but not a viable editor.
Re:Oni: An IDE powered by Neovim by raphlinus on Tuesday August 22, 2017 @09:33AM (#15072194)
I've just recently switched over to it for my day to day work. Admittedly there are rough edges, but I think it's fair to call it viable for sufficiently small values of viable. I expect to do a major push later in the year to polish it to the point of being really viable.
Re:Oni: An IDE powered by Neovim by mamcx on Monday August 21, 2017 @09:13PM (#15069011)
Even better: A rendered of graphic UIs.

The point about using electron is that you can use the browser to render the UI, and is filled with a lot of baggage. Imagine a UI rendered just for build UIs, not tied to JS or DOM or CSS, but able to work react-like.

Re:Oni: An IDE powered by Neovim by Illniyar on Monday August 21, 2017 @11:25PM (#15069472)
You mean like react-native?
Re:Oni: An IDE powered by Neovim by IamCarbonMan on Monday August 21, 2017 @11:56PM (#15069576)
That's still JS. React Native doesn't get rid of JS, it just exposes native platform APIs to JS.
Re:Oni: An IDE powered by Neovim by novembermike on Tuesday August 22, 2017 @01:48AM (#15070037)
JS isn't the problem though. V8 is pretty efficient and lightweight. The problem is that Electron pulls in all of the DOM stuff when there are lighter alternatives built into most operating systems.
Re:Oni: An IDE powered by Neovim by mamcx on Tuesday August 22, 2017 @07:13PM (#15077155)
> V8 is pretty efficient and lightweight

How much lightweight? Similar to Lua?

Re:Oni: An IDE powered by Neovim by mamcx on Tuesday August 22, 2017 @11:56AM (#15073622)
Yeah, but not with the full weight of node, js or (html)DOM.

For the UI something like TCL or Lua or just some DSL is better.

Re:Oni: An IDE powered by Neovim by konart on Tuesday August 22, 2017 @02:13AM (#15070146)
Sublime Text. Not Rust or C, but still much faster than Atom\Code. (Though I have to say Code team did a great job, it's nearly as fast as Sublime now. While Atom is still useless garbage)
Re:Oni: An IDE powered by Neovim by LeoNatan25 on Tuesday August 22, 2017 @02:17AM (#15070165)
Code is nearly as fast? Try opening a 10 mb file with syntax highlighting.
Re:Oni: An IDE powered by Neovim by nindalf on Tuesday August 22, 2017 @03:43AM (#15070427)
I'm curious, is this something you do in real life is it a synthetic benchmark? Either I open code files that are a few kB (needs syntax highlighting) or I open logs (which don't). Maybe your workflow is different from the rest of us but I can attest that for my needs, VS Code is rock solid.
Re:Oni: An IDE powered by Neovim by LeoNatan25 on Tuesday August 22, 2017 @01:36PM (#15074651)
I do. I have log files that I want to syntax highlight. In notepad++, this is a breeze.
Re:Oni: An IDE powered by Neovim by mrath on Thursday August 24, 2017 @07:14AM (#15089136)
notepad++ is not that great handling big files > 100MB, given that it is written in c++ and yes unfortunately sometimes you have such large log files.
Re:Oni: An IDE powered by Neovim by chriskrycho on Wednesday August 23, 2017 @02:07PM (#15083709)
Not sure if you've tried this recently, but I have. Code will open e.g. my 6.3MB (unminified, unzipped) vendor.js file for an app I work on, with full syntax highlighting, instantly. And scrolling is buttery smooth in it. :)
Re:Oni: An IDE powered by Neovim by konart on Tuesday August 22, 2017 @04:21AM (#15070557)
This was one of my problems with Atom. Code works just fine even with bigger files.
Re:Oni: An IDE powered by Neovim by sam_goody on Tuesday August 22, 2017 @11:07AM (#15073117)
Text Adept [0]

Blazing fast and responsive even with 20MB+ files (in my experience), is extensible, and is cross platform.

Admittedly, not a IDE, and in C instead of C++. Extensions in Lua.

Not sure why it doesn't get more love.

[0] https://foicica.com/textadept/

Re:Oni: An IDE powered by Neovim by flukus on Monday August 21, 2017 @11:29PM (#15069492)
What features do you want? There is Gnome Builder, KDevelop (also on windows), QtCreator, Visual Studio 2008, even vim itself. These are just some of the options.
Re:Oni: An IDE powered by Neovim by jackmott on Monday August 21, 2017 @09:43PM (#15069136)
Sublime Text
Re:Oni: An IDE powered by Neovim by systems on Monday August 21, 2017 @08:42PM (#15068907)
well electron is 67% C++