Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
Sukera
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
8 ms
·
31.
▲
by
Sukera
4y ago
Interesting comparison! The criticism of julia is certainly valid, especially in terms of documentation. However, I wouldn't say that core language documentation should necessarily be geared towards any specific field. In the implement
32.
▲
by
Sukera
4y ago
The source code is linked at the very top, under the heading "Computation Speed": https://modelsandrisk.org/appendix/speed_2022
33.
▲
by
Sukera
4y ago
Yes, the size in memory is definitely an issue. Do keep in mind that right now, the julia executable more or less just has to load all of LLVM as a shared object into memory, since we might compile stuff at any time. That alone adds ~84M of
34.
▲
by
Sukera
4y ago
> There are so many problems with trying to adopt it for real projects it isn't even funny... Good for researchers sometimes, but even then... It's got issues. Can you expand on that, so that it's possible to improve on th
35.
▲
by
Sukera
4y ago
Aside from me disagreeing with this article here in that I don't think "all of julia is incorrect" is a valid take from Yuri's original article, I'm not sure how you arrive at "if branches don't do what I
36.
▲
by
Sukera
4y ago
[0] is already fixed on master but can't be backported to LTS due to the fix introducing other problems specific to LTS. [2] is closed. [3] should be fixed, but doesn't seem trivial to do. [4] is a regular ol' bug (again, not
37.
▲
by
Sukera
4y ago
True in principle, but that is neither related to multiple dispatch nor a common feature in other languages. Dependent typing is very much active research in PL academia. The @inbounds kerfuffle was all about incorrectly using a tool that&#
38.
▲
by
Sukera
4y ago
The point is not limited to Int though. Say you have this struct: struct MyStruct a::Int64 b::Float64 end Since the size of each field is known (8 bytes), the size of the whole struct, and thus the size of each
39.
▲
by
Sukera
4y ago
I may be missing some context, but what correctness bugs exactly are you referring to that are caused by multiple dispatch?
40.
▲
by
Sukera
4y ago
Took a while, but email is sent - thanks again, and I hope shipping will work itself out!
41.
▲
by
Sukera
4y ago
I'm not as familiar with how C++ does allocations compared to julia, but I'd imagine the limitations would be similar - if `new` can allocate memory on the stack, I can't imagine why it wouldn't work out of the box. C++
42.
▲
by
Sukera
4y ago
That'd be awesome, sure! I'll shoot you an email. PlatformIO is nice, yes - I've already been suggested linking/using that, but I haven't looked into it yet. I also haven't worked with that before, so it'd
43.
▲
by
Sukera
4y ago
I didn't know about FreeRTOS, interesting! I don't think CBinding.jl is an option, since the whole point of the arduino is that the julia runtime can't run there (and doesn't fit in the first place - there's not eno
44.
▲
by
Sukera
4y ago
Haha, thank you! Yeah, this was mostly an experiment to see what kinds of problems I run into - I didn't expect this to actually work out! It's still very finicky, relying on LLVM to remove dead runtime calls and so on, but non-al
45.
▲
by
Sukera
4y ago
To expand on the "interfaces are not enough" part: Defining an interface on an abstract type only gives you that a implementation exists, not that it is correct , i.e. that the specific implementation for a subtype guarantees t
46.
▲
by
Sukera
4y ago
Do you have an example? I'd like to know more about this - it must have been quite egregious if it makes you stop learning a language.
47.
▲
by
Sukera
4y ago
Most of these seem to be about packages in the ecosystem (which, after clicking through all links, actually almost all got fixed in a very timely manner, sometimes already in a newer version of the packages than the author was using), not a
48.
▲
by
Sukera
4y ago
I don't think that matters here - the FFI interface hasn't changed and I wouldn't expect it to differ significantly.
49.
▲
by
Sukera
4y ago
Disclaimer: I'm not even a physicist. As I understand it, the trouble is with "what happens to the information inside the black hole?", not with whether it's there at all or not (which isn't disputed - we see stuff
50.
▲
by
Sukera
4y ago
The article addresses that: > This problem is far too small to saturate the GPU, even with such a large batch size. Time is dominated by moving batches from the CPU to the GPU. Unfortunately, as the batch sizes get larger, we need more e
51.
▲
by
Sukera
4y ago
I think this is a great opportunity - actually being able to show real-world (though small) nets in an educational context is great. This means students can try & tweak the net without requiring access to a big cluster or tons of beefy
52.
▲
by
Sukera
5y ago
Not necessarily, no - the "perfectly efficient" algorithms often have prohibitively high constants in front of the theoretically perfect big-O, making them only useful/faster for numbers with so many digits that you can'
53.
▲
by
Sukera
5y ago
I've been using this over the past few months and so far, the only thing that really bothers me is that there's no UTF-8/Unicode category selectors support in their self-rolled regex engine, citing not wanting to ship a unico
54.
▲
by
Sukera
5y ago
I think they're saying the planes in particular are the tangent vector space in 3 dimensions. They're no longer the tangent vector space in 2,4,5.. dimensions, but they're still a thing there as well.
55.
▲
by
Sukera
5y ago
Another alternative is to use the Base.Checked.* family of functions, though they have different names than (+) like checked_add and thus have to be explicitly used.
56.
▲
by
Sukera
5y ago
Ah, that link doeesn't seem to be in the paper (at least my searching for `github` didn't turn up anything), thank you! I did however find the same code as part of the visualization, so I got what I was looking for.
57.
▲
by
Sukera
5y ago
If you're thinking about how in e.g. python, integer addition never overflows and is always a big integer, then yes. If "small"/machine integers and big integers are seperated each have a distinct type, promotion on over
58.
▲
by
Sukera
5y ago
Hi, thank you! The paper mentions that the dynamic analysis code is written in julia and could be used by package developers to study instabilities in their code, but I couldn't find a link to the code in the references. Did I just mis
59.
▲
by
Sukera
5y ago
Which part of that long list of things specifically rules out possession of nmap, a tool used by sysadmins all over the world to help ensure that their own systems are more secure, by ensuring that only specific ports are open for communica
60.
▲
by
Sukera
5y ago
> The main pain point is probably the lack of standard, multi-environment packaging solutions for natively compiled code. Are you talking about something like BinaryBuilder.jl[1], which provides native binaries as julia-callable wrappers
More ›