Ask HN: What's your opinion on Win32 API?
Overall though it seems to be well documented and compared to other alreanatives more lightweight and performant. I heared it referred to as Windows world's POSIX.
Overall though it seems to be well documented and compared to other alreanatives more lightweight and performant. I heared it referred to as Windows world's POSIX.
- Relying on GCC, but glibc is ok.
- Recompiling LLVM for AArch64.
- Recompiling LLVM for x86_64 but during that compilation process using whatever is in
clang/cmake/caches, so that runtime stuff like compiler-rt gets compiled for both
x86_64 and AArch64. Without that.
- Without using Zig.
- Without using build setups based on CMake, Meson, Autotools, or Makefiles.
I looked in many places but couldn't find anything helpful. If you think you know how to do this but never done it, then you are probably wrong, it is not straightforward. To clarify why I want to do this:1. LLVM toolchain can be used independetly of GCC, so even though I have a working GCC cross-compiler, I don't want to use it to supply missing bits, because missing bits can be supplied in other ways. Missing bits are the linker, runtime library, libc++, libc++abi. I'm concerned only with C though.
2. Clang is a native cross-compiler, cross-compiling it to AArch64 is missing the point.
3. I'm NOT going to rebuild the whole LLVM monstrosity, it is impractical. It literally freezes my laptop for 1+ day. I aborted complitation. It is ok to recompile something small like compiler-rt but then the question is how to use in a non-hacky way because Clang keeps looking for complier-rt related stuff in it's own directory as installed by my Linux distribution (Arch Linux by the way), and -L and -I flags do not help.
4. Zig can cross-compile C with just one option without any preparation but I don't know how to pass flags to Clang via zig command line interface. For example I cant pass -O0.
5. These are useful for bigger projects, here I'm just interested in cross-compiling hello world.
Please do not give links to anything you might find in the official LLVM docs, youtube, first few pages of search engine results. I know about it.
What do you use?
It is such a good heuristics that I'm tempted to conclude that no cussing means a room filled with losers. I don't mean gross language, I mean something like occasional fuck here and there.
I'm Russian, and this is the experience I have with Russian people, but I think it also applies to American and European cultures. In general Russian people are more emotionally reserved, and the language doesn't help either, because there are no equivalent words for "you" and "guys".
I think cursing is some kind of mental barrier. If it is not broken, then there is an array of social problems that most likely will remain unsolved. It's kind of like first sex in a relationship, if you don't have it early then the relationship will probably go sour. I've seen entire room go dumb to almost comical level and be unable to decide whether the task is going to take 1.5 days or 2 days, as if that mattered at all. Because of bad emotional energy, engineers were afraid to say 2, because then there is a question why not 1.5 or even 1, but it's not really a question, it's pressure and intimidation. Explaining why in honest terms even without cursing is not within the domain of acceptable things to say.
I know it sounds weird. It's just that there are vastly different meetings, some are productive and positive where cursing is not a big deal, and some are a game of trying to save face and look good, without there being any need to do so.
It would create a new paradigm, where you design modules that are nice to read in textual form, and also ones that are very easy to understand in music form. Music is better for passive consumption, it requires less concentration.
I can't shake the feeling that this is possible to do with modern knowledge of ML and programming language design. Add some voice recognition, so that you could pace around your room, give commands to the computer and navigate your code with a birds eye.
Obvioulsy one to many mapping of indentifiers to sounds will not work. It should be more sophisticated. I know generally speaking computers are relatively bad at generating stuff, than at interpreting it. But still, there must be a way.