Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
jcdavis
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
15 ms
·
91.
▲
by
jcdavis
9y ago
Is worth mentioning that SubstrateVM ( https://github.com/graalvm/graal/tree/master/substratevm ) is now open source, which does whole-world AOT compilation to produce a single executable or shared library
92.
▲
by
jcdavis
9y ago
The example of bad allocations def first[A](left: A, right: A): A = left first(12, 42) // => 12 actually allocates nothing, because both numbers are in the Integer box cache range (-128 to 127 inclusive by default,
93.
▲
by
jcdavis
9y ago
> Neither Apple nor Microsoft use Java. From what I understand Apple uses java/scala fairly extensively for backend services.
94.
▲
by
jcdavis
9y ago
IIRC when I took 213 (Fall '07) a some folks somehow figured out bit of what the autograder branchmark was, and so added tricks like odd if statements to allocate extra memory for very specific sizes (which therefore, when freed and co
95.
▲
by
jcdavis
9y ago
Just a guess, but from what I understand they spend significant $$ on driver-side acquisition and retention, perhaps even moreso than customer side. In addition to the signing/referral bonuses, they have regular weekly bonuses for hitt
96.
▲
by
jcdavis
9y ago
Scala sort of has this with the @tailrec annotation. The compiler will always attempt TCO, but the annotation makes failure to do so a compilation error. (Its not a perfect situation though, since there can still be functions assumed to be
97.
▲
by
jcdavis
9y ago
The most widely used library for dynamic bytecode generation is asm: http://asm.ow2.org/
98.
▲
by
jcdavis
9y ago
Its fully complete. Because it was reversed engineered function by function, it was never really not feature complete, since it would still call out to existing code in the binary (thought there were some bugs). They've since added a t
99.
▲
by
jcdavis
9y ago
As yes, the classic "I can outsmart the compiler". I've been down the exact rabbithole, before, but with java. There are 2 different bytecodes for representing a switch statement: tableswitch, which is dense (has a case for e
100.
▲
by
jcdavis
9y ago
The main benefactor of AOT will be the JVM itself - part of the reason for its sluggish startup time is having to interpret and then JIT a bunch of core libraries.
101.
▲
by
jcdavis
9y ago
Revenue != Earnings. They would need a lot more than $22.5m in revenue to generate that much profit
102.
▲
by
jcdavis
9y ago
Immutable maps that have efficient update semantics
103.
▲
by
jcdavis
9y ago
The author presented a talk about this at the JVM Language Summit last year: https://www.youtube.com/watch?v=pUXeNAeyY34&list=PLX8CzqL3Ar... Github repo for those interested: https://github.com/usethesou
104.
▲
by
jcdavis
9y ago
> 16 years since a domestic carrier has had a major loss of life in the US. Only if you exclude regionals, which doesn't make sense.
105.
▲
by
jcdavis
10y ago
(Hey Ryan!) > operator-overloading enabling eDSL-creation As far as I'm concerned, this is a bug not a feature. At least sbt seems to stick to ascii characters ;)
106.
▲
by
jcdavis
10y ago
When facebook wrote thrift protobuf wasn't opensourced yet.
107.
▲
by
jcdavis
10y ago
Pretty sure he writes all of the linux internals posts. He also has a bunch of great ones on his blog http://timetobleed.com/
108.
▲
by
jcdavis
10y ago
The Substrate VM is still not open source, correct? Are there plans to do so in the near future?
109.
▲
by
jcdavis
10y ago
function return types are not required in scala, although every style guide I've seen requires them for any non-trivial function
110.
▲
by
jcdavis
10y ago
I'm always a little surprised about how naive HNers are about corporate sales (and BD). We can bikeshed all day how many engineers they "really" need, but for $400m in annual revenue (plus that growth) they probably need a 40
111.
▲
by
jcdavis
10y ago
Compact Strings is listed as a "miscellaneous" feature but that is the most exciting feature as far as I am concerned. IIRC based on looking at a variety of heap dumps they found that decreases the average size by like 10%.
112.
▲
by
jcdavis
10y ago
On my iphone 5 (yes I realize thats old), the mobile website straight up doesn't load at all, just a blank white screen. I wonder how much device testing they've done...
113.
▲
by
jcdavis
10y ago
Great stuff! The Graal/Truffle/Sulong stack is pretty amazing, being able optimize through the ruby/C boundary is crazy. Really looking forward to see what comes out of that work this year and beyond.
114.
▲
by
jcdavis
10y ago
Solely discussing stock valuations without also considering bond yields is a little misleading. With interest rates so low on a historical basis (albeit now possibly picking up), higher stock pricing is expected and isn't necessarily &
115.
▲
by
jcdavis
10y ago
The regional/major distinction doesn't really exist from the perspective of most passengers, though. The article isn't wrong, but its certainly a little misleading
116.
▲
by
jcdavis
10y ago
Hotspot's JIT compiled code tends to be pretty specialized based on runtime profiling information, which may not necessarily be similar between different runs even the class itself hasn't changed, or (in an extreme case) even if n
117.
▲
by
jcdavis
10y ago
the generated .so file will be platform specific, but it seems like the class files will still be needed as usual
118.
▲
What I learned from LuaJIT
(youtube.com)
4 points
by
jcdavis
10y ago
|
0 comments
119.
▲
by
jcdavis
10y ago
From that wikipedia article: "If a taxpayer's household is covered by one or more employer-sponsored retirement plans, then the deductibility of traditional IRA contributions are phased out as specified income levels are reached (
120.
▲
by
jcdavis
10y ago
Wikipedia has the tables listed: https://en.wikipedia.org/wiki/Traditional_IRA#Income_limits Note that really its not a real contribution limitation, just a phase out of the contributions being tax deductible, which is
More ›