Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
adev_
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
34 ms
·
421.
▲
by
adev_
6y ago
> C will more than suffice in this case. Clearly no. Any complicated enough system software in C finish quickly in a mess of void* , macros and buffer overflow. Even making something as trivial as an hash map goes quickly in void* /
422.
▲
by
adev_
6y ago
> code you compile can now execute arbitrary syscalls, shell out to git, interact with the user's terminal, host a web service or whatever else as you build it and then write the results to your final executable code? There is no wa
423.
▲
by
adev_
6y ago
> Make is absolute, utter arcane bullshit. It is mad. It is complete nonsense. Great. And you could be a developer for 40 years, if you do not precise why and how . This is your comment which is arcane bullshit and complete nonsense.
424.
▲
by
adev_
6y ago
> It's not that newer build systems don't have their own issues, they just try to address the historical problems that people have experienced from using things like Autotools for decades I totally agree with what you said. And
425.
▲
by
adev_
6y ago
> The language-specific build tools tend to be good, at least for mainstream languages introduced in the last 20 years. Certainly better than make. They are good for 'quick & dirty' dev usage. And terrible for everything el
426.
▲
by
adev_
6y ago
> enjoy some arcane technical artifacts Except that I do not think that you can call executing "make" and using your native package manager an "arcane", I am sorry. These are basic actions that are documented even fr
427.
▲
by
adev_
6y ago
> commands to write a program or you're a bad developer" is the funniest kind of gatekeeping to me. I am curious of your notion of "gatekeeping", because you are the one being funny here. People have been able to unde
428.
▲
by
adev_
6y ago
> Nearly choked on my water reading this. Incredible how many developers are stockholme syndrome'd by their godawful tooling experience. I tend to name a "magic bulshit bloat tool" that will makes me download 350MB of crap
429.
▲
by
adev_
6y ago
> Want to have two pieces of software on one computer that rely on... idk, two different versions of libwebsockets? Yeah, you’ll need either docker/overlayfs, or some filesystem or pkgconfig hack that I’m sure a comment reply will h
430.
▲
by
adev_
6y ago
> Go’s pathological NIH syndrome does come with downsides. Yes. And you can add the inability to use the glibc's nss modules under Linux. Making it unable to use sssd properly and authenticate a posix user on a machine with LDAP aut
431.
▲
by
adev_
6y ago
> t. C++ developer with a mixed std::string/QString/BSTR codebase. This has absolutely nothing to do with generics. None of std::string or QString are generics. They are just an example of historical alternative implementations
432.
▲
by
adev_
6y ago
> If you really want that, it seems better to provide them properly like Rust proc-macros than to provide them in C++'s awful half-baked form. - C++-17 (-20) constexpr is one century in advance in front of rust macro in term of powe
433.
▲
by
adev_
6y ago
> So while CUDA C++ is the leading language, you can make use of Fortran, Julia, Haskell, .NET, Java, Python as well. Outside of the marketing, 99% of CUDA program are done in 'C++ CUDA'.
434.
▲
by
adev_
6y ago
> How do people do GPGPU on AMD today? Because I thought AMD has a huge cloud GPU market share for things like ML ROCm and HIP [^1] or OpenCL. OpenCL is the hated solution of GPGPU. It is low level, incomplete and definitively not with
435.
▲
by
adev_
6y ago
> AMD has been shiping hip for a while, advertising it as production ready, without any lawsuits (AFAIK). hip is also being used in production. Hip is not Cuda and even remove most mention if cuda from its API. It just mimic cuda API to
436.
▲
by
adev_
6y ago
> That's something you need to ask to your package manager. Making sure that all dependencies of a package (e.g. drivers, compilers, etc.) are installed is the package manager's job. No that's bullshit and it shows you nev
437.
▲
by
adev_
6y ago
> I really don't get this argument. If you don't need pedal-to-the-metal performance then why are you using C++ in the first place? (Unless, of course, your answer is "legacy code".) There is many other things that p
438.
▲
by
adev_
6y ago
The government is making the right move. Japan has in its economy a large number of small family business in sector like retail, crafting, Ryokan (hotels) or restaurants. Some of them are two centuries old and still surviving from generatio
439.
▲
by
adev_
6y ago
Same in France and currently most European Union countries.
440.
▲
by
adev_
6y ago
Between 0 and 8 cup per day, depend of the day. - When I'm traveling or on holidays 0. I travel regularly in countries without coffee culture and jet lag with coffee is a terrific mix. - In normal day of work around 5 including 2 in th
441.
▲
by
adev_
6y ago
> STL is mostly garbage, which is a big reason it's not used in places that actually need performance, both for build times and runtime. It is NOT garbage. It is more than sufficient for the 99% of devs that need key in hand data
442.
▲
by
adev_
6y ago
> No. Because it's not just a performance comparison, really. Without realising it, it's also a learning test. The very fact they wrote sub-par C++ code, likely without realising it, and then proceeded to produce (sub-par? Who
443.
▲
by
adev_
6y ago
> Wouldn't that essentially be the death of accessibility on the web, though? It does. And would condemn us to live again usability nightmare of the flash epoch. People are confusing two things here: There is no need of replacing th
444.
▲
by
adev_
6y ago
> You are right. But it doesn't help. When I used C++, I constantly shot myself in the foot by using its features.[...] I went back to C. It's a relief. I'm sorry but I really can't stand this mindset. For me it is li
445.
▲
by
adev_
6y ago
> My question is, what's the "secret sauce"? If this is in fact that much more successful than Wine, what's different? Mainly configuration. You can almost run everything with wine but it implies quite a lot of tiny c
446.
▲
by
adev_
7y ago
> The Mozilla team switched from C to C++ trying to get memory right. Failed. Still Mozilla software, including Firefox, run at more than 80% in C++ and are fully usable right now. It is also the case of probably almost all the software
447.
▲
by
adev_
7y ago
> If you don’t want to learn c++ for its own sake, that’s time you could better spend learning a language that’s not actively trying to harm you. With enough time, you will realize that any language try to harm you and has quirks. Just
448.
▲
by
adev_
7y ago
> You might have learned Rust pre-1.0 or non lexical lifetimes. They've made a tremendous amount of work to improve the language and make it beginner friendly. I still use Rust almost every week for personal projects, I enjoy it and
449.
▲
by
adev_
7y ago
> Rust makes working in this domain so much easier than C and C++ C++ has a hash map in its standard Library since 10 years. > You can go from zero to productive in a reasonable amount of time. That's definitively a very WRONG as
450.
▲
by
adev_
7y ago
> On the contrary the mix of different kind of characters is really convenient to easily parse sentences There is also an advantage that most foreigners do not realise. The mix of Kanji, Katakana, Hiragana create natural delimiters in th
More ›