Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
lhecker
searching Neon…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
5 ms
·
1.
▲
by
lhecker
4mo ago
...huh, true. It's weird what kind of mistakes one can do sometimes. This one was almost comically on the nose.
2.
▲
by
lhecker
4mo ago
Yup! echo is a CMD builtin and doesn't exist as a dedicated executable.
3.
▲
by
lhecker
4mo ago
I apologize for asking, but did you also understood the "Shell conflicts" section as being the complete list of utilities? The project ships the majority of core utilities (~75%).
4.
▲
by
lhecker
4mo ago
Any command not listed under the "Shell conflicts" section is included. In my testing `ln` works great.
5.
▲
by
lhecker
4mo ago
It should work on Windows 10. If you're using PowerShell, you do need to have v7.4 or later installed, however.
6.
▲
by
lhecker
4mo ago
We actually open-sourced DOS sort and published a port of the DOS find command. The suite then dispatches to the GNU/DOS variant based on heuristics. The installer allows you to pick what variant to use by default if the invocation is
7.
▲
by
lhecker
4mo ago
> I would have liked to see head, tail, tr, uniq, and cut. The project includes all of those. Or were you talking about the past?
8.
▲
by
lhecker
4mo ago
As hex4def6 said, the idea was that DOS command conflicts are not a good idea, while overriding PowerShell builtins in interactive sessions (PSReadLine) is acceptable, if not a good idea. We open-sourced DOS sort and published a port of the
9.
▲
by
lhecker
4mo ago
The intent was simply to give people coming from macOS and Linux more of the CLI tools they're familiar with. In other words, agents weren't the focus at all. But if it ends up helping them, that's a good added benefit of cou
10.
▲
Microsoft Edit 2.0.0 – A compiler for syntax highlighting
(github.com)
6 points
by
lhecker
5mo ago
|
1 comments
11.
▲
by
lhecker
1y ago
The plan is indeed to make it extensible if time and popularity permits it. LSP would be an extension itself, however, instead of being built into the editor. We want to retain a lean core editor so people can ship it everywhere (e.g. even
12.
▲
by
lhecker
1y ago
It's indeed Maple Mono. I love that font!
13.
▲
by
lhecker
1y ago
That's a fair workaround for my specific example. But I believe it's possible to contrive a different example where such a solution would not be possible. Put differently, I only tried to convey the overall idea of what I think is
14.
▲
by
lhecker
1y ago
Back then (a year ago?) I simply included the Windows.h header into a Zig file. Is that not possible anymore? It worked great back then for me IIRC! Overall, I liked the build system. What I found annoying is that I had to manually search f
15.
▲
by
lhecker
1y ago
Abstracting away the `assume_init` is a great idea! I think I could use something like that for the editor. The only concern I have is that the `read` function is templated on the parameter type. I'd ideally _really_ prefer it if I did
16.
▲
by
lhecker
1y ago
What I meant is that if I write a UTF8 --> UTF16 conversion function for my editor in C I can write size_t convert(state_t* state, const void* inp, void* out) This function now works with both initialized and uninitialized data in
17.
▲
by
lhecker
1y ago
I don't know why, but I'm quite certain it's neither of the two. If anything, it has probably to do with commitment: When a company as large as MS adopts a new language internally, it's like spinning up an entire startup
18.
▲
by
lhecker
1y ago
I intended for this editor to be cross-platform and didn't want to take on a large runtime dependency that small Docker images or similar may not be willing to bundle.
19.
▲
by
lhecker
1y ago
I did use Copilot a lot, just not its edit/agent modes. I found that they perform quite poorly on this type of project. What I use primarily is its autocompletion - it genuinely cured my RSI - and sometimes the chat to ask a couple que
20.
▲
by
lhecker
1y ago
What I imagined is that people could load runtimes like node.js as a plugin itself in order to then load plugins written in non-native languages (JavaScript, Lua, etc.; node.js being an extreme example). I wonder if WASM could also be one s
21.
▲
by
lhecker
1y ago
Indeed, we have our own bootstrapped Rust toolchain internally. I think this has to do with (legal) certifications, but I'm not entirely sure about that.
22.
▲
by
lhecker
1y ago
I'm not familiar with that, so I can't say. If you have any links on that topic, I'd appreciate it. Generally speaking, the requirement on my end is that whatever we use is as minimal as it gets: Minimal binary size overhead
23.
▲
by
lhecker
1y ago
Pretty much exclusively binary size. Even with AOT C# is still too large. Otherwise, I wouldn't have minded using it. I believe SIMD is a requirement for writing a performant editor, but outside of that, it really doesn't need to
24.
▲
by
lhecker
1y ago
Up until around 2 months ago the project actually built with stable Rust. But as I had to get the project ready for release it became a recurring annoyance to write shims for things I needed (e.g. `maybe_uninit_fill` to conveniently fill th
25.
▲
by
lhecker
1y ago
> What do you like about Zig more than Rust? It's been quite a while now, but: - Great allocator support - Comptime is better than macros - Better interop with C - In the context of the editor, raw byte slices work way better than v
26.
▲
by
lhecker
1y ago
Hey all! I made this! I really hope you like it and if you don't, please open an issue: https://github.com/microsoft/edit To respond to some of the questions or those parts I personally find interesting: The custo
27.
▲
by
lhecker
3y ago
Yeah, you're right, they're related to WinUI. But what I meant is that such features aren't inherently expensive, they're just made expensive due to the choice of UI framework. Display scaling is very fast in GDI apps an
28.
▲
by
lhecker
3y ago
Unfortunately, none of these are responsible for the startup delay. Since version 1.18 effectively ~90% of the startup duration is spent starting up WinUI and having it draw the tab bar and window frame. It still needs a second to start. If
29.
▲
by
lhecker
3y ago
> They're equivalent except that asynchronous callbacks is what actually happens [...] Neither stackful nor stackless coroutines work like this practice. The former suspends coroutines by saving and restoring the CPU state (and stac
30.
▲
by
lhecker
4y ago
I'm not sure editing the article would be the proper thing to do at this point. Someone else suggested to edit in 1-2 weeks for possible future readers. I can add back the sentence where I accredit Alacritty for the general, underlying
More ›