Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
nimmer
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
17 ms
·
121.
▲
by
nimmer
7y ago
The comparison is very biased. Various claims are not true or provided without context.
122.
▲
by
nimmer
7y ago
And yet, after using Nim for many years hell_owl == hello_w_l has never been a problem. Again, it warned me in few occasions when I tried using confusing names like new_dir and newdir. There are style guides and nimpretty to help further.
123.
▲
by
nimmer
7y ago
One of the main benefits is in wrapper libraries for C. Another one is using libraries that have a naming style that I don't like. Searching for names is not a problem as people don't mix different styles within the same project.
124.
▲
by
nimmer
7y ago
Nim. I use it a lot and the case insensitivity has never been a problem and it's often useful.
125.
▲
by
nimmer
8y ago
I'm surprised nobody is pointing out the similarities with Nim in terms of features: multiple targets (binary, js...), C interoperability, easy cross-compilation, metaprogramming, targeting many architectures, artifact caching.
126.
▲
by
nimmer
8y ago
Only part of the stdlib depends on GC. Also the GC runs independently in each thread and can work with deadlines, making it harmless in most use-cases.
127.
▲
by
nimmer
8y ago
Most of it.
128.
▲
by
nimmer
8y ago
It's also fun to write and a good way to learn more about languages.
129.
▲
by
nimmer
8y ago
Convincing employees that hard work is a source of pride is the oldest trick in the book. See: https://mashable.com/2017/06/05/you-are-a-doer-gig-economy/
130.
▲
by
nimmer
8y ago
Regardless, I use Nim when I need the performance and memory footprint of C. GC is optional.
131.
▲
by
nimmer
8y ago
Nim is much better than "Go plus some FP niceties.". Faster compile and run speeds, clean Python-like syntax, lisp-like macros, no runtime required, can compile to JS.
132.
▲
by
nimmer
8y ago
I use it too. Yet, I think the HN crowd does not represent the whole world and is biased towards "hip" languages.
133.
▲
Nim 0.19.4 has been released
(nim-lang.org)
2 points
by
nimmer
8y ago
|
0 comments
134.
▲
by
nimmer
8y ago
Yes, as well as libraries, tools, applications that are not in the hands of one or few companies only. Plenty of technologies get hyped up by companies and later on bent out of shape or dropped.
135.
▲
by
nimmer
8y ago
Not really, Go is way more verbose than Python and Nim and the latter provides static typing.
136.
▲
by
nimmer
8y ago
Nim + Karax allow creating single-page applications without "magic": https://nim-lang.org/araq/karax.html Working example: https://forum.nim-lang.org/
137.
▲
by
nimmer
8y ago
Here's a comparison with Nim. In my experience Nim is one of the fastest both in terms of execution and compile time. https://github.com/timotheecour/D_vs_nim
138.
▲
by
nimmer
8y ago
Yes, and not being able to have two different variables in the same code named "cryptotoken" and "crypto_token" is a feature. It saved me few bugs already.
139.
▲
by
nimmer
8y ago
Most people use completion anyways and it prevents this problem. Also, you can lint the code.
140.
▲
by
nimmer
8y ago
I've been using Nim for years and never ran into a collision between different variables due to style insensitivity. Using name completion in my editor is enough to keep the naming consistent. Try the language for a month before decidi
141.
▲
by
nimmer
8y ago
The difference gets bigger on large binaries.
142.
▲
by
nimmer
8y ago
You still have zero guarantee that other people are getting the same code. Encouraging people to run code from some random URL on the Internet is always bad.
143.
▲
by
nimmer
8y ago
See reply from kungtotte
144.
▲
by
nimmer
8y ago
Memory pressure is a different thing. And, once again, GC is optional.
145.
▲
by
nimmer
8y ago
It does not.
146.
▲
Python vs. NumPy vs. Nim
(narimiran.github.io)
2 points
by
nimmer
8y ago
|
0 comments
147.
▲
by
nimmer
8y ago
You are not supposed to mix different styles within the same project.
148.
▲
by
nimmer
8y ago
> I can rewrite performance critical code in C/C++/Fortran/Ada/Rust, but that is a huge last resort Random benchmark with the latest release. I don't know how reliable it is but in my experience Nim can often be
149.
▲
by
nimmer
8y ago
Nim generates C and compiles it using GCC. It does not inject a runtime that runs its own threads or any other magic. All the usual static analysis tools, debuggers and even formal methods can be used on the generated C code.
150.
▲
Nim Community Survey 2018
(nim-lang.org)
3 points
by
nimmer
8y ago
|
0 comments
More ›