Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
tastyminerals2
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
26 ms
·
61.
▲
by
tastyminerals2
6y ago
I always wonder why ppl do not use MacPorts? There was a great article on HN which basically drew a pretty clear picture how brew can easily mess your system up. Yet, being a new Mac user, wherever I go, I only see a reference to brew insta
62.
▲
by
tastyminerals2
6y ago
Don’t forget that Lua Torch backend is C while Pytorch is C++ mostly.
63.
▲
by
tastyminerals2
6y ago
I happily replaced my go to scripting habits of using Python with D. Fast, fast, fast — all I can say about its compile times and data crunching capabilities.
64.
▲
by
tastyminerals2
6y ago
Out of context yes. I should have said that with respect to which language pick up next and which language has a bigger future potential. Rust is so omnivore and hits on so many critical aspects that it is hard to deny it. Given it had rich
65.
▲
by
tastyminerals2
6y ago
Looks good! Thanks for the tip.
66.
▲
by
tastyminerals2
6y ago
And that's why there are far fewer pilots in this world than stewards.
67.
▲
by
tastyminerals2
6y ago
Implicits are not encouraged in our code base and for a good reason. This was just an example. It's not about filter at all but the general method chaining. Here is example from D if I must: real[] fun(int[] arr) { return
68.
▲
by
tastyminerals2
6y ago
"I just don't use libraries that do that" -- sounds like you found a solution :) I agree that "+" looks better than ".plus" but this is a matter of taste (hello Ada). Yes, I use Scala at work but I can
69.
▲
by
tastyminerals2
6y ago
There is no straighforward elegant way of doing "obj.scalaMethod.myCustomMethod.scalaMethod.myCustomMethod" in Scala. I want to create a method and just inject it into the chain, no fiddling or ducktaping or using some black Scala
70.
▲
by
tastyminerals2
6y ago
Many if not most Scala data/ML libraries are one-person projects which are either abandoned or have compatibility issues. It's a barren land and loses to any similar Python library in terms of functionality. It's good that Ja
71.
▲
by
tastyminerals2
6y ago
If it was so simple as just using explicit types :) And this sort of flexibility is exactly why Scala is hard to read. Perl is another example of a great language that allows you a lot of flexibility. In fact, the ability to use just any s
72.
▲
by
tastyminerals2
6y ago
Scala is weird. Sometimes it feels fluid and effortless but sometimes it simply cannot do things you would expect it to. For example, chaining custom methods. Why is it possible to do "arr.map(_.nonEmpty).filter(a => a % 2)" bu
73.
▲
by
tastyminerals2
6y ago
This is not an excuse for an editor being claimed "fast". Textadept is written in C and is also very fast but has the exact same issue -- choking on huge files when Vim and others are able to handle it.
74.
▲
by
tastyminerals2
6y ago
This is the first time I see such a comparison :) D is a systems programming language with an optional GC and in the league with C/C++/Rust. I would add Nim and Zig here as well.
75.
▲
by
tastyminerals2
6y ago
A common misconception, probably because the majority of D users are C++ veterans. But D was never designed as a successor to C++. "One of the earliest design decisions that Walter made about D was that it would be easy to use with sof
76.
▲
by
tastyminerals2
6y ago
True. But maybe during development it could.
77.
▲
by
tastyminerals2
6y ago
I wonder how these rankings would have changed for C++ and Rust if they included compile times :)
78.
▲
by
tastyminerals2
6y ago
Lua memory consumption is surprisingly very high.
79.
▲
by
tastyminerals2
6y ago
D had an unfortunate early history. For a long time being a one man project, surviving through Python2 to Python3 akin transition and slowly maturing during all these years. Many top D features were added along the way but were not availabl
80.
▲
by
tastyminerals2
6y ago
Yeah, but how else would you judge about the language before spending months on learning it? Critique can be dumb like 1-based index for arrays or nitpicking on syntax. However, I tried Julia several years ago and start-up times was the rea
81.
▲
by
tastyminerals2
6y ago
I agree. However, I wish more people valued solid foundations over tooling because no tooling is worth building on "good-enough" basis. If that ever was true we would have never had the situation when we desperately seek for alter
82.
▲
by
tastyminerals2
6y ago
Ok, I think I got the picture now. You should find Julia interesting! If you prefer dynamic languages and interested or do scientific programming. If you need your code to run LLVM fast. If you have a lot of RAM and can live with &q
83.
▲
by
tastyminerals2
6y ago
Well, it's been 4 years so maybe it's better now: https://www.zverovich.net/2016/05/13/giving-up-on-julia.html Well, running "Hello, World" still takes 0.3 ms :D
84.
▲
by
tastyminerals2
6y ago
It is but it speaks a lot about the quality of language design, language defaults and the algorithms in standard library.
85.
▲
by
tastyminerals2
6y ago
Interfacing with C++ is a lot of work and there is no language in existence that can do that effortlessly. Nim and D are the ones that come close. Julia's interoperability with C/C++ is quite poor according to feedback from more e
86.
▲
by
tastyminerals2
6y ago
Consider me a curious client who trains and deploys production models on a weekly basis and considers Julia. Well even if I could rewrite our model in Julia how would I go with prod deployment and who would help me if I get stuck? For Tenso
87.
▲
by
tastyminerals2
6y ago
Never use big arrays in benchmarks otherwise depending on your CPU cache you will be testing allocation as well. If you need the code I tested Julia on here you go: https://github.com/tastyminerals/mir_benchmarks/b
88.
▲
by
tastyminerals2
6y ago
True, the D numeric ecosystem cannot be compared to Julia's and I would pick Julia if I was a scientist of course. Notice, I was talking about performance though.
89.
▲
by
tastyminerals2
6y ago
Come on. It's not like Julia has a PyTorch / TF equivalent (Flux.jl doesn't even come close, sorry). Until then, you can't seriously say that Julia's ecosystem is rich. Once we start seeing DL/ML papers coming
90.
▲
by
tastyminerals2
6y ago
But this is also true for any other statically typed language. Java/Scala/Kotlin/Go/Rust you name it. Pure Java has a good chance of outperforming a mix of Python and NumPy. So what's Julia's selling point? Bei
More ›