Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
alexrp
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
7 ms
·
31.
▲
by
alexrp
11mo ago
We always have the option of exiting Codeberg to a self-hosted Forgejo instance if that should become necessary for some reason. (Not that I expect it will, considering Codeberg is a non-profit.) We do self-host all our CI machines.
32.
▲
by
alexrp
11mo ago
> Forgejo is more busy managing ideals, than creating software. Can't say I agree with this point. Zig has been trying out Forgejo/Codeberg as an alternative to GitHub, and about two months into the experiment, almost all of ou
33.
▲
by
alexrp
11mo ago
The selling point is not merely cross-compilation; as pointed out in the other thread, it's the any-to-any cross-compilation for any supported target. With Zig, you get to download the compiler for any supported host target and then bu
34.
▲
by
alexrp
11mo ago
Zig defaults to statically linking musl when targeting Linux, so the output will not be very interesting unless you target dynamic musl, or glibc, or FreeBSD/NetBSD.
35.
▲
by
alexrp
1y ago
Zig supports both linking modes but has a strong preference for static linking - it's the default in most contexts.
36.
▲
by
alexrp
1y ago
For Zig we use QEMU to run our module test suites on a broad range of targets that we don't necessarily have real hardware for: https://github.com/ziglang/zig/blob/50edad37ba745502174e49af...
37.
▲
by
alexrp
1y ago
My desire to work on said projects is intrinsic; no one around me expects me to do so. In fact, quite a few of my projects add no value to broader society and exist only because I found doing them interesting. I don't imagine the surro
38.
▲
by
alexrp
1y ago
> The question I pose to the “it’s a disease, medicate it” crowd is; is the person maladapted or is the culture maladaptive? Overwhelmingly the former in my case. I'll have projects that I desperately want to work on for weeks or
39.
▲
by
alexrp
1y ago
That doesn't seem like a good argument for why Zig ought to target MLIR instead of LLVM IR. I think I'd like to see some real-world examples of compilers for general-purpose programming languages using MLIR (ClangIR is still far f
40.
▲
by
alexrp
1y ago
As the guy currently handling Zig's LLVM upgrades, I do not see this as an advantage at all. The more IR layers I have to go through to diagnose miscompilations, the more of a miserable experience it becomes. I don't know that I w
41.
▲
by
alexrp
1y ago
If you need libc, just link libc? It's bizarre to me that you think less of Zig for giving you the choice.
42.
▲
by
alexrp
1y ago
> Since Zig is not internally supported at Microsoft just yet (chain of trust, etc.) Is there something about Zig in particular that makes this the case, or is it just an internal politics thing?
43.
▲
by
alexrp
2y ago
We're probably going to add support for cross-compiling FreeBSD's libc in the near future (and I imagine the other BSDs as well). From there, I think the only blocker for Tier 1 is getting it built and tested in CI.
44.
▲
by
alexrp
2y ago
Hm, I didn't think to add Haiku to the support table. It's probably Tier 3; the standard library support is minimal, and we don't support cross-compiling its libc. Patches definitely welcome.
45.
▲
Sdb - Command line client for the Mono soft debugger
(github.com)
1 points
by
alexrp
13y ago
|
0 comments
46.
▲
Clang's Static Analyzer and Automake
(blog.alexrp.com)
2 points
by
alexrp
13y ago
|
0 comments
47.
▲
Recent Improvements to Mono on ARM
(blog.alexrp.com)
3 points
by
alexrp
13y ago
|
0 comments
48.
▲
by
alexrp
14y ago
I'll start with your last question: It does know the size of objects - this size is passed to the GC when you allocate memory from it. Root ranges (such as the stack, global variables, TLS areas, etc) also all have a static size. (Not str
49.
▲
by
alexrp
14y ago
Sure. This was just meant as an interesting tidbit. On ARM v8, you'll still need the compiler/VM to help you out as far as type precision goes, of course.
50.
▲
by
alexrp
14y ago
This sounds very much like how Erlang does it - each process gets an isolated garbage collected heap and communication between processes happens through message passing. How lightweight are Racket places? I'm not very familiar with the lang
51.
▲
by
alexrp
14y ago
Hey, you may be interested to know that in the upcoming ARM v8's AArch64 mode, the upper 8 bits of all pointers can be used freely for tagged pointers. See page 11 of: http://board.flatassembler.net/download.php?id=5698
52.
▲
by
alexrp
14y ago
It's an amazingly in-depth and concise book. I fully recommend it!
53.
▲
by
alexrp
14y ago
I was under the impression that the collector that's in place right now is just a cycle collector, not a full-blown garbage collector. But please correct me if I'm wrong!
54.
▲
by
alexrp
14y ago
I'm just going to interject here: http://xtzgzorex.wordpress.com/2012/05/26/grunt-auth-misconc...
55.
▲
by
alexrp
14y ago
Right, which means we can't handle generic virtual methods, since we cannot JIT compile them. See: http://docs.xamarin.com/ios/about/limitations#Generic_Virtua...