|
minidracula posted:if I have to use containers for something (ugh), podman is the Docker-clone I should/ought to be using instead of actual Docker, right? podman is the Linux container system created by the company that invented containers in the 1960s-70s
|
# ? Apr 19, 2024 08:31 |
|
|
# ? Apr 23, 2024 14:32 |
|
Bloody posted:feels like table stakes for a lang ityool2024 it was table stakes for a language once the Symbolics and LMI versions of the LM-2 and the Xerox 8010 shipped with ZetaLisp and Smalltalk/InterLisp-D respectively in 1981
|
# ? Apr 19, 2024 08:39 |
|
Xarn posted:CGo is nice until you try doing something WeIrD like passing around array over 2GB and it silently craps out. despite my severe dislike for and cringing at go, I suspect based on long experience that this is more of an MSVC than a go problem remember that MSVC pretended C ended with C89 for decades and told people to “just use C++” if they wanted any C99 feature (most of which other compilers started supporting in 1993, which is in fact what led to C99)
|
# ? Apr 19, 2024 08:43 |
|
Joe Chip posted:the only part i thought was neat was the c ffi implementation (cgo) since it meant i could use crusty old (dependable, well-tested, well-supported) libraries. go ffi is weirdly bad, I forget the details but there's a ton of extra runtime work for every foreign call
|
# ? Apr 19, 2024 17:29 |
|
oh no question it's awful. it's easy enough to use at a basic level and go packages are so bad it was nice to have an escape hatch if needed. a few things off the top of my head that sucked about it: 1. anything with multithreading inside the library is a headache. i didn't have time to dig into this and for our application forcing the library to use a single thread was fine 2. hope you're not using alpine because you will find a lot of fun problems with musl. tbf this is probably more musl's fault but it was annoying to deal with (by switching to debian/glibc lol) 3. tons of explicit casting back and forth, especially if you need to use a void*
|
# ? Apr 19, 2024 18:19 |
|
eschaton posted:despite my severe dislike for and cringing at go, I suspect based on long experience that this is more of an MSVC than a go problem cgo is of the opinion that gcc is the only compiler that exists and happens to support clang only because clang is gcc-compatible. cl has different command-line flags from gcc and that's too difficult of a technical problem for them to solve.
|
# ? Apr 19, 2024 21:18 |
|
Doesn't POSIX specify C compiler options? Seems like a bug in MSVC if it does not implement the POSIX standard correctly. (I know very little about POSIX.)
|
# ? Apr 19, 2024 23:36 |
|
cc -c -I. -o fart.o fart.c cc -Lcircus -lclowns -o fart fart.o is probably about the extent of it, and I think msvc supports that. MS is pretty good about supporting uselessly underspecified standards to the letter and then being as different from other implementations as possible in every other respect
|
# ? Apr 20, 2024 05:10 |
|
meanwhile, on gcc, -fms-extensions is one of my favourite nasty CFLAGS to use god I love that dirty fuckin poo poo. all aboard the transparent casting and pseudo-inheritance train, toot toot
|
# ? Apr 20, 2024 05:19 |
|
Plorkyeran posted:cgo is of the opinion that gcc is the only compiler that exists and happens to support clang only because clang is gcc-compatible. cl has different command-line flags from gcc and that's too difficult of a technical problem for them to solve. Go is all about making things simple for the implementors and screw the users, so at least it is on brand.
|
# ? Apr 20, 2024 10:53 |
|
meanwhile we got zig out there simply transparently bundling a full clang cross-compiling setup. which is slightly bonkers but makes for a real straightforward c compat story.
|
# ? Apr 20, 2024 11:35 |
|
|
# ? Apr 23, 2024 14:32 |
|
Plorkyeran posted:cgo is of the opinion that gcc is the only compiler that exists and happens to support clang only because clang is gcc-compatible. cl has different command-line flags from gcc and that's too difficult of a technical problem for them to solve. oh oh gods
|
# ? Apr 20, 2024 12:00 |