Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
vips7L
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
66 ms
·
931.
▲
by
vips7L
2y ago
> traditional (tracing) GCs require more expensive runtimes and consume much more memory Not really no. Look at go, D, nim, or any ahead of time compiled language. > ARC is key in providing Swift its ability to maintain its low memory
932.
▲
by
vips7L
2y ago
No they're not. Reference counting is a garbage collection algorithm. Its even described as such in most literature on garbage collection.
933.
▲
by
vips7L
2y ago
> - No garbage collector ARC is a GC, and a slower one than most traditional tracing GC's.
934.
▲
by
vips7L
2y ago
I’d kill for a smaller phone.
935.
▲
by
vips7L
2y ago
I want to like Scala more, but investing in it just feels like too big of a risk. Especially with Java getting better everyday or Kotlin providing all of the good parts of Scala without all the “weird” parts. Java now has pattern matching,
936.
▲
by
vips7L
2y ago
You mean with the Graal JIT instead of C2? AFAIK Graals truffle (espresso) implementation of Java is still far behind HotSpot.
937.
▲
Writing memory safe JIT compilers
(medium.com)
163 points
by
vips7L
2y ago
|
48 comments
938.
▲
by
vips7L
2y ago
JavaScript is just reusable assembly on steroids.
939.
▲
Declarative Gradle
(blog.gradle.org)
2 points
by
vips7L
2y ago
|
0 comments
940.
▲
by
vips7L
2y ago
> It sounds like you might be using global aurora with write forwarding Yes I believe this is what they chose. Honestly I’m going to leave it up to them and aws support. I have other fish to fry to get the functionality finished.
941.
▲
by
vips7L
2y ago
I’ve repeated myself because you don’t seem to be reading the words: masquerades, faux-pointers. I never claimed they were low level. I said they were pretending to be because pointers are completely unnecessary in a garbage collected langu
942.
▲
by
vips7L
2y ago
Like I said I think it tries to masquerade it’s low level by including them when they’re not really pointers. I see no reason why they didn’t go the route of other GC’d languages which don’t include faux-pointers.
943.
▲
by
vips7L
2y ago
I’ve added more details to a sibling comment. I’m not sure I can add much more. I’m not an OPS person, just team lead on the development side.
944.
▲
by
vips7L
2y ago
I’m going to preface this with I’m not an OPS person. But yes multi region. The main writer instance is us-east-1 it performs excellently when hitting this region. We have read replicas in us-west-2 and some in Europe/emea and Asia
945.
▲
by
vips7L
2y ago
IMO it tries to look low level by including pointers.
946.
▲
by
vips7L
2y ago
Java just needs better language constructs for checked exceptions to make them easier to deal with. It seems like the OpenJdk team is finally moving towards looking at making them better though.
947.
▲
by
vips7L
2y ago
Very informative. Thanks. > e.g. if ILC can see that only a single type implements an interface, all callsites referring to it are unconditionally devirtualized). Just like Java then.
948.
▲
by
vips7L
2y ago
Is that AOT or JIT?
949.
▲
by
vips7L
2y ago
7-20 seconds depending on location.
950.
▲
by
vips7L
2y ago
Why did I think you were leading the Apex product team?
951.
▲
by
vips7L
2y ago
We’re currently struggling with switching from RDS to aurora. The replica times are absolutely bonkers long for the simplest of writes.
952.
▲
Improving OpenJdk Scalar Replacement
(devblogs.microsoft.com)
3 points
by
vips7L
2y ago
|
0 comments
953.
▲
by
vips7L
2y ago
You realize that conversations can evolve right? I merely pointed out that your anecdotal evidence of you rewriting from Java -> Python could be shown in the reverse direction of people moving away from Python. You then claimed this was
954.
▲
by
vips7L
2y ago
I think you're selectively reading that to fit your narrative. The design choices of the Java language are the design choices of the Java Platform and that's exactly why they chose it: > CPU-efficient and scalable to multiple c
955.
▲
by
vips7L
2y ago
> I’ve been spending the last few months reimplementing Java backend code in Python. Lots of people are doing the opposite once they hit scale. DoorDash went from Python to Kotlin/JVM for their backend: https://doordash.e
956.
▲
by
vips7L
2y ago
I particularly like the current stewards. They've done a great job and have been consistently putting Java and the JVMs best interest at the forefront.
957.
▲
by
vips7L
2y ago
I wasn’t refuting anything and in fact I’m onboard with these changes. I do not like Lombok and _in my opinion_ it’s for the laziest of devs. I just wanted to give you context that you are explaining how a library works to its author.
958.
▲
by
vips7L
2y ago
I’m not refuting the point. Just giving kaba0 context that they are explaining how a library works to its author.
959.
▲
by
vips7L
2y ago
Sure. Hypothetically, I have checked them. I have checked what I’m actually using, but the compiler is still executing things I didn’t know about. I only use CatUtils from org.catpache.commons. I’ve audited this single class that I use. I k
960.
▲
by
vips7L
2y ago
> They generally require annotations in your own source code to kick in Right but you don’t know which annotation processor will actually run. Anybody could look for javax.persistence.Entity and do something. There’s no guarantee only yo
More ›