4,687 karma · joined Dec 4, 2021 (4y ago) · 1,693 submissions
comment 4y ago · link · parent
Not the guy you asked, but coming from a similar background: Yes, I absolutely would.
Reason: Rust is an amazing language: Amazingly safe, amazingly fast, amazingly complicated. And the last isn't an advantage but a huge showstopper. What do I get from Rust over Go? A bit more performance. Okay, but I also get that from C, so the real question is, what do I get from Rust over C? Memory safety guaranteed by the compiler. Cool. But in exchange, I have to learn a language easily as complex as C++, but completely different from C.
No thank you.
Bottom Line: For me, the advantages of Rust over C do not justify the added complexity, not even close.
comment 4y ago · link · parent
a) Are more interested in doing research for their monetary interests. Therapies for a rare genetic disease? Bad luck, not enough money in ~20 patients / year. Better encryption? Where's the money in that? Studies about economic imbalance? Who cares.
b) Are more interested in applied rather than basic research. This is a consequence of a) really, but research that doesn't produce tnagible benefits we can use to make shareholders happy next quarter are not that interesting. Ironically, without basic research, applied research is completely impossible.
c) Are under no obligation to share their findings. Public Research == Public Results. Private Research == Intellectual Property.
comment 4y ago · link · parent
comment 4y ago · link · parent
Things always get complicated when concurrency is involved. And Go handles this much better than most other languages, with language primitives (go, select, chan) dedicated to the task, and CSP being much easier to handle than memory sharing.
> event driven concurrency with callback functions (as in nodejs) is easier to wrap your head around then channels.
How so?
The code becomes non-linear, what bit of code is executed when and how its synchronized is suddenly up to the event loop, and entire libraries suddenly have to be written around a concept (cooperative multitasking) which OS design abandoned in the early 90s for good reason.
And this isn't even taking into account that the whole show is now much harder to scale horizontally, or that it is only suitable for io intensive tasks.
comment 4y ago · link · parent
comment 4y ago · link · parent
But similar ones were, because the amount of code puzzles suitable for such contests is finite. There are differences, but when you have seen a few string-compare problems, you have a pretty good grasp of what they look like, what common paths to solutions are, etc.
comment 4y ago · link · parent
Gatekeepers are not an evil to be overcome, they are an integral part to the security and stability of complex systems.
comment 4y ago · link · parent
It means, the more we rely on factual evidence and the more we act based on knowledge based on it, the better we can cope with the universe.
To my perception, a central problem of civilization is how much we value opinion, and how much we base our actions on it rather than on hard fact.
If humanity acknowledges that its opinions don't matter, and reality is indeed what it is, then our way forward as a species will become a lot easier.
comment 4y ago · link · parent
It is true for everything in existence. It doesn't matter how complicated something is, or how difficult it is for humans to grasp: There is a single reality, and an explanation or assumption that does not explain it is either incomplete, approximative, or plain wrong.
comment 4y ago · link · parent
Yep, but that's the beauty of reality: It doesn't matter if we accept it or not. It doesn't matter if it's difficult or not. It doesn't matter if we are prepared to handle it. Reality remains inviolate regardless of what we think, want or like.
We, as a civilization, can either accept that as a fact, and increase our chances of making it to a level of evolution and capability where maybe one day we can build Dyson Spheres and travel to other Galaxies, or we can pretend that our opinion matters alot.
The universe and reality won't care.
comment 4y ago · link · parent
The question isn't CO2 neutrality, but "How much worse is the alternative". And when the alternative is to burn Coal, Oil and Gas, Nuclear power wins by a landslide.
Secondly:
Fossil Fuels have to be mined, transported and stored as well. The components of Wind and Solar energy farms have to be constructed from resources which have to be mined and processed. Power plants, be they coal, nuclear, solar, whatever, need to be constructed and maintained.
comment 4y ago · link · parent
https://en.wikipedia.org/wiki/Nuclear_and_radiation_accident...
comment 4y ago · link · parent
Gravity is an attracting force.
Uracil pairs with Adenine.
sqrt(9) == 3
No amount of public opinion, support or refusal will change that, because the universe simply doesn't care how many "Likes" an idea has.
comment 4y ago · link · parent
The question isn't "Can we prove that we are not in a simulation", the question is "How likely is it that we are in a simulation".
And the answer is: We don't know.
Sure, there are hypotheses about how super evolved species (Matrioshka-Brain-Capable) would simulate multiple universes, so its likely that ours is not the real one, but this assumes that we know anything about what a species on that level of scientific capability would do...which we don't.
comment 4y ago · link · parent
Sure it is, but let me, a backend developer, ask a question:
Why would I want to use WASM for anything running on my server, when I can just write it in Golang, and get actually native performance (not "near-native"), plus real GC, on top of an already thriving ecosystem of libraries and tools?
And lets replace Golang with Rust, C, C++, or Java, or even with a more dynamic language like Python or node if its not performance-critical...the question remains.
My point is, why would I use WASM for something other than what it was originally designed for (running things in the browser), when I already have a big collection of really powerful, established, stable, well supported backend Languages?
What does WASM bring to the backend-table that the current tools cannot provide, or provide badly?
comment 4y ago · link · parent
That's mostly a result of everything and everyone having a different opinion where python modules should live in the filesystem, and the default behavior of a lot of package managing software to replace python installations between versions instead of shoving them into different packages and be done with it.
> The advantage of a VM or vm-like container is exactly that you don't need to care about that stuff as much.
The same advantage exists for compiled languages, provided that dependencies are either staticaly compiled, unambigously listed, or shipped with the software as a package.
A similar effect is achieved in Python Projects by virtualenving everything, essentially stuffing all dependencies, including the correct version of the interpreter, in one location as a single package.
comment 4y ago · link · parent
Because it isn't a C problem. C has been basically stable for decades.
C++ is free to overload itself by piling ever more stuff onto itself, but any problems this language has, are not problems of C, or problems C needs to fix.
comment 4y ago · link · parent
If I want more, I put in 2 tabs.
If I want none, I put in no tab.
If I want my dishes to smell like soup, I put in a buillon cube. (Not recommended by whoever built the Dishwasher)
comment 4y ago · link · parent
Because my takeaway from the article is this: C++ piled loads and loads and them some loads of stuff onto a slim, easy, comprehensible language, is now a gigantic pile of complexity. that has precious little to do with its roots any more...and every attempt to solve its problems includes piling on more complexity.
So, how is that a problem of C?
C is not responsible for C++, simple as that.
comment 4y ago · link · parent
"oh but it compiles once and then runs everywhere!!!!"...ceased to be an argument over 15y ago, when it became clear that the "backend" is synonymous with linux, and almost every machine has the same architecture. Plus, the time required by the compilation step is not prohibitive in a CI/CD pipeline.
comment 4y ago · link · parent
Or it is treated by the same algorithm like all the other cleaning powders, which is: "mix with water then spray through nozzles". Strangly enough, this has worked great for decades without firmware updates. For the longest time it even worked without firmware.