Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
mr_00ff00
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
20 ms
·
271.
▲
by
mr_00ff00
4y ago
Why is gaming and HFT forced to be C++? Just that code already exists in C++ and you need to expand on it? Gaming has Unreal but surely you could use another game engine without C++?
272.
▲
by
mr_00ff00
4y ago
Ahh classic. Obviously only these financial firms are the only ones not creating value. Those social media companies, start-ups people do for venture capital cash grabs, Web3, and addictive mobile games all create such value. EDIT: Okay, a
273.
▲
by
mr_00ff00
4y ago
Fair enough, although is Java specifically the only language that could do this? It surprises me that people turn to Java instead of say Go or Elixir or (keeping on topic with the article) Swift?
274.
▲
by
mr_00ff00
4y ago
I don’t think your article makes the claim Java keeps up with C++. That article seems to be about getting latency low and consistent so Java can compete with C++.
275.
▲
by
mr_00ff00
4y ago
Yeah I guess I used C and C++ interchangeably, but I believe C++ is the language of HFT. Do you have evidence to the contrary?
276.
▲
by
mr_00ff00
4y ago
Genuine question, but if that were true then why does High Frequency Trading and Performance critical applications use C if GCs can beat it?
277.
▲
by
mr_00ff00
4y ago
I know this might be opening a can of worms, but technically doesn’t Swift do reference counting? Which is faster than “mark and sweep” GC but will never compare to manual management (like C/C++ and rust ownership) I assume that’s the
278.
▲
by
mr_00ff00
4y ago
If you are doing web backends, you are using crates with unsafe code. Again, I could write C code without memory violations hypothetically the same way I could use no crates, so I guess all rust rewrites are no longer necessary? As I said
279.
▲
by
mr_00ff00
4y ago
Correct me if I am around, but Forbid unsafe does not include dependencies, which can and do have unsafe rust.
280.
▲
by
mr_00ff00
4y ago
Safe rust can still use crates with unsafe rust, so no. Unless it’s safe rust and uses no outside code or none of its dependency tree has unsafe rust. It’s pretty crazy how many people will argue this point and downvote comments about it.
281.
▲
by
mr_00ff00
4y ago
Rust isn’t as safe as GCed language and you don’t need systems level speed on a backend API. Rust’s safety is better than C/C++, but memory vulnerabilities are found in cargo packages because of unsafe code.
282.
▲
by
mr_00ff00
4y ago
In fairness, I don’t think rust in web dev makes any sense outside of personal hobby projects. I’m not surprised there’s lots of abandoned and unfinished projects there. That’s not an important area.
283.
▲
by
mr_00ff00
4y ago
Certainly is public opinion. I remember people trying to make the claim that Google paying smart people to not work was a good strategy because it prevented those workers from creating start-ups that would compete with Google. The Blind app
284.
▲
by
mr_00ff00
4y ago
Finally, after 40 years technology has advanced far enough for C++ to have a print function instead of cout
285.
▲
by
mr_00ff00
4y ago
Really makes you appreciate the brain, which presumably operates with some sort of similar demand.
286.
▲
by
mr_00ff00
4y ago
It’s all about trade-offs and I think it’s worth it. I’d rather it be harder to get a job, but have higher job security when you get it.
287.
▲
by
mr_00ff00
4y ago
“can be done in a weekend” RIP me who has spent 3 weeks on this Great project for sure though!