Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
DNF2
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
18 ms
·
151.
▲
by
DNF2
6y ago
This whole thread seems to be quite civilized. I can see no name-calling or off-topic rants, only a frank exchange of opinions, mixed in with some facts. Your post seem to indicate that there is some sort of 'fight' going on, or t
152.
▲
by
DNF2
6y ago
This doesn't really seem like a legitimate complaint. You want some particular pet behaviour, and claim it is impossible to achieve. When someone points out that it is in fact possible, you are unhappy that someone else did not anticip
153.
▲
by
DNF2
6y ago
Python also allows Greek letters. There are no Greek letters forced upon you, they aren't even used in Base, and barely if at all, in the stdlibs. It is a feature for you to use, if you want. (And they dramatically improve code readabi
154.
▲
by
DNF2
6y ago
Yes, it was completely online. The comparison doesn't make sense. Also, next time it's IRL the numbers would seem to indicate a huge setback, so I wouldn't use those :D
155.
▲
by
DNF2
6y ago
But I don't know C, and it's easier for me to be able to write fast code in a language I actually know. Having to switch to a language you don't know is not a good situation, it doesn't help that a lot of other peopl
156.
▲
by
DNF2
6y ago
When you accuse a lot of people of "nasty arrogance", I think it's a good idea to read your own posts and try to weed out examples of the same. You use some pretty harsh and condescending terms as you dismiss a topic quite a
157.
▲
by
DNF2
6y ago
I think you are confusing hype and buzz. Those are different things.
158.
▲
by
DNF2
6y ago
Most well-written libraries do not depend on the specific type of indexing in an array. There's a strong convention for writing index-agnostic code, with eachindex(), enumerate(), firstindex(), lastindex(), begin, end, etc. I try to wr
159.
▲
by
DNF2
6y ago
You can think of it as similar to operator overloading. It's not quite the same, but it's a subtle distinction, or rather, the explanation of the difference is subtle. You can find examples where operator overloading and multipl
160.
▲
by
DNF2
6y ago
Well, almost. Dispatch can happen at compile time, and in fact does for type-stable code. But the dispatch is on run-time types, not static types. (The fact that you can have static dispatch on dynamic types is a pretty subtle point tha
161.
▲
by
DNF2
6y ago
I have also seen Matlab code match Julia for simple loops. If you write your code properly vectorized and with loops that use only calls to 'built-in' operators and C-functions, then it can match C/Julia. But that's just
162.
▲
by
DNF2
6y ago
Where are you getting this from? None of those features have a performance cost, if used according to some simple guidelines. In fact, multiple dispatch is essential to get good performance, abstract types have a cost if explicitly used ins
163.
▲
by
DNF2
6y ago
The purpose of in-place operations is to avoid allocations, so this seems like an oversight. Is this a matter of simply wrapping the 'right' LAPACK routines, or is there something missing in the interfaces that could be trivially
164.
▲
by
DNF2
6y ago
I agree, the performance is a very nice bonus, but it is primarily about expressiveness, composability and natural simplicity. It just seems profoundly un-natural and arbitrary to limit dispatch to only the first argument.
165.
▲
by
DNF2
6y ago
Have you looked thoroughly over https://docs.julialang.org/en/v1/stdlib/LinearAlgebra/ ? There's a ton of in-place operations there, including in-place solving of linear systems, and at least some s
166.
▲
by
DNF2
6y ago
As far as I know, multiple dispatch is optional i clisp. It also exists in R, but again, is optional (and slow), and is therefore mostly unused, which limits its usefulness, making it less used, etc. etc. In Julia, it is default, so everyth
167.
▲
by
DNF2
6y ago
I'm sorry, but as a regular Matlab user, I have to say that, no, Matlab does not have an "excellent jit compiler." It has a jit compiler which is really limited, and works for straight-line code with built-in functions. For p
168.
▲
by
DNF2
6y ago
One performance feature I find really nice in Julia, is that you can write your own function (cost function, function to integrate, whatever) that you can pass into a solver/integrator/etc. Then it will be inlined and compiled int
169.
▲
by
DNF2
6y ago
Perhaps I misunderstand what a 'work array' is, but you can easily pre-allocate arrays, and then work on them in-place, including with LinearAlgebra functions like `mul!` et. al.
170.
▲
by
DNF2
6y ago
I don't understand google trends. Julia's progress doesn't look like much there, but even python has had pretty modest progress there, which doesn't make sense.
171.
▲
by
DNF2
6y ago
You mean the type system and multiple dispatch? I guess those are fairly minor points, yes.
172.
▲
by
DNF2
6y ago
I beg your pardon. What parts of Julia are not supported by its jit compiler?
173.
▲
by
DNF2
6y ago
If language X solves 9 of my 10 problems, and language Y solves the last one of my problems, I can either, A: use language X and call out to language Y to solve all my 10 problems. Or, B: use just language Y to solve 1 of my 10 problems. Yo
174.
▲
by
DNF2
6y ago
The second answer in that thread, however, are links directly docs, repository and a blogpost describing the debugger. I would say the question was very well answered. Your post gives the impression that the question was dismissed, maybe ev
175.
▲
by
DNF2
6y ago
General (and specific) discussions about the Julia language can be had at https://discourse.julialang.org/latest (the main Julialang forum), and on Reddit https://www.reddit.com/r/Julia/
176.
▲
by
DNF2
6y ago
"Stop reinventing the wheel people." That's really bad advice. Re-inventing the wheel is a good idea, and should definitely happen from time to time. If you can use new technology and ditch old preceptions, you may actually b
177.
▲
by
DNF2
6y ago
I doubt this has anything to do with 'feeling a need to identify' or anything like that. Many people who code aren't programmers, they have learnt a language to solve problems they have. They know just one language and do not
178.
▲
by
DNF2
6y ago
Well, how high is the bar for calling a language 'production ready' in that case? How many production ready languages are there?
179.
▲
by
DNF2
6y ago
If one isn't willing to spend some time on learning a language, one simply shouldn't write a scathing blogpost about it.
180.
▲
by
DNF2
6y ago
As far as I'm aware, Julia interop with C/C++ is particularly excellent. So, maybe the poster can clarify?
More ›