Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
davidkunz
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
29 ms
·
331.
▲
by
davidkunz
5y ago
German here. First of all, "Sieg" doesn't have a negative connotation, it just means "victory", nobody in Germany automatically associates it with with "Sieg Heil". Second of all, "Zig" doesn
332.
▲
by
davidkunz
5y ago
I think one reason is that there's no big corporation behind it, for Rust it was Mozilla and now the members of the Rust Foundation, for Go it is Google. But I totally agree, Nim is an awesome language and definitely deserves more atte
333.
▲
by
davidkunz
5y ago
I think Rust is popular because the end product is nice: It's usually fast and safe. However, I'm not sure if it's reasonable to pick Rust for programs which contain a lot of 'business logic' compromised of complica
334.
▲
by
davidkunz
5y ago
By coincidence, there is a new Nim blog post demonstrating exactly that. With the same ant example. https://nim-lang.org/blog/2021/05/01/this-month-with-nim.htm...
335.
▲
by
davidkunz
6y ago
... or even more easily by: const wait = require('util').promisify(setTimeout)
336.
▲
by
davidkunz
6y ago
The documentation is great but the learning curve is steep. I'd propose Nim instead.
337.
▲
by
davidkunz
6y ago
There are also languages like Nim which have a method call syntax, that means: myMethod(myObj, myParams) == myObj.myMethod(myParams)
338.
▲
Learning Nim: Macros and Pattern Matching [video]
(youtube.com)
4 points
by
davidkunz
6y ago
|
1 comments
339.
▲
by
davidkunz
6y ago
This is part 2 of an ongoing series of my efforts to learn the programming language Nim. I give you a quick overview on how to create a simple macro using pattern matching as well as pragmas and reflection functions. The final code can be f
340.
▲
by
davidkunz
6y ago
Thanks for clarification withoutboats2! It's really confusing as Nim's move semantics "feel" very similar to Rust's (except that Nim is more relaxed regarding "use after move" - it simply performs a copy).
341.
▲
by
davidkunz
6y ago
I'm not an expert in Nim, so it would be great if others could jump in. But to my understanding, Nim's ORC "garbage collector" (I'd rather call it memory strategy) is very similar to Rust's approach, it's
342.
▲
by
davidkunz
6y ago
I don't think we should dismiss these comments so eagerly. Take a look at Nim - it's fast, efficient and elegant without the huge syntax overhead of Rust.
343.
▲
by
davidkunz
6y ago
Hi, I use Neovim with basically the same features as VSCode. I made a video series on how to configure it: https://youtu.be/CcgO_CV3iDo?list=PLu-ydI-PCl0OEG0ZEqLRRuCrM...
344.
▲
Learning Rust: Procedural Macros
(youtube.com)
1 points
by
davidkunz
6y ago
|
0 comments
345.
▲
Nvim-Dap [video]
(youtube.com)
1 points
by
davidkunz
6y ago
|
0 comments
346.
▲
Vim as IDE: Config Part 3 (Vimspector) [video]
(youtube.com)
1 points
by
davidkunz
6y ago
|
0 comments
347.
▲
by
davidkunz
6y ago
Thanks butz! I've watched this video, it contains a lot of nice features. But I still prefer some plugins, e.g. FZZ over vim's find.
348.
▲
Vim as IDE: Config Part 2 [video]
(youtube.com)
2 points
by
davidkunz
6y ago
|
0 comments
349.
▲
Vim as IDE: Config Part 1 [video]
(youtube.com)
3 points
by
davidkunz
6y ago
|
2 comments
350.
▲
Why I Switched to Neovim
(blogs.sap.com)
2 points
by
davidkunz
6y ago
|
0 comments
351.
▲
by
davidkunz
6y ago
Hi, This is a short demonstration on how to use Vim as an IDE for Node.js development.