Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
dti
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
4 ms
·
1.
▲
Java StringTemplates and logging, or why f-strings are not enough
(dmti.substack.com)
2 points
by
dti
3y ago
|
0 comments
2.
▲
by
dti
3y ago
I see I may have been unclear — I was surprised they don't use protobufs (which one should be able to pass as-is without serialization to the locally-deployed component), but apparently using a custom optimized format for non-local cal
3.
▲
by
dti
3y ago
> trying to hide distribution The paper unfortunately hides that in reality you have to pass a context object in your RPC calls, hence there is no ambiguity whether you are calling a potentially remote object. It's in the example on
4.
▲
by
dti
3y ago
~2.5x when not co-located isn't bad either; and the beauty of it is that the programming model lets the runtime system perform these relocations, based on the application profile.
5.
▲
by
dti
3y ago
Regarding the comparison with RMI, the authors did mention it: > Java RMI use a programming model similar to ours but suffered from a number of technical and organizational issues [58] and don’t fully address C1-C5 either Apart from that
6.
▲
by
dti
3y ago
Looks interesting. > The call to hello.Greet looks like a regular method call That’s a departure from how components interact in boq — an internal and widely used production platform that has _some_ of the features from the paper. There
7.
▲
by
dti
4y ago
> it will have no chance in h* to last through the day My previous Xperia Compact, which is of about the same dimensions as mini, survived for a couple of days easily when new. > iPhone Mini has been weak in battery department [1] The
8.
▲
by
dti
4y ago
> are easy to use one-handed without dropping Not necessarily. I bought an iPhone Mini expecting that it'd be comfortable to use in a single hand like my previous Xperia phone of exactly the same width. Unfortunately, it is not the
9.
▲
by
dti
5y ago
Also don't know how search works there, but the cross-reference functionality is powered by an open-source Kythe project: https://kythe.io/
10.
▲
by
dti
5y ago
You can try it yourself, e.g., the instance the Android team uses: https://cs.android.com/
11.
▲
by
dti
6y ago
There is a series of JEPs that add to OpenJDK a similar mechanism, class data sharing: - https://openjdk.java.net/jeps/310 - https://openjdk.java.net/jeps/341 - https://openjdk.java.net
12.
▲
by
dti
6y ago
Is Semmle, offering CodeQL language and LGTM service, and recently acquired by Github, doing a similar thing ( https://semmle.com/ )? If so, how does Semgrep compare to CodeQL? Edit: There is a help entry: https:/