Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
planetis
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
19 ms
·
151.
▲
NimConf 2021 Is Live
(youtube.com)
19 points
by
planetis
5y ago
|
0 comments
152.
▲
by
planetis
5y ago
> Maybe the issues above aren't issues any more and I should take another look? Yes and no. With destructors we are finally able to use multihreading without resorting to raw pointers. However its very wip. I am making a lib if you
153.
▲
Western EU states seek to force Greece to take refugees back
(youtube.com)
1 points
by
planetis
5y ago
|
0 comments
154.
▲
Using Clang LibFuzzer coverage-guided fuzzing engine with Nim
(github.com)
72 points
by
planetis
5y ago
|
5 comments
155.
▲
by
planetis
5y ago
Imo if it uses any uses European, western in general sub-components, like bayraktar drones do, they should be sanctioned, as they most likely were licensed only for civilian use.
156.
▲
by
planetis
5y ago
Thanks for correcting me, however I consider it an example of double standards. The manhunt for whistleblower Snowden, is according to you justified. The man who revealed the mass surveillance the US is engaged in. Which by itself is beyond
157.
▲
by
planetis
5y ago
> 1) I am not supporting also this one, especially as it was a sad case of vassalisation Don't get me wrong I agree. > 2) Refusing to allow use of airspace is different from hijacking plane and abducting people. If someone is usi
158.
▲
by
planetis
5y ago
> we made things uglier That's unfounded, please try it at least once in the playground play.nim-lang.org/. To me it's very cool that wrapped C libs with identifiers like ATOMIC_RELEASE can be written as AtomicRelease with
159.
▲
by
planetis
5y ago
already done: https://github.com/Yardanico/cosmonim
160.
▲
by
planetis
5y ago
This might do it https://nim-lang.github.io/Nim/filters.html
161.
▲
by
planetis
5y ago
If you disable all runtime checks, like integer overflows, range checks, etc..., stack traces and debug information (-d:danger) it's readable yes.
162.
▲
by
planetis
5y ago
That's an obscure/not optimal way to write this code though. I mean why would you use LIST comprehension if you are going to yield each element.
163.
▲
by
planetis
5y ago
nimgrep solves this, you might not like it, but people who have actually tried it are fond of it.
164.
▲
by
planetis
5y ago
Also httpbeast and GuildenStern https://github.com/dom96/httpbeast https://github.com/olliNiinivaara/GuildenStern
165.
▲
by
planetis
5y ago
I really don't understand what your requirements are. Again karax is well known and better alternative than all these (i.e loops and other control flow work as expected).
166.
▲
by
planetis
5y ago
Can Rust deal with linked lists as well? Nim has a cycle collector based on the trial deletion algorithm https://researcher.watson.ibm.com/researcher/files/us-bacon/... It's different than the usual GC a
167.
▲
by
planetis
5y ago
We have many https://nimble.directory/search?query=template Also karax can also work as on server side, no virtual dom in that scenario. People prefer it because of type checking over string templates.
168.
▲
by
planetis
5y ago
It was discussed recently: https://forum.nim-lang.org/t/7905 > to Swift which can cause memory leaks The Nim compiler can detect cycles and warn you. And --gc:orc collects them successfully at runtime. Orc is going
169.
▲
by
planetis
5y ago
--styleCheck:on to enforce the style every identifier is declared in your code base.
170.
▲
by
planetis
5y ago
I just love the new numeric literals syntax: proc `'i128`(n: string): Int128 = parseDecimalInt128(n) assert fib(184) == 127127879743834334146972278486287885163'i128 It's so sexy!
171.
▲
by
planetis
5y ago
> creating a language that is closely-related to Python, arguably one of the world's most popular languages, and allows / encourages porting large Python codebases, seems like a pretty worth goal. well they do state "copyi
172.
▲
by
planetis
5y ago
Yeah (rewrite) just the hotpaths like you would with Cython. Also there is https://github.com/Pebaz/Nimporter which makes it easier.
173.
▲
by
planetis
5y ago
Actually it is possible, Nim compiles to C and is a viable alternative to CPython. nimpy https://github.com/yglukhov/nimpy PyGotham talk: https://www.youtube.com/watch?v=IVgNVJdizHg another blog post:
174.
▲
How to make Nim more popular
(forum.nim-lang.org)
5 points
by
planetis
5y ago
|
0 comments
175.
▲
by
planetis
5y ago
As a Nim user, I keep being motivated because it keeps evolving (like getting a new async implementation based on CPS, incremental compilation, destructors based stdlib), its easy to start using but can accommodate a multitude of use cases
176.
▲
by
planetis
5y ago
That's just misinformation. The tutorials and manual existed long before Nim in Action was published and was the two pieces of information I learned Nim. I also looked at https://learnxinyminutes.com/docs/nim/
177.
▲
by
planetis
6y ago
I have used them in another language and in practise, itsnt really a useful feature. Say you implement a fixed point type or a matrix, more often than not you end up needing arithmetic ops between different "resolutions" or matrix
178.
▲
by
planetis
6y ago
https://news.ycombinator.com/item?id=26446082
179.
▲
by
planetis
6y ago
> You shouldn't think that Rust users are fanboys just because you see push back to low effort, low knowledge critiques. That's too much assuming, btw I read in this thread a comment from a well-known Nim dev working in multith
180.
▲
by
planetis
6y ago
eh, I don't partake in the usual "actually my language is better than your language" that comes up in all posts. I just don't like people going overboard with their claims, when they try to promote any PL really, and wou
More ›