Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
planetis
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
22 ms
·
181.
▲
by
planetis
6y ago
Its just amusing, in this thread everyone with critical thinking and skeptical is down voted, even if one expresses himself moderately. It shows how much of zealots, Rust fanboys have become.
182.
▲
by
planetis
6y ago
...and it's explicitly mentioned in the manual, which makes me wonder, how someone quoting it (and thus pretends that has read it), missed that part. Most points are pure FUD imo, except the one talking about vertical space, and I beli
183.
▲
by
planetis
6y ago
> I ended up appreciating the guardrails it provides around safety that Nim doesn't... fwiw this is plain wrong, a garbage collected language in general is memory safe, just with a different scheme (a garbage collector) than rust&#
184.
▲
by
planetis
6y ago
...except that macros don't change the syntax of the language! They just offer convenience on top of it, most common example is the `=>` lambda operator from the `sugar` module. I do agree, that the pattern matching macro presented
185.
▲
by
planetis
6y ago
> Is Nim garbage collected? There is no simple answer to that. Yes, Nim v1 is a garbage collected language. It also shipped with custom destructors support https://nim-lang.github.io/Nim/destructors.html . Nim v2, wh
186.
▲
by
planetis
6y ago
out of curiosity, how you manage to get the first key, instead of the last? Because it seems to me, it would be less logic/ easier for a parser to always return the last.
187.
▲
An Introduction to ECS by Example
(github.com)
3 points
by
planetis
6y ago
|
0 comments
188.
▲
by
planetis
6y ago
That solves it then, you are Greek-American never went to a Greek school. Well Greek history books are available freely online/
189.
▲
by
planetis
6y ago
Maybe during history lessons you preferred a good beauty sleep instead of paying attention to the class :)
190.
▲
by
planetis
6y ago
You are the same people ousting Greek refugees during the Greco-Turkish War of 1919–1922 (considering them Turkish because they also spoke Turkish) (known locally as the Asia Minor disaster) https://en.wikipedia.org/wiki
191.
▲
by
planetis
6y ago
Mr, in democratic societies voicing your views is protected by the freedom of speech. However hate speech and extremist groups preaching it should be prosecuted, as criminal organizations. A Jewish philosopher has advocated for this stance
192.
▲
by
planetis
6y ago
If you can tolerate a police baton up your anus, hold a rally. :) (I'm referring to human rights reports from 2016, which stated that detainees after the failed coup were sodomized by the police)
193.
▲
by
planetis
6y ago
Balkans are a war torn region, I honestly don't share some of my compatriots, idiotic opinions about naming other countries. Although they haven't lived though let's say Sarajevo in the 90s, I hope we all realize, that war is
194.
▲
by
planetis
6y ago
And also someone should care about the Syrian refugees, these people are being used as a pawn to make demands and their rights are violated.
195.
▲
by
planetis
6y ago
After spending the last year reading about constant warmongering and provocations against my country, with military units on combat alert even on holidays, I only have to say democracy should be reinstated in Turkey and I hope the circumsta
196.
▲
by
planetis
6y ago
Fair point, although yourself gave me the wrong impression initially. karax doesn't support stateful components indeed.
197.
▲
by
planetis
6y ago
Which post, the one forgetting that string literals in JSON are quoted or the other one that paid no attention on the nesting of JSON objects :P
198.
▲
by
planetis
6y ago
(I can't see the link, its offline) the difference is though, there is no expensive heap scans. That is new (it's called "trial deletion", see the Bacon paper) and makes it "deterministic" due to that, independ
199.
▲
by
planetis
6y ago
Yeah, it values composition over inheritance (mentioned in the official tutorials) and discourages you from using methods and other OOP concepts. It's by far a procedural language. Functional style is also not preferred either, imho a
200.
▲
by
planetis
6y ago
Rust algorithm is only one way to do automatic memory management. And regarded as being very restrictive. The scheme Nim implements (ORC), which is innovative as well, is more permissive and unobtrusive. I hope in the next year it becomes t
201.
▲
by
planetis
6y ago
Ah debugging is very simple, just call `writeStacktrace()` (I assume you can guess what it does) It's great!
202.
▲
by
planetis
6y ago
Nim compiles to js with `nim js source`. I'm not familiar with wasm but it's also possible, know people who have done that.
203.
▲
by
planetis
6y ago
Previous discussion: https://news.ycombinator.com/item?id=25345770
204.
▲
by
planetis
6y ago
For me, it's a full stack language, write the frontent with karax https://github.com/pragmagic/karax or react bindings https://github.com/kristianmandrup/react-16.nim and backend in pure nim
205.
▲
by
planetis
6y ago
We have like 5 different `with` macros including one in stdlib.
206.
▲
An Introduction to ECS by Example
(github.com)
2 points
by
planetis
6y ago
|
0 comments
207.
▲
by
planetis
6y ago
I have switched to `--gc:arc`/`orc` for some time but I haven't noticed any difference in compilation speed.
208.
▲
by
planetis
6y ago
Reason for using Nim is its simplicity, anyone writing Python can switch to Nim, fast compile times and it's speed which is on par with C/C++
209.
▲
by
planetis
6y ago
All in all another unfounded, Rust evangelist "rust can fix your clogged toilet" article. Aren't you tired of these?
210.
▲
by
planetis
6y ago
Nim has plotting, dataframe, matrix libs and even a fully featured machine learning library, I don't see the reason why it can't be used, especially by scientists. https://github.com/Vindaar/ggplotnim https:
More ›