Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
nimmer
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
20 ms
·
181.
▲
by
nimmer
10y ago
You can learn a lot about compilers and C while learning Nim - https://nim-lang.org
182.
▲
by
nimmer
10y ago
> you depend on Nim, a C compiler, and a linker It's a small number of build dependencies. > I hope your C compiler supports cross compiling out of the box. It does.
183.
▲
by
nimmer
10y ago
"middle-of-the-road" sounds a bit unfair. Nim compile and execution times are closer to C/C++ than most languages, maybe in the 10 percentile. Its expressiveness is, arguably, close to Python. It compiles to C, Objective-C, j
184.
▲
by
nimmer
10y ago
Languages and other projects backed by large companies are known for growing fast. Java, Visual Basic, C#, Go, Rust... Community-driven projects, generally speaking, tend to have slower growths, e.g. Python, Linux.
185.
▲
by
nimmer
10y ago
Nim is very good for small-to-medium sized services, but competing with Go is difficult for a grass-root language. Yet, Nim has a tiny memory and storage footprint and runs on microcontrollers thanks to GCC, which makes it ideal for IoT stu
186.
▲
by
nimmer
10y ago
Sounds like Nim is what you are looking for: http://nim-lang.org/ It's fast, has a Python-like syntas, a good degree of memory safety and optional GC.
187.
▲
by
nimmer
10y ago
Nim could be ideal for applications like NTP that require speed, portability and low memory footprint. I wonder if the ease of development already outweighs the efforts required to keep up with the language growth pains and writing wrappers
188.
▲
by
nimmer
10y ago
Nim compiles to C by default and the generated code is pretty efficient - comparable to regular C.
189.
▲
by
nimmer
10y ago
Nim is not backed by a large company and does not have a marketing campaign promoting it. It shouldn't surprise that the community is small. Please join and contribute and the language will grow.
190.
▲
by
nimmer
10y ago
Nim compile times are faster and often the execution time is faster, too. Also it's very expressive, almost like Python.
191.
▲
by
nimmer
10y ago
Nim is very underrated. It's among the fastest, has a python-like syntax and can compile to C, JavaScript and other languages.
192.
▲
by
nimmer
10y ago
You keep repeating that without describing how in comparison to other languages.
193.
▲
by
nimmer
10y ago
Although the standard lib is still improving, Nim is doing it right.
194.
▲
by
nimmer
10y ago
+1 for Nim - being able to write both server and client side in the same (excellent) language is very nice.
195.
▲
by
nimmer
10y ago
...and it compiles to C to leverage its speed and portability and it can use system libraries very easily.
196.
▲
by
nimmer
10y ago
...and it can be embedded into Python or embed Python.
197.
▲
by
nimmer
10y ago
Same here. We've been wrong about the idea of trade-off all this time.
198.
▲
by
nimmer
10y ago
Not to mention that Chernobyl and Fukushima are far from the worst case scenario. An active power plant or a nuclear waste storage facility being destroyed (e.g. as an act of war) and dispersing a large amount of fuel/waste in the envi
199.
▲
by
nimmer
10y ago
And it can generate system libraries. An embeddable "Tor as a library" could be useful for large client applications (e.g. browsers)
200.
▲
by
nimmer
10y ago
Yes. Nim can be used for system libraries, server and client side applications and runs on small microcontrollers.
201.
▲
by
nimmer
10y ago
Nim, because you can also use it as a real programming language for many other uses.
202.
▲
by
nimmer
10y ago
Can you provide an example on how a formatting standard would help showing where a block terminates?
203.
▲
by
nimmer
10y ago
Nim http://nim-lang.org/
204.
▲
by
nimmer
10y ago
See "perfect solution fallacy"
205.
▲
by
nimmer
10y ago
More like 25%, have you tried focusing in a noisy environment all day long?
206.
▲
by
nimmer
10y ago
I find readability times speed times expressiveness to be more important than any single feature.
207.
▲
by
nimmer
10y ago
Nim's ability to bootstrap on any architecture that is supported by GCC (or potentially other compilers) is a huge plus.
208.
▲
by
nimmer
10y ago
Implementing HTTP routing and HTML templating is easy enough in Nim, but Jester is handy: https://github.com/dom96/jester/
209.
▲
by
nimmer
10y ago
+1
210.
▲
by
nimmer
10y ago
Nim
More ›