Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
abalone
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
34 ms
·
361.
▲
by
abalone
8y ago
This is not really strong evidence. A analysis from the 80s and a possibly buggy driver benchmark. You’re digging deep. Look, tracing GC has come a long way. I’m not saying it’s unsuitable for servers at all. I’m just excited to see what si
362.
▲
by
abalone
8y ago
Didn't say they weren't. Not sure if you misunderstood my comment. It's a mistake to extrapolate too much about the "reference counting vs tracing GC" question from this one low-level driver benchmark. In fact readi
363.
▲
by
abalone
8y ago
> Swift seems somewhere in between I would say Swift is easier to learn/use than Rust while aiming to deliver some of the same performance characteristics. At least that's the sweet spot it's shooting for on the server.
364.
▲
by
abalone
8y ago
Actually OCaml has low-level memory manipulation features that help like cstruct.[1] Swift isn't currently optimized for the direct manipulation of external device memory. That's solvable, but moreover it's not really somethi
365.
▲
by
abalone
8y ago
Yes I've seen that[1] but I think it's premature to extrapolate general conclusions about server engineering from a low-level network driver. Chris Lattner has noted that Swift will take longer to optimize for cases like low-level
366.
▲
by
abalone
8y ago
Ah, memory management. Here’s my basic understanding: - Go initially allocates 2KB stack per routine. When it exceeds it it copies all of it into 2x the space. - This was happening once or twice per request. They didn’t explain exactly why
367.
▲
by
abalone
8y ago
Zero specifics. Are we not catching on to Dorsey’s modus operandi yet? We should stop giving him a platform to speak in vague platitudes about “learning” and “rethinking” that make him sound deep. If there are no specific concrete answers,
368.
▲
by
abalone
8y ago
This makes it sound like DARPA wants to take some commercially developed tech and adapt it to the military, but just for the record that grossly misstates the relationship and the general history of Silicon Valley. Ever wonder how Siri go
369.
▲
by
abalone
8y ago
That’s inaccurate. iMessage, Keychain and a few other services are end to end encrypted with keys stored only in the secure elements of each iPhone. Apple cannot access this data even under subpoena and neither can anyone who controls their
370.
▲
by
abalone
8y ago
Worth noting that Apple "gets away" with more in China than most: - iMessage, one of the only end-to-end encrypted messaging systems widely available in China. - iCloud Keychain, which they've designed to work securely on &qu
371.
▲
by
abalone
8y ago
According to a comprehensive study published in the New England Journal of Medicine, U.S. admin costs are double that of Canada.[1] More context in this NYT column, which features this quote: "'The extraordinary costs we see are n
372.
▲
by
abalone
8y ago
> If you walk into my house, or request entry, I can treat you however I like... If he wants to be angry and make personal insults then people can choose not to interact with him or the things he works on. It should go no further than t
373.
▲
by
abalone
8y ago
Nobody said the interstate system doesn’t benefit people. I merely pointed out it invalidates the argument that investing in green transportation infrastructure is too costly because “the capital expenditures of doing so would be very large
374.
▲
by
abalone
8y ago
You are correct to point out that governments subsidize roads, making this an unfair compare. Trucking is built on the highway system, a massive capital expenditure which is completely paid for by taxpayers as a gift to the trucking indus
375.
▲
by
abalone
8y ago
> Trains are a messy, loud and dangerous way of moving stuff. But so fucking dangerous and primitive in so many ways. Compared to trucking? Oh my god it's not even close . 2017 U.S. stats:[1][2] Large truck fatalities: 4,102 U.S.
376.
▲
by
abalone
8y ago
Nah, I’d say Swift’s good support for value type semantics helps cut down on leak problems. Depends on the patterns you use of course but I can see that being a good approach for server apps. Funny you say that because just this week there
377.
▲
by
abalone
8y ago
I would love to hear your perspective but this is not a well supported argument. ARC is one of the most interesting things about Swift on the server. Historically one of the greatest challenges with servers is the impact of GC on the long
378.
▲
by
abalone
8y ago
You’re misrepresenting my statements. I believe I’ve been clear that it’s early days for these languages and that they are good candidates to supplant Java in the future based on their trajectories. Memory utilization is just one efficiency
379.
▲
by
abalone
8y ago
> Almost 0% chance any reputable company relies on something like go or swift to drive an automobile out on public roads. You couldn’t be more wrong. Tesla hired the creator of Swift to run Autopilot software. He’s now at Google where
380.
▲
by
abalone
8y ago
More anti-science nonsense. Here, let's let NASA tell you the definition of the scientific method.[1] [1] https://climate.nasa.gov/news/2743/the-scientific-method-and...
381.
▲
by
abalone
8y ago
Yeah they only looked at peak memory. They noted it would be more useful to look at continuous memory usage in future research. Also take note that the scale of the graphs is different. E.g. Figures 5 & 6 makes it look like Java energ
382.
▲
by
abalone
8y ago
This is like arguing that the science behind vaccines is invalid because doctors can’t predict when you’re going to catch your next cold. It’s willfully obtuse and has no place on HN.
383.
▲
by
abalone
8y ago
Fortunately there are really extensive online resources you can consult for details! For example the United Nations Intergovernmental Panel on Climate Change.[1] [1] https://en.wikipedia.org/wiki/Intergovernmental_Panel
384.
▲
by
abalone
8y ago
I'm not trying to pick on it. But those languages are significantly harder to develop for. Go/Swift are trying to be general improvements that maintain and improve upon developer productivity while achieving great performance and
385.
▲
by
abalone
8y ago
> Out of curiosity, why has no-one done automatic reference counting on the server side before? My guess is you fall into one of two categories: 1- You don't care a ton about efficiency because you can scale out to infinite server
386.
▲
by
abalone
8y ago
> 1 - Why would you want to replace java on the server? Well one reason, if you look at the paper, is memory consumption. One of the ways Java gets good performance despite being a GC'd language is less efficient memory usage. (Al
387.
▲
by
abalone
8y ago
> In a startup... few here will defend the choice of C... Not sure what you're responding to but I specifically said "at scale" and "developer productivity / friendliness is important to overall success."
388.
▲
by
abalone
8y ago
Couple points (I've worked on app servers): 1- This is exactly how we should all be thinking about server engineering moving forward, as we aim to drastically reduce carbon footprint within 11 years. Efficiencies at the language level
389.
▲
by
abalone
8y ago
Good to know your opinion of the scientific method depends on the political implications of its conclusions.
390.
▲
by
abalone
8y ago
Oy vey. Astrophysics is in opposition to Popper's philosophy now, huh? Scientists in these fields falsify theories all the time.
More ›