Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
tkoolen
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
3 ms
·
1.
▲
by
tkoolen
3y ago
> but Newtonian mechanics AFAIK says nothing to forbid this In the Wikipedia article on Newton's laws of motion, the first law is stated as "A body remains at rest, or in motion at a constant speed in a straight line, unless ac
2.
▲
by
tkoolen
6y ago
Non-const globals could be an issue, but it's possible it doesn't matter too much for this particular benchmark. I'm a little worried about taking compilation time (apart from precompilation) into account (would that also be
3.
▲
by
tkoolen
6y ago
[note: see more nuanced comment below] The Julia benchmark two links deep at https://github.com/h2oai/db-benchmark doesn't follow even the most basic performance tips listed at https://docs.julialang.or
4.
▲
by
tkoolen
6y ago
1) a mistake in the benchmark procedure explained in https://discourse.julialang.org/t/grassmann-jl-a-b-3x-faster... , and 2) the dynamically-sized result vector containing 10000 statically-sized 5-vectors still needs t
5.
▲
by
tkoolen
7y ago
The paying member is the first author.
6.
▲
by
tkoolen
7y ago
Yep. (You know this, but) just as another data point, an incremental pass takes more like 75 microseconds, and a 'lightly' allocating program probably won't trigger a full sweep (no guarantees though).
7.
▲
by
tkoolen
8y ago
I actually can't think of a single language that doesn't allow you to multiply an integer and a floating point value, yielding a floating point result.
8.
▲
by
tkoolen
8y ago
The fact that these transitions were so painful doesn't mean that all breaking changes have to be so painful. With Meyers' 'magic wand', the transition is eased quite a bit. But another important component of a smooth tr
9.
▲
by
tkoolen
8y ago
Exactly. The thing that hasn't been figured out yet is how to combine the energy efficiency and aesthetics of passive walking with the versatility needed to have the robot do useful work, especially in a principled way.
10.
▲
by
tkoolen
8y ago
Here's a quick comparison to C++. Julia relies heavily on type inference, similar to all variables to be marked auto or auto& by default in C++. Functions are templated on the argument types by default, in C++ terms. So if you call
11.
▲
by
tkoolen
9y ago
Is it though? I think it's not the actually-just-a-coincidence type of 'irony' from her song, but rather actual 'verbal irony', https://en.wikipedia.org/wiki/Irony#Verbal_irony .