Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
adev_
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
40 ms
·
451.
▲
by
adev_
7y ago
> That is not very common with Rust. I never say it is. You guys are quite on defensive stance :)
452.
▲
by
adev_
7y ago
That's two different things. If your program does not compile anymore because it was relying on undefined behaviour, it was wrong from the beginning and deserved it. It is completely different of old sane codebase not compiling anymore
453.
▲
by
adev_
7y ago
> Unfortunately they surely do, because a large set of developers writes C++ code full of C idioms. That's an other problem, not technical but educational. A lot of (older) programmer came to C++ passing by C and continue to use C i
454.
▲
by
adev_
7y ago
> Is it? I haven't heard about it actually being popular anywhere. I know 3 simulators running on supercomputers in the neurosciences domains that use it + some graph processing over supercomputers tools. It is true that is is not e
455.
▲
by
adev_
7y ago
This argument has been debunked 20 times already.
456.
▲
by
adev_
7y ago
By the sake of god, please stop to put C and C++ in the same basket when talking about security. It just show you do not know what you are talking about. Most security problems affecting C program DO NOT affect C++ programs. Stack smash, vl
457.
▲
by
adev_
7y ago
> However, outside of the projects in the above list - it doesn't seem to have very wide usage. ISPC is pretty popular in the HPC world.
458.
▲
by
adev_
7y ago
That's my opinion for system language. And even if purely superficial, it has already more argument that the previous comment. But yes, if your language pretend to be a modern system language, you should yes. Not being able to write ge
459.
▲
by
adev_
7y ago
> This reduces the barrier for people to productively use their favourite languages. It might be unproductive at first, but we see the benefits as time goes on. It is vastly unproductive to reproduce anything useful in 10 different langu
460.
▲
by
adev_
7y ago
I name that the isolated island syndrome. If you wait long enough, any stable working solutions will be reinvented in its own Language. It's completely unproductive. But there is reason to that: compatibility with the language toolchai
461.
▲
by
adev_
7y ago
> I don't understand what is expected here. Nobody can get masks or sanitizer. I'm currently in France under quarantine. Almost all supermarkets got their workers mask or protection screens, same for bakeries, same for police f
462.
▲
by
adev_
7y ago
> I'd prefer to use the tool that we understand is moderately secure, though flawed, rather than the tool that is a security unknown. That's really a weak argument: bad is not better than unknown. And in this case unknown is no
463.
▲
by
adev_
7y ago
Nothing blocks you to write CSS and transpile it to Rust at compile time to be designer / style friendly. That's anyway what the Web world does already with SCSS or the fashion to embed your styling directly in JS ....
464.
▲
by
adev_
7y ago
> But solving a problem with dynamite is still solving a problem with dynamite; there's a lot more ways it can go wrong than solving the problem with a steam drill, to torture an analogy a bit. Excepted that a language is not absolu
465.
▲
by
adev_
7y ago
> It shouldn't be possible to do wild memory access in JavaScript or via novel application of CSS or DOM structure. This is a narrow view where you focus only on memory safety and buffer overflow. Undefined Behaviours goes way wilde
466.
▲
by
adev_
7y ago
You got it yes. And very few Software Engineer understand that unfortunately. The reason C is so successful is named ABI. C (and C++ to some extend) can be used to produce library that can be used from any higher level language in existence
467.
▲
by
adev_
7y ago
> At some point, I wonder when programmers who are required to care about correctness throw up their hands and say "This language isn't reasonably human-sized for a user to know they're using it correctly." That'
468.
▲
by
adev_
7y ago
> CUDA is a pest that needs to either open up or be replaced. My main problem with cuda is not that it is un-free, it is that the source code is unavailable and consequently you have to deal with a badly packaged, badly supported blob th
469.
▲
by
adev_
7y ago
You are speaking about an industry where the margins are so thin that small fluctuations in petrol price or minor geopolitical events are enough to make a dozen companies brankrupt every 2 month. Also yes, hoping that the coronavirus make t
470.
▲
by
adev_
7y ago
> A new airline might form to take its place, which would probably be a little more prudent than the last one. It's a pretty innocent view of the world. Or the new company would just behave exactly like the old one because it is the
471.
▲
by
adev_
7y ago
That's a design choice. Less implicit means safer but also more verbose and more cumbersome to write. Rust priorities safety over everything else, also over productivity too in some case. Absence of function overloading and automatic
472.
▲
by
adev_
7y ago
> I couldn't disagree more. It's a cute trick but not useful that code from 80's is still compilable with a compiler from 40 years later. Still a good number of packages you are using right now on your Linux distribution h
473.
▲
by
adev_
7y ago
Because it's completely utopic to think that a conversion tool, even complex and well done could fix things like unicode handling. Unicode change between 2 and 3 cause behaviour change on your input/output and any serialisation. E
474.
▲
by
adev_
7y ago
> Nowadays I'm mildly annoyed if a project is on one of those "ancient" 3 but ≤3.6 Python versions and I can't use the nice features in 3.7+... No, it is a mess and it was a failure. It tooks more than 10 years to hap
475.
▲
by
adev_
7y ago
> They are very independent and mobile. Considering that Japan never took active quarantine . And that makes the situation better, especially if you compare to country like Italy where a huge majority of kids still live with their parent
476.
▲
by
adev_
7y ago
> And yet, Germany also has three times the cases of Switzerland, with the same number of deaths Switzerland is a much smaller country than Germany or France. Proportionally to their inhabitants they are highly infected. But Switzerland
477.
▲
by
adev_
7y ago
>Do you know these are the real reasons? I don't pretend to know, that's my personal thoughts, I think they are. I am rather often in Japan for family reasons. > Can't imagine the rest of first world countries are com
478.
▲
by
adev_
7y ago
> Japnese are like Chinese I would advise you to never say to a Chinese or a Japanese that they are alike. Excepted if you want to enrich your vocabulary with new insults in a foreign language. Many of them are nationalists, and not real
479.
▲
by
adev_
7y ago
Not so surprising. You have also the same outliers with Hong Kong and Taiwan. - In Japan, people naturally respect social distancing. Touching someone is considered rude, everyone bows instead of shaking hands and nobody kiss. - Almost ever
480.
▲
by
adev_
7y ago
If they continue what they were doing for TX2 [^1] , you might get double socket in 1U. Meaning 192 cores per U. [1]: https://www.gigabyte.com/ARM-Server/R181-T90-rev-100
More ›